Function at 0x10637d0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x109b460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.01090763
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x74], 0
test edi, edi
jne 0x106380b
xor eax, eax
jmp 0x106380e
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x30]
call fcn.0109081a
lea ecx, [esp + 0x1c]
call fcn.0103e9e9
mov dword [esp + 0x1c], 0x10022bc
mov eax, dword [esi + 0x6f0]
mov ebp, dword [esi + 0x6e8]
mov ecx, dword [esi + 0x6ec]
mov edx, dword [esi + 0x6e4]
sub eax, ebp
sub ecx, edx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
mov byte [esp + 0x80], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.01090fb9
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.0109095b
lea ecx, [esp + 0x3c]
call fcn.01090763
test edi, edi
mov byte [esp + 0x74], 2
je 0x106389a
mov edi, dword [edi + 4]
push edi
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.0109081a
lea eax, [esi + 0x310]
test eax, eax
je 0x10638b4
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.0109095b
mov ecx, dword [esi + 0x1c]
mov edi, eax
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esi + 0x6e8]
mov ecx, dword [esi + 0x6f0]
mov ebx, dword [esi + 0x6e4]
mov edx, ebp
sub ecx, edx
mov edx, dword [esi + 0x6ec]
mov eax, ebx
push 0xcc0020
sub edx, eax
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
push ebp
and eax, dword [esp + 0x48]
push ebx
push eax
push ecx
push edx
mov edx, dword [esp + 0x48]
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x106391c
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x40]
push edi
push eax
call fcn.0109095b
lea ecx, [esp + 0x3c]
call fcn.01090882
lea eax, [esi + 0x6d0]
test eax, eax
je 0x106394d
mov eax, dword [eax + 4]
test eax, eax
je 0x106394d
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
lea ecx, [esp + 0x30]
call fcn.01090a7f
push 1
lea ecx, [esp + 0x30]
call fcn.01090a23
mov ebp, dword [esi + 0x6fc]
mov ebx, dword [esi + 0x700]
mov edx, dword [esi + 0x708]
mov edi, dword [esi + 0x6f8]
lea eax, [ebx + ebp]
mov ecx, dword [edx - 8]
cmp eax, 5
mov dword [esp + 0x18], ecx
mov dword [esi + 0x6fc], eax
jle 0x106399c
mov dword [esi + 0x700], 0xffffffff
jmp 0x10639aa
test eax, eax
jge 0x10639aa
mov dword [esi + 0x700], 1
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x1063a7d
mov eax, dword [esi + 0x708]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x13], al
push edx
lea eax, [esp + 0x17]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov al, byte [esi + 0x704]
xor edx, edx
test al, 1
je 0x10639f2
lea edx, [ebp + ebp]
mov eax, dword [esi + 0x6ec]
mov ecx, dword [esi + 0x6e4]
sub eax, ecx
mov ecx, dword [esi + 0x6f0]
sub ecx, dword [esi + 0x6e8]
mov dword [esp + 0x54], eax
push 0
lea eax, [esp + 0x17]
mov dword [esp + 0x5c], ecx
push 1
lea ecx, [esp + 0x54]
push eax
push ecx
push 4
push edx
mov edx, dword [esp + 0x48]
push edi
push edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [esp + 0x24]
mov al, byte [esi + 0x704]
add edi, ecx
test al, 2
je 0x1063a53
add edi, ebp
add ebp, ebx
cmp ebp, 5
jle 0x1063a5f
or ebx, 0xffffffff
jmp 0x1063a68
test ebp, ebp
jge 0x1063a68
mov ebx, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10639ba
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
mov bp, ax
push 0x11
and ebp, 0x80
shr ebp, 7
call ebx
and eax, 0x80
shr eax, 7
test ebp, ebp
je 0x1063ab2
test eax, eax
je 0x1063ab2
mov eax, dword [esi + 0x6f8]
add eax, 0xffffffec
jmp 0x1063abb
mov eax, dword [esi + 0x6f8]
add eax, 0xfffffffe
test edi, edi
mov dword [esi + 0x6f8], eax
jge 0x1063ad9
mov eax, dword [esi + 0x6ec]
mov ecx, dword [esi + 0x6e4]
sub eax, ecx
mov dword [esi + 0x6f8], eax
mov ecx, dword [esi + 0x6f0]
mov edx, dword [esi + 0x6e8]
mov eax, dword [esi + 0x6e4]
mov edi, dword [esi + 0x6e8]
sub ecx, edx
mov edx, dword [esi + 0x6ec]
mov ebx, dword [esp + 0x30]
sub edx, eax
mov esi, eax
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x90]
push edx
push edi
mov edx, dword [ecx + 4]
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x2c]
call fcn.01090882
lea ecx, [esp + 0x1c]
call fcn.01091010
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.01090898
mov dword [esp + 0x1c], 0x1001f6c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 3
call fcn.01091010
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0xffffffff
call fcn.01090898
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4