Function at 0x413500
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484462
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x30], xmm1
mov edi, ecx
cmp dword [edi + 8], 0
je 0x41359b
mov eax, dword [0x4afcf8]
test al, 1
jne 0x413581
or eax, 1
mov dword [0x4afcf8], eax
push 0x230
push 0
push 0x4b0000
mov dword [ebp - 4], 0
call fcn.00479b40
add esp, 0xc
call fcn.004115f0
push 0x48cd50
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4b01f4]
movss xmm0, dword [edi + 0x1c]
mov eax, dword [eax + 0x8c]
comiss xmm0, dword [eax + 0x7c]
ja 0x4138a9
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x20]
mov eax, dword [edi + 0x20]
sub esp, 8
mov dword [edi + 0x24], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call dword [eax + 4]
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
movss xmm0, dword [ebp - 0x34]
sub esp, 8
mov eax, dword [eax]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
call eax
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x20]
sub esp, 8
test al, al
mov eax, dword [edi + 0x130]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x20]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
je 0x4138a6
call dword [eax + 4]
mov eax, dword [0x4afff4]
test al, 1
jne 0x41364b
push 0x30
or eax, 1
push 0
push 0x4d1b70
mov dword [0x4afff4], eax
call fcn.00479b40
add esp, 0xc
call fcn.00445f90
push 0x48cc80
call fcn.0046fb6c
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
shr eax, 0xf
and al, 1
jne 0x413812
push 0xa1
call esi
shr eax, 0xf
and al, 1
jne 0x413812
call fcn.004015e0
push 0xa2
call esi
shr eax, 0xf
and al, 1
jne 0x4137a6
push 0xa3
call esi
shr eax, 0xf
and al, 1
jne 0x4137a6
call fcn.00401620
mov eax, dword [eax + 0x1d4]
sub eax, 2
je 0x41378a
dec eax
jne 0x4138a2
lea eax, [ebp - 0x28]
push eax
call fcn.00401620
mov ecx, eax
call fcn.0040ff40
sub esp, 0x18
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00403200
mov byte [ebp - 4], 4
mov eax, dword [0x4f2a20]
test al, 1
jne 0x41374c
or eax, 1
mov dword [0x4f2a20], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0
movq qword [0x4f29c0], xmm0
mov dword [0x4f29c8], 0
push 0
mov dword [0x4f29c0], 0x496cf0
mov dword [0x4f29c4], 0
mov dword [0x4f29c8], 0
call fcn.004047e0
push 0x48d0e0
mov dword [0x4f29c4], eax
call fcn.0046fb6c
add esp, 4
mov byte [ebp - 4], 4
mov ecx, 0x4f29c0
mov byte [ebp - 4], 3
call fcn.00458560
mov esi, eax
lea ecx, [edi + 0x134]
push esi
call fcn.00458730
movss xmm3, dword [edi + 0x10]
movss xmm2, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push esi
call fcn.00424160
lea ecx, [ebp - 0x28]
call fcn.004032b0
mov al, 1
jmp 0x4138ab
call fcn.00401620
movd xmm0, dword [eax + 0x1d8]
mov al, 1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
jmp 0x4138ab
cmp byte [edi + 0x17c], 0
sete al
mov byte [edi + 0x17c], al
mov eax, dword [0x4f2a1c]
test al, 1
jne 0x4137f8
or eax, 1
mov dword [0x4f2a1c], eax
push 0x4c
push 0
push 0x4f29d0
mov dword [ebp - 4], 2
call fcn.00479b40
add esp, 0xc
call fcn.00413b90
push 0x48d1d0
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [edi + 0x17c]
mov ecx, 0x4f29d0
push eax
push edi
call fcn.00414e20
mov al, 1
jmp 0x4138ab
cvttss2si esi, dword [edi + 0x1c]
call fcn.00401620
sub esp, 0x18
mov dword [ebp - 0x30], esp
mov dword [eax + 0x1d8], esi
mov eax, esp
mov ecx, dword [edi + 0x13c]
push eax
call fcn.00410eb0
mov dword [ebp - 4], 1
call fcn.00401620
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00411b10
mov edi, dword [edi + 8]
call fcn.00401620
mov esi, eax
mov dword [esi + 0x20], edi
test edi, edi
je 0x413893
sub esp, 0x18
mov ecx, edi
push esp
call fcn.0040f5a0
lea ecx, [esi + 0x24]
call fcn.0046ba60
mov dword [esi + 0x30], 0x42800000
mov dword [esi + 0x2c], 0x42800000
mov dword [esi + 0x28], 0x43340000
mov dword [esi + 0x1d4], 1
call fcn.00401620
mov dword [eax + 0x1d4], 1
mov al, 1
jmp 0x4138ab
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f27e
mov esp, ebp
pop ebp
ret