Function at 0x417ec5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x11
call esi
push 0x10
mov di, ax
call esi
and di, ax
not di
movzx edi, di
call fcn.0045f595
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
call fcn.0045f595
mov dword [ebx + 4], eax
call fcn.0045f595
mov dword [ebx + 8], eax
call fcn.0045f595
mov dword [ebx + 0xc], eax
call fcn.0045f595
mov dword [ebx + 0x10], eax
call fcn.0045f595
and dword [ebx + 0x18], 0
mov dword [ebx + 0x14], eax
call fcn.0041707c
mov dword [0x506bec], eax
call fcn.00416ca6
mov ecx, dword [ebx]
mov esi, eax
push 0xffffffffffffff80
pop edx
mov dword [0x506be8], esi
mov byte [ecx + 0x2c], 8
mov ecx, dword [ebx]
mov dword [ecx + 0x24], 0x10
mov ecx, dword [ebx]
mov dword [ecx + 0x48], 0x5dc
mov ecx, dword [ebx]
mov dword [ecx], edx
mov ecx, 0x8c
mov eax, dword [ebx]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov dword [eax + 8], edx
mov eax, dword [ebx]
mov edx, dword [0x506bec]
mov dword [eax + 0xc], 0xaa
mov eax, dword [ebx]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx]
mov dword [eax + 0x18], ecx
mov ecx, esi
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0x5a
mov eax, dword [ebx]
and dword [eax + 0x20], 0
cmp edi, 0x8000
mov eax, dword [ebx]
cmovae ecx, edx
mov dword [eax + 0x28], 0x459c4000
mov eax, dword [ebx]
mov dword [eax + 0x30], ecx
mov ecx, 0x96
mov eax, dword [ebx]
mov dword [eax + 0x38], 0x41000000
mov eax, dword [ebx]
mov byte [eax + 0x2e], 0x10
mov eax, dword [ebx + 4]
mov byte [eax + 0x2c], 8
mov eax, dword [ebx + 4]
mov dword [eax + 0x24], 8
mov eax, dword [ebx + 4]
mov dword [eax + 0x48], ecx
mov eax, dword [ebx + 4]
and dword [eax], 0
mov eax, dword [ebx + 4]
and dword [eax + 4], 0
mov eax, dword [ebx + 4]
push 0x20
and dword [eax + 8], 0
mov eax, dword [ebx + 4]
and dword [eax + 0xc], 0
mov eax, dword [ebx + 4]
and dword [eax + 0x10], 0
mov eax, dword [ebx + 4]
and dword [eax + 0x14], 0
mov eax, dword [ebx + 4]
mov dword [eax + 0x18], 0x1c2
mov eax, dword [ebx + 4]
mov dword [eax + 0x1c], 0x108
mov eax, dword [ebx + 4]
mov dword [eax + 0x20], ecx
mov eax, dword [ebx + 8]
mov byte [eax + 0x2c], 8
mov eax, dword [ebx + 8]
mov dword [eax + 0x24], 8
mov eax, dword [ebx + 8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebx + 8]
pop ecx
push 0x3c
mov dword [eax], ecx
mov eax, dword [ebx + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 8]
pop ecx
push 0x50
mov dword [eax + 8], 0x40
mov eax, dword [ebx + 8]
mov dword [eax + 0xc], 0x78
mov eax, dword [ebx + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 8]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 8]
pop ecx
mov dword [eax + 0x18], 0xc8
mov eax, dword [ebx + 8]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebx + 8]
mov dword [eax + 0x20], ecx
xor ecx, ecx
mov eax, dword [ebx + 0xc]
inc ecx
mov byte [eax + 0x2c], 8
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x24], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x48], ecx
xor ecx, ecx
mov eax, dword [ebx + 0xc]
cmp edi, 0x8000
cmovae edx, esi
mov dword [eax], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x20], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x30], edx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x38], 0x3fb33333
mov eax, dword [ebx + 0xc]
mov byte [eax + 0x2e], 0x10
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x2c], 8
mov eax, dword [ebx + 0x10]
xor edi, edi
inc edi
push ecx
mov dword [eax + 0x24], edi
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x48], edi
mov eax, dword [ebx + 0x10]
mov dword [eax], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x20], ecx
call fcn.00416dbd
mov ecx, dword [ebx + 0x10]
mov dword [0x506bf0], eax
push edi
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x38], 0x3f800000
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x2e], 0x10
mov eax, dword [ebx + 0x14]
mov byte [eax + 0x2c], 8
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x24], edi
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x48], edi
mov eax, dword [ebx + 0x14]
mov dword [eax], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x20], ecx
call fcn.00416dbd
mov dword [0x506bf4], eax
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebx + 0x14]
mov dword [ecx + 0x38], 0x3f800000
mov ecx, dword [ebx + 0x14]
mov byte [ecx + 0x2e], 0x10
test eax, eax
je 0x4181c8
mov eax, dword [eax]
mov dword [0x506bf8], eax
push dword [ebx]
call fcn.0045f63a
push dword [ebx + 4]
call fcn.0045f63a
push dword [ebx + 8]
call fcn.0045f63a
push dword [ebx + 0xc]
call fcn.0045f63a
push dword [ebx + 0x10]
call fcn.0045f63a
push dword [ebx + 0x14]
call fcn.0045f63a
mov esi, dword [ebp + 0xc]
push 0x300
push 0
push esi
call fcn.0049a3b0
push edi
push ebx
mov edi, 0xff
push edi
push 2
push esi
call fcn.0045f711
xor eax, eax
mov word [esi + 4], 0xffff
push edi
push eax
mov word [esi + 1], ax
mov byte [esi], al
mov byte [esi + 3], 0xff
push esi
push dword [ebx]
call fcn.0045f99d
add esp, 0x48
push edi
push 0
push esi
push dword [ebx + 4]
call fcn.0045f99d
push edi
push 0
push esi
push dword [ebx + 8]
call fcn.0045f99d
push edi
push 0
push esi
push dword [ebx + 0xc]
call fcn.0045f99d
push edi
push 0
push esi
push dword [ebx + 0x10]
call fcn.0045f99d
add esp, 0x40
push edi
push 0
push esi
push dword [ebx + 0x14]
call fcn.0045f99d
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret