Function at 0x420470
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x447c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc24
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
push ebp
push 9
mov eax, dword [edi + 0x2d0]
push 0x110a
push eax
call dword [sym.imp.user32.dll_SendMessageA]
call fcn.004191e0
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x20], esi
je 0x4207c6
jmp 0x4204c3
mov esi, dword [esp + 0x20]
xor ebp, ebp
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [0x467f1c], eax
je 0x42073f
lea ecx, [esp + 0x10]
lea ebx, [edi + 0x2b4]
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x24], ebp
call fcn.0043d948
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0xc40], ebp
call fcn.00442af3
mov ebp, eax
push 0x46290c
push ebp
call fcn.00433f20
push 0x4628fc
push ebp
mov esi, eax
call fcn.00433f20
add esp, 0x10
mov ebp, eax
test esi, esi
je 0x42070d
mov al, byte [edi + 0x1176]
test al, al
je 0x420540
mov al, byte [edi + 0x1177]
test al, al
jne 0x420550
test ebp, ebp
jne 0x420550
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
jmp 0x420613
mov al, byte [esi + 0xc]
add esi, 4
cmp al, 0x20
je 0x420566
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
jmp 0x420613
lea edx, [esp + 0x14]
mov byte [esi + 8], 0
push edx
push 0x460f14
push esi
call fcn.00433af2
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [edi + 0x3ac]
push eax
call fcn.00415350
test al, al
mov byte [esp + 0x30], al
jne 0x420602
mov al, byte [edi + 0x1176]
test al, al
je 0x420602
test ebp, ebp
jne 0x420602
mov ecx, dword [0x467f1c]
push ecx
push ebp
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x420759
mov ecx, dword [edi + 0x3e8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push 4
add ecx, edx
push eax
push ecx
push esi
call fcn.00429130
add esp, 0x14
test eax, eax
je 0x4205f6
cmp dword [esp + 0x28], 4
jne 0x4205f6
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x420640
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x42070d
mov al, byte [ebp + 0xc]
add ebp, 4
test al, al
je 0x420629
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x462c28
call fcn.004429fd
mov ecx, edi
call fcn.0041d3e0
jmp 0x42070d
lea edx, [esp + 0x24]
mov byte [ebp + 8], 0
push edx
push 0x460f14
push ebp
call fcn.00433af2
add esp, 0xc
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x438]
push ecx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push 0x400
push ecx
push edx
push eax
mov ecx, edi
call fcn.004270b0
test eax, eax
je 0x4206f5
mov edx, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x38]
push 1
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x440]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004250d0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x438]
push eax
push ecx
push edx
lea eax, [esp + 0x844]
push 0x460ef0
push eax
call fcn.0043367e
mov ecx, dword [esp + 0x2c]
add esp, 0x18
push ecx
lea ecx, [edi + 0x3ac]
call fcn.00413990
push 0
push 0
push 0
push 0
lea edx, [esp + 0x844]
push 0
push edx
push 1
push eax
mov ecx, ebx
call fcn.0043da20
mov esi, dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x11
call esi
test ax, ax
jge 0x42070d
push 0x7b
call esi
test ax, ax
jl 0x420787
lea ecx, [esp + 0x10]
mov dword [esp + 0xc3c], 0xffffffff
call fcn.004429d3
mov eax, dword [esp + 0x20]
push eax
call fcn.00419240
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4204bd
jmp 0x4207c6
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x462c3c
call fcn.004429fd
mov ecx, edi
call fcn.0041d3e0
jmp 0x4207cd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x461740
call fcn.004429fd
mov ecx, edi
call fcn.0041d3e0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc3c], 0xffffffff
call fcn.004429d3
jmp 0x4207cd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x462c0c
call fcn.004429fd
mov ecx, edi
call fcn.0041d3e0
push 0
push 0x462bec
push 0x462bd4
mov ecx, edi
call fcn.00440edf
lea ecx, [esp + 0x10]
mov dword [esp + 0xc3c], 0xffffffff
call fcn.004429d3
mov ecx, edi
call fcn.00425e20
mov ecx, dword [esp + 0xc34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc30
ret