Function at 0x427180
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
mov ebx, dword [esp + 0x40]
test ax, ax
jl 0x4271cd
mov eax, dword [esi + 0x3d0]
xor edi, edi
test eax, eax
jle 0x4271cd
xor ebp, ebp
mov edx, dword [esi + 0x3a8]
mov ecx, ebp
push ebx
add ecx, edx
call fcn.004096a0
test eax, eax
jne 0x427213
mov eax, dword [esi + 0x3d0]
inc edi
add ebp, 0x43c
cmp edi, eax
jl 0x4271a8
mov ecx, dword [0x467f1c]
push 0
push 0
push 0x463a7c
push 1
push 0xea60
push ecx
push 0x4676e0
push 0
call fcn.0044b182
mov dword [esi + 0x1230], eax
mov al, byte [esi + 0x3d4]
test al, al
mov dword [esp + 0x10], 0xe1c2f3af
push 0x5c
je 0x42725a
lea edx, [esi + 0xe60]
push edx
jmp 0x427261
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push 0
mov edx, dword [esp + 0x4c]
push eax
push ecx
mov eax, dword [esp + 0x50]
mov ecx, edi
shl ecx, 4
add ecx, edi
push edx
mov edx, dword [esi + 0x3a8]
push eax
shl ecx, 4
sub ecx, edi
push ebx
lea ecx, [edx + ecx*4]
call fcn.004097a0
test eax, eax
je 0x4271cd
mov eax, dword [esp + 0x54]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x20
lea eax, [esi + 0xd5c]
push eax
call fcn.004339d0
mov ebp, eax
mov al, byte [esi + 0x3d4]
add esp, 8
inc ebp
test al, al
jne 0x42734d
mov edx, dword [esi + 0x1230]
mov ecx, dword [0x467f1c]
mov eax, dword [esi + 0x1224]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x122c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1228]
lea edi, [esi + 0xd5c]
push 0x1770
push edx
add ecx, eax
push edi
push 0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call fcn.0044b025
cmp eax, 0xe1c2f3b0
je 0x4272e5
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x463a60
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov ecx, dword [esi + 0x122c]
lea eax, [esp + 0x24]
push eax
push 5
push 0x463a54
push 0
push 0x1770
push ecx
push edi
push 0
call fcn.0044b182
test eax, eax
je 0x427482
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x463a30
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov edx, dword [0x467f1c]
push 1
push 0xea60
push edx
push 0x4676e0
push 0
call fcn.0044b1be
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x20
mov eax, dword [0x467f1c]
mov ecx, dword [esi + 0x1230]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
push 4
push 0x462068
lea edx, [esp + 0x4c]
push 0
push 0
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x14
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 0x46207c
push 0
call fcn.0044b182
mov ecx, dword [0x467f1c]
lea edi, [esi + 0xe60]
push 0x1770
push ecx
push edi
push 0
call fcn.0044b025
cmp eax, 0xe1c2f3b0
je 0x4273e4
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x463a60
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov eax, dword [0x467f1c]
lea edx, [esp + 0x18]
push edx
push 3
push 0x463a54
push 0
push 0x1770
push eax
push edi
push 0
call fcn.0044b182
test eax, eax
je 0x427482
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x463a30
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov ecx, dword [0x467f1c]
push 1
push 0xea60
push ecx
push 0x4676e0
push 0
call fcn.0044b1be
mov edx, dword [0x467f1c]
push 0xea60
push edx
push 0x4676e0
push 0
call fcn.0044b14f
test eax, eax
jne 0x42745d
mov byte [esi + 0x922], al
mov eax, dword [0x467f1c]
push 1
push 0xea60
push eax
push 0x4676e0
push 0
call fcn.0044b1be
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x20
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push 1
push edx
push eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x58]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push ebx
push ecx
push 0x463a28
push 0x4676e0
mov ecx, esi
call fcn.00427690
mov edi, eax
mov al, byte [esi + 0x3d4]
test al, al
jne 0x4274f4
mov eax, dword [esi + 0x122c]
lea edx, [esp + 0x10]
push edx
push 1
push 0x463a1c
push 0
push 0x1770
push eax
push ebp
push 0
call fcn.0044b182
test eax, eax
jne 0x427532
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
jmp 0x427521
mov edx, dword [0x467f1c]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0x463a1c
push 0
push 0x1770
push edx
push ebp
push 0
call fcn.0044b182
test eax, eax
jne 0x427532
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x4639fc
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov al, byte [esi + 0x3d4]
push 2
test al, al
push 0x1770
jne 0x427553
mov eax, dword [esi + 0x122c]
lea ecx, [esi + 0xd5c]
push eax
push ecx
jmp 0x427561
mov edx, dword [0x467f1c]
lea eax, [esi + 0xe60]
push edx
push eax
push 0
call fcn.0044b1be
mov ecx, dword [0x467f1c]
push 1
push 0xea60
push ecx
push 0x4676e0
push 0
call fcn.0044b1be
mov edx, dword [0x467f1c]
push 0xea60
push edx
push 0x4676e0
push 0
call fcn.0044b14f
test eax, eax
jne 0x4275a4
mov byte [esi + 0x922], al
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x20