format PE
entry start

include 'win32a.inc'

section '.text' code readable writeable
start:
    ; sub esp, 0x4
    mov ecx, 0x0
    xor eax, eax
    call [GetCursorPos]

    push 0
    call [ExitProcess]

section '.idata' import data readable writeable
    library kernel, 'KERNEL32.DLL',\
        user, 'USER32.DLL'

    import kernel,\
        ExitProcess, 'ExitProcess'
        
    import user,\
        GetCursorPos, 'GetCursorPos'
