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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x1e8
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 + 0x7c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x513a1b
mov ecx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x1d8]
mov dword [esp + 0x1d0], ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x1d4], ecx
mov ecx, dword [esp + 0x1d0]
mov edx, dword [esp + 0x1d4]
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 + 0x74], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1cc], 0x472
mov dword [esp + 0x1c8], 0xf17
mov ecx, esp
lea edx, [esp + 0x1c8]
mov dword [ecx + 8], edx
lea edx, [esp + 0x1cc]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0xc
mov byte [esp + 0x1c7], 7
mov ecx, esp
lea edx, [esp + 0x1c7]
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 + 0x6c], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x68], eax
jmp 0x100013b5
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1a4], 0
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 eax, esp
lea ecx, [esp + 0x170]
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 + 0x1c0]
mov edx, 0xcc29786d
mov dword [esp + 0x64], 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 + 0x60], ecx
mov dword [esp + 0x5c], eax
je 0x1000151e
jmp 0x1000134f
mov eax, dword [esp + 0x60]
sub eax, 0x21
mov dword [esp + 0x58], eax
je 0x100014b7
jmp 0x10001385
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
call eax
sub esp, 4
mov dword [esp + 0x54], eax
jmp 0x100015f9
jmp 0x100014b2
mov dword [esp + 0x16c], 0
jmp 0x10001540
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
add eax, 1
mov dword [esp + 0x1b0], eax
jmp 0x1000148a
cmp dword [esp + 0x1c0], 0x1e
setne al
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4f]
test al, 1
jne 0x1000141e
jmp 0x10001611
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x48], eax
mov eax, 0x88888889
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov eax, ecx
mov edx, dword [esp + 0x44]
mul edx
shr edx, 3
imul eax, edx, 0xf
sub ecx, eax
mov dword [esp + 0x40], ecx
je 0x100014ad
jmp 0x10001408
mov eax, dword [esp + 0x40]
sub eax, 0xb
mov dword [esp + 0x3c], eax
je 0x10001380
jmp 0x100014b2
mov dword [esp + 0x1b4], 0x24a
mov eax, esp
lea ecx, [esp + 0x1b4]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x1b8]
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 + 0x38], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x34], eax
cmp dword [esp + 0x1b0], 0x1ae
setne al
mov byte [esp + 0x33], al
mov al, byte [esp + 0x33]
test al, 1
jne 0x100013d4
jmp 0x10001253
jmp 0x10001380
jmp 0x10001395
mov eax, esp
mov dword [eax], 0x1a
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call eax
sub esp, 4
mov word [esp + 0x30], ax
mov eax, esp
mov dword [eax + 4], 0x602f88
mov dword [eax], 0x300
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
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 + 0x2c], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x28], eax
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 + 0x24], eax
jmp 0x10001362
cmp dword [esp + 0x16c], 0xa
je 0x100015f4
lea eax, [esp + 0x16a]
mov word [esp + 0x16a], 0x58
mov dword [esp + 0x164], eax
mov eax, esp
lea ecx, [esp + 0x164]
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 + 0x130]
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 + 0x130]
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 + 0x16c]
add eax, 1
mov dword [esp + 0x16c], eax
jmp 0x10001540
jmp 0x10001362
mov eax, dword [esp + 0x1c0]
add eax, 1
mov dword [esp + 0x1c0], eax
jmp 0x100013b5
lea esp, [ebp - 4]
pop esi
pop ebp
ret