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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x1e0
mov eax, esp
mov dword [eax + 4], 0xc2
mov dword [eax], 0xc2
mov eax, dword [sym.imp.USER32.dll_SetCursorPos]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x5fcef8
mov dword [ecx], 0x93d652
mov ecx, dword [sym.imp.GDI32.dll_PlayMetaFile]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x513a1b
mov ecx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x1d0]
mov dword [esp + 0x1c8], ecx
mov ecx, dword [esp + 0x1d4]
mov dword [esp + 0x1cc], ecx
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1cc]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 0xe4a5cb
mov ecx, dword [sym.imp.USER32.dll_RealChildWindowFromPoint]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1c4], 0x472
mov dword [esp + 0x1c0], 0xf17
mov ecx, esp
lea edx, [esp + 0x1c0]
mov dword [ecx + 8], edx
lea edx, [esp + 0x1c4]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov dword [esp + 0x68], eax
call ecx
sub esp, 0xc
mov byte [esp + 0x1bf], 7
mov ecx, esp
lea edx, [esp + 0x1bf]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xcf4
mov dword [ecx], 0x152021
mov ecx, dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
mov dword [esp + 0x64], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x60], eax
jmp 0x10001441
jmp 0x100014dd
mov eax, esp
mov dword [eax + 4], 0x6a6
mov dword [eax], 0x470c66
mov eax, dword [sym.imp.USER32.dll_GetSubMenu]
call eax
sub esp, 8
mov dword [esp + 0x5c], eax
jmp 0x100013fe
jmp 0x100013fe
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x168], 0
mov eax, esp
lea ecx, [esp + 0x168]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0xbbf
mov dword [eax], 0xcf4e40
mov eax, dword [sym.imp.USER32.dll_GetScrollBarInfo]
call eax
sub esp, 0xc
mov ecx, dword [esp + 0x1b8]
mov edx, 0xcc29786d
mov dword [esp + 0x58], eax
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
je 0x10001288
jmp 0x100013ab
mov eax, dword [esp + 0x54]
sub eax, 0x21
mov dword [esp + 0x4c], eax
je 0x100014e2
jmp 0x1000154f
mov eax, dword [esp + 0x1a8]
mov ecx, 0x88888889
mov dword [esp + 0x48], eax
mul ecx
shr edx, 3
imul eax, edx, 0xf
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov dword [esp + 0x44], ecx
je 0x10001283
jmp 0x100013eb
mov eax, dword [esp + 0x44]
sub eax, 0xb
mov dword [esp + 0x40], eax
je 0x100014dd
jmp 0x10001439
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
call eax
sub esp, 4
mov dword [esp + 0x3c], eax
jmp 0x1000160e
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0x1a8], eax
jmp 0x100014ba
jmp 0x10001419
lea esp, [ebp - 4]
pop esi
pop ebp
ret
cmp dword [esp + 0x1b8], 0x1e
je 0x1000143b
mov dword [esp + 0x1ac], 0x24a
mov eax, esp
lea ecx, [esp + 0x1ac]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x1b0]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x24a
mov dword [eax], 0xe83260
mov eax, dword [sym.imp.GDI32.dll_PolyPolyline]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 8], 0x6d9
mov dword [ecx + 4], 0xab131d
mov dword [ecx], 0x708311
mov ecx, dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [esp + 0x34], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x30], eax
cmp dword [esp + 0x1a8], 0x1ae
setne al
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x2f]
test al, 1
jne 0x100013c1
jmp 0x100012af
jmp 0x10001439
mov eax, esp
mov dword [eax], 0x1a
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x602f88
mov dword [ecx], 0x300
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov word [esp + 0x2c], ax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x10], 0x12e
mov dword [ecx + 0xc], 0xa7e
mov dword [ecx + 8], 0xa7e
mov dword [ecx + 4], 0xa7e
mov dword [ecx], 0x3fafaf
mov ecx, dword [sym.imp.GDI32.dll_Rectangle]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x24], eax
jmp 0x10001288
mov dword [esp + 0x164], 0
cmp dword [esp + 0x164], 0xa
je 0x100012aa
lea eax, [esp + 0x162]
mov word [esp + 0x162], 0x58
mov dword [esp + 0x15c], eax
mov eax, esp
lea ecx, [esp + 0x15c]
mov dword [eax + 8], ecx
mov dword [eax + 4], str.cX_7
mov dword [eax], str.1CeK
call sub.OLEAUT32.dll_VarBstrCmp
sub esp, 0xc
xor ecx, ecx
mov edx, 0x30
lea esi, [esp + 0x128]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x128]
mov dword [eax + 4], ecx
mov dword [eax], 0xcf4
mov eax, dword [sym.imp.USER32.dll_GetGUIThreadInfo]
call eax
sub esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x164]
add eax, 1
mov dword [esp + 0x164], eax
jmp 0x1000155a
mov eax, dword [esp + 0x1b8]
add eax, 1
mov dword [esp + 0x1b8], eax
jmp 0x10001441