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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, esp
mov dword [eax + 4], 0xf8f
mov dword [eax], 0x31267e
mov eax, dword [sym.imp.GDI32.dll_SetLayout]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xda02ae
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_VkKeyScanExA]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov dword [esp + 0xc0], 0x34
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx + 4], edx
mov dword [ecx], 0xb45b0d
mov ecx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov word [esp + 0x72], ax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_VkKeyScanA]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
mov word [esp + 0x6a], ax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, 0x18
lea esi, [esp + 0x98]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x98]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [sym.imp.USER32.dll_GetCapture]
call eax
mov ecx, esp
mov dword [ecx + 8], 0x456
mov dword [ecx + 4], 0x7fb
mov dword [ecx], 0xd0d3f0
mov ecx, dword [sym.imp.USER32.dll_ShowScrollBar]
mov dword [esp + 0x58], eax
call ecx
sub esp, 0xc
xor ecx, ecx
lea edx, [esp + 0x78]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
jmp 0x10001544
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0x3a3
mov dword [esp + 0x44], eax
je 0x100015dd
jmp 0x100015b0
mov eax, dword [esp + 0x4c]
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx], 0xb1af77
mov ecx, dword [sym.imp.GDI32.dll_GetAspectRatioFilterEx]
mov dword [esp + 0x40], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x18
mov esi, dword [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call eax
sub esp, 4
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
mov ecx, 0x14
mov dword [esp + 0x48], eax
xor edx, edx
div ecx
cmp edx, 2
jne 0x1000152a
mov eax, dword [sym.imp.USER32.dll_ReleaseCapture]
call eax
mov dword [esp + 0x30], eax
jmp 0x1000152a
mov eax, dword [esp + 0x40]
sub eax, 9
mov dword [esp + 0x2c], eax
je 0x10001658
jmp 0x100015ec
mov eax, dword [esp + 0x40]
sub eax, 0x26
mov dword [esp + 0x28], eax
jne 0x100016b1
jmp 0x100015ff
mov eax, esp
mov dword [eax + 4], 0xd3562c
mov dword [eax], 0xd3562c
mov eax, dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x4d2e18
mov ecx, dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x6d4
mov dword [ecx + 4], 0x55c
mov dword [ecx], 0x22a3d1
mov ecx, dword [sym.imp.GDI32.dll_SetTextJustification]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, esp
mov dword [eax + 4], 0xa4e9ea
mov dword [eax], 0x83b59
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xfa8954
mov ecx, dword [sym.imp.GDI32.dll_GetMapMode]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0xa4b
mov dword [ecx + 4], 0x2ea
mov dword [ecx], 0x85ba0a
mov ecx, dword [sym.imp.KERNEL32.dll_SetupComm]
mov dword [esp + 0x14], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp eax, 0x81
mov dword [esp + 0x4c], eax
jne 0x10001544
lea esp, [ebp - 4]
pop esi
pop ebp
ret