Function at 0x4570f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x457310
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x45715b
mov eax, dword [ebp - 0x14]
call fcn.00470288
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45715b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x45715b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x45715b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45731a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x4571ac
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x4571ac
mov eax, dword [ebp - 0x14]
call fcn.00470288
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4572fb
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
je 0x4572fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45731a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x4572d6
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x4572d6
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x4571ef
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x4571e9
sub eax, 3
je 0x4571e9
sub eax, 3
jne 0x4571ef
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x457206
dec eax
je 0x45721d
dec eax
je 0x45724c
dec eax
je 0x45721d
jmp 0x457259
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4ae538]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00479adc
jmp 0x4572fb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x45723f
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45731a
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x4572fb
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x4572fb
mov eax, dword [0x4afb94]
cmp byte [eax + 0x20], 0
je 0x4572fb
mov eax, dword [0x4afb94]
cmp dword [eax + 0x1c], 0
je 0x4572fb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4afb94]
cmp eax, dword [edx + 0x1c]
jne 0x4572fb
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004701cc
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45731a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x4572fb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00455164
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45731a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret