Function at 0x401de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call edi
mov si, ax
push 0x10
and esi, 0xffff
shr esi, 0xf
call edi
and eax, 0xffff
mov ebx, 1
shr eax, 0xf
and esi, eax
mov dword [0x44a024], ebx
mov dword [0x4508e4], 0
mov dword [0x4508d8], 0xbf19999a
mov dword [0x4508c8], 5
mov dword [0x4508cc], 8
mov dword [0x4508c4], 0x4508e8
xor edi, edi
push edi
call fcn.00402070
mov eax, dword [0x4508cc]
add esp, 4
inc edi
cmp edi, eax
jl 0x401e47
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push 0x42f00000
push 0x3f800000
push edi
push ebp
call fcn.004010e0
mov dword [0x45089c], eax
mov dword [eax + 0x20], ebp
mov eax, dword [0x45089c]
mov dword [eax + 0x24], edi
mov ecx, dword [0x45089c]
lea eax, [edi - 1]
mov dword [ecx + 0x10], ebx
mov edx, dword [0x45089c]
mov dword [edx + 0x14], ebx
mov ecx, dword [0x45089c]
lea edx, [ebp - 1]
mov dword [ecx + 0x18], eax
mov eax, dword [0x45089c]
mov dword [eax + 0x1c], edx
mov ecx, dword [0x45089c]
mov eax, ebp
cdq
mov dword [ecx + 4], 0x3f800000
sub eax, edx
mov edx, dword [0x45089c]
sar eax, 1
mov dword [edx + 0x28], eax
mov ecx, dword [0x45089c]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x2c], eax
mov edx, dword [0x45089c]
mov byte [edx + 8], 1
mov eax, dword [0x45089c]
mov dword [eax + 0x38], 0xc2700000
call fcn.004030e0
mov edi, dword [esp + 0x34]
mov dword [0x45098c], eax
push edi
push 0x4508ac
call fcn.00402850
mov ecx, dword [0x4508ac]
mov edx, esi
neg edx
sbb edx, edx
push ecx
and edx, 0xc
add edx, 0xc
push edx
push 0x43fa0000
call fcn.00402e00
push edi
mov dword [0x4508a0], eax
call fcn.00406750
mov edi, esi
add esp, 0x30
xor ebp, ebp
mov eax, 0x40
neg edi
sbb edi, edi
mov dword [esp + 0x18], 0x411ccccd
and edi, 6
mov ebx, 0xc
add edi, 6
sub eax, 0x450990
mov dword [esp + 0x14], eax
push 0
push 0
call fcn.00404530
xor ecx, ecx
mov dword [ebp*4 + 0x450990], eax
mov dword [eax + 0x54], ecx
mov eax, dword [ebp*4 + 0x450990]
add esp, 8
cmp esi, ecx
mov dword [eax + 0x58], 0x42b40000
mov edx, dword [ebp*4 + 0x450990]
mov dword [edx + 0x5c], ecx
je 0x401fa2
mov eax, dword [esp + 0x14]
lea eax, [eax + ebp*4 + 0x450990]
jmp 0x401fa4
mov eax, ebx
fld dword [esp + 0x18]
mov ecx, ebp
fadd qword [0x447590]
and ecx, 1
mov edx, dword [ecx*4 + 0x4508b0]
push edx
push edi
push eax
mov eax, dword [esp + 0x24]
push ecx
fstp dword [esp]
push eax
call fcn.004030f0
fld dword [esp + 0x2c]
fadd qword [0x447588]
mov ecx, dword [ebp*4 + 0x450990]
add esp, 0x14
add ebx, 2
inc ebp
cmp ebx, 0x1c
mov dword [ecx + 0x10], eax
fstp dword [esp + 0x18]
jb 0x401f61
mov edi, esi
mov edx, dword [0x4508b8]
neg edi
sbb edi, edi
push edx
and edi, 0x10
add edi, 8
neg esi
sbb esi, esi
push edi
and esi, 0xa
add esi, 6
push esi
push 0x41880000
call fcn.00403400
mov dword [0x4508c0], eax
mov eax, dword [0x4508b8]
push eax
push edi
push esi
push 0x41880000
call fcn.00403400
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x20
mov dword [0x4509bc], eax
call esi
mov dword [0x450988], eax
mov dword [0x4508a4], 0
mov dword [0x4509b0], 0xffffffff
call esi
pop edi
pop esi
pop ebp
mov dword [0x4508dc], eax
pop ebx
ret