Function at 0x41fc90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov edi, eax
cmp dword [0x567664], esi
je 0x41fd5a
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [esp + 0x20]
push 1
push esi
push esi
push esi
push eax
call ebx
test eax, eax
je 0x41fd5a
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
mov ecx, dword [0x57df94]
test ecx, ecx
je 0x41fcfa
mov eax, dword [esp + 0x2c]
cdq
push edx
push eax
push 0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [0x57df98]
call ecx
add esp, 0x1c
cmp dword [esp + 0x24], 0x200
jne 0x41fd20
mov eax, dword [0x57f4b8]
test eax, eax
je 0x41fd20
sub eax, dword [esp + 0x30]
inc eax
test eax, eax
jg 0x41fd43
mov dword [0x57f4b8], 0
lea eax, [esp + 0x20]
push eax
call ebp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [edi + 1]
sub eax, dword [esp + 0x30]
test eax, eax
jg 0x41fd43
inc esi
cmp esi, 3
jg 0x41fd5a
push 1
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call ebx
test eax, eax
jne 0x41fcd0
push 0
call fcn.004411e0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, eax
add esp, 4
cmp byte [esi + 0xe1], 1
jne 0x41fd90
push 0xa0
call edi
test ax, ax
js 0x41fd90
push 0xe1
push 0
call fcn.004417f0
add esp, 8
cmp byte [esi + 0xe5], 1
jne 0x41fdb4
push 0xa1
call edi
test ax, ax
js 0x41fdb4
push 0xe5
push 0
call fcn.004417f0
add esp, 8
call fcn.004411d0
test eax, eax
je 0x41fdc6
test dword [eax + 0x30], 0x100000
jne 0x41fe08
cmp byte [esi + 0xe3], 1
jne 0x41fde7
push 0x5b
call edi
test ax, ax
js 0x41fde7
push 0xe3
push 0
call fcn.004417f0
add esp, 8
cmp byte [esi + 0xe7], 1
jne 0x41fe08
push 0x5c
call edi
test ax, ax
js 0x41fe08
push 0xe7
push 0
call fcn.004417f0
add esp, 8
call fcn.004450b0
mov esi, eax
call fcn.0045f1f0
mov edi, eax
test esi, esi
je 0x41fe5c
mov esi, dword [esi + 0x190]
test esi, esi
je 0x41fe5c
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x41fe52
cmp dword [ecx + 0x48], 0
je 0x41fe3d
mov dword [ecx + 0x48], 0
jmp 0x41fe49
mov eax, edi
sub eax, dword [ecx + 0x4c]
cmp eax, 0xbb8
jb 0x41fe52
push esi
call fcn.00475740
add esp, 4
mov esi, dword [esi + 0xac]
test esi, esi
jne 0x41fe24
call fcn.004411d0
test eax, eax
je 0x41ff9c
test dword [eax + 0x30], 0x4000
je 0x41ff9c
mov ebp, dword [eax + 0xa4]
cmp dword [ebp + 0x74], 0
jne 0x41ff9c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x41ff9c
lea eax, [esp + 0x18]
push eax
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x41ff9c
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
call fcn.00449920
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [eax + 0x28]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [ebp]
mov dword [esp + 0x20], edx
call fcn.00474690
push dword [esp + 0x20]
push dword [esp + 0x20]
push 0
push ebx
push dword [ebp]
call fcn.0044a940
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x20
test esi, esi
setne al
lea eax, [eax*2 + 1]
push eax
push 1
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [ebp]
call fcn.0044a920
add esp, 0x10
test esi, esi
sete al
lea eax, [eax*2 + 1]
push eax
push 2
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [ebp]
call fcn.0044a920
add esp, 0x10
push 2
push 4
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [ebp]
call fcn.0044a920
add esp, 0x10
push 4
push 5
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [ebp]
call fcn.0044a920
add esp, 0x10
push 5
push 6
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [ebp]
call fcn.0044a920
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret