Function at 0x4262c0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5c6da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x6613c8]
push ebx
push ebp
push esi
push edi
push 1
add eax, 4
mov esi, ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.005789d4
mov dword [esp + 0x48], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call edi
xor ebp, ebp
mov bp, ax
push 0x11
and ebp, 0x8000
call edi
xor ebx, ebx
mov bx, ax
push 2
and ebx, 0x8000
call edi
and eax, 0x8000
test ebp, ebp
jne 0x42634d
test ebx, ebx
jne 0x42634d
test eax, eax
jne 0x42634d
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x42634d
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x42634d
push ebx
push ebx
mov ecx, esi
call fcn.00425250
mov ecx, esi
call fcn.00425ef0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 1
mov ecx, esi
call fcn.005ad42b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
dec eax
cmp ecx, eax
mov edx, ecx
jl 0x426378
mov edx, eax
test edx, edx
jge 0x426386
mov dword [esp + 0x50], 0
jmp 0x42638e
cmp ecx, eax
jl 0x426392
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
test ebp, ebp
je 0x426534
mov eax, dword [esi + 0xb8]
cmp eax, ecx
jge 0x42646a
inc eax
cmp eax, ecx
mov dword [esi + 0xb8], eax
jg 0x426529
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.00425670
mov edi, dword [esp + 0x10]
test edi, edi
je 0x426436
mov dword [edi + 0x73c], 1
mov eax, dword [esi + 0x50]
test eax, eax
je 0x426436
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 0x124]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x426436
lea edx, [esi + 0xd4]
push edx
push ecx
lea eax, [edi + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402dc0
mov byte [esp + 0x50], 0
call fcn.004e5ed0
mov ecx, dword [esi + 0x50]
add esp, 8
push edi
add ecx, 0x84
call fcn.004fc060
mov ecx, dword [esi + 0x50]
push edi
add ecx, 0x1fc
call fcn.0049bc20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x426442
or dword [eax + 0x28], 1
mov edi, dword [esi + 0xb8]
mov ecx, dword [esp + 0x50]
inc edi
mov edx, edi
cmp edx, ecx
mov dword [esi + 0xb8], edi
mov eax, edi
jle 0x4263b7
mov dword [esi + 0xb8], ecx
jmp 0x426627
jle 0x426529
dec eax
cmp eax, ecx
mov dword [esi + 0xb8], eax
jl 0x426529
nop
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.00425670
mov edi, dword [esp + 0x10]
test edi, edi
je 0x426500
mov dword [edi + 0x73c], 1
mov eax, dword [esi + 0x50]
test eax, eax
je 0x426500
mov edx, dword [0x6613bc]
mov eax, dword [edx + 0x124]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x426500
lea ecx, [esi + 0xd4]
push ecx
push ecx
lea edx, [edi + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00402dc0
mov byte [esp + 0x50], 0
call fcn.004e5ed0
mov ecx, dword [esi + 0x50]
add esp, 8
push edi
add ecx, 0x84
call fcn.004fc060
mov ecx, dword [esi + 0x50]
push edi
add ecx, 0x1fc
call fcn.0049bc20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42650c
or dword [eax + 0x28], 1
mov edi, dword [esi + 0xb8]
mov ecx, dword [esp + 0x50]
dec edi
mov edx, edi
cmp edx, ecx
mov dword [esi + 0xb8], edi
mov eax, edi
jge 0x426480
mov dword [esi + 0xb8], ecx
jmp 0x426627
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esi + 0xb8], ecx
push ecx
mov ecx, esi
call fcn.00425670
test ebx, ebx
mov edi, dword [esp + 0x10]
je 0x4265b2
test edi, edi
je 0x42661b
mov edx, dword [edi + 0x73c]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [edi + 0x73c], eax
je 0x42661b
mov eax, dword [esi + 0x50]
test eax, eax
je 0x42661b
mov ecx, dword [0x6613bc]
mov edx, dword [ecx + 0x124]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x42661b
lea eax, [esi + 0xd4]
push eax
push ecx
lea edx, [edi + 0x14]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00402dc0
jmp 0x4265f0
test edi, edi
je 0x42661b
mov dword [edi + 0x73c], 1
mov eax, dword [esi + 0x50]
test eax, eax
je 0x42661b
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 0x124]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x42661b
lea edx, [esi + 0xd4]
push edx
push ecx
lea eax, [edi + 0x14]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00402dc0
mov byte [esp + 0x50], 0
call fcn.004e5ed0
mov ecx, dword [esi + 0x50]
add esp, 8
add ecx, 0x84
push edi
call fcn.004fc060
mov ecx, dword [esi + 0x50]
add ecx, 0x1fc
push edi
call fcn.0049bc20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x426627
or dword [eax + 0x28], 1
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
mov ecx, esi
call fcn.005ad403
mov edx, dword [esp + 0x3c]
mov ecx, eax
add edx, 0xffffffea
mov eax, 0x78787879
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax - 1]
xor edx, edx
test eax, eax
setl dl
push 1
dec edx
and edx, eax
mov eax, dword [esi + 0xb8]
cmp eax, ecx
jge 0x426684
push eax
push 1
mov ecx, esi
call fcn.005ad3d3
mov ecx, esi
call fcn.00425ef0
jmp 0x4266a5
add ecx, edx
cmp eax, ecx
jle 0x426699
sub eax, edx
mov edx, 0
sets dl
dec edx
and eax, edx
jmp 0x426671
mov eax, dword [esi + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0057897a
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4