Function at 0x1001e170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x24], ecx
mov byte [0x1026bc11], 0
cmp dword [0x10235bc0], 0xffffffff
je 0x1001e19c
mov eax, dword [0x10235bc0]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jne 0x1001e1ba
movzx edx, byte [0x10235bc8]
test edx, edx
je 0x1001e3a9
movzx eax, byte [0x1026bc16]
test eax, eax
je 0x1001e3a9
mov ecx, dword [0x1026b910]
call fcn.10008360
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [0x1026b918]
call fcn.10008260
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001e1ec
mov ecx, dword [ebp - 4]
call fcn.100082b0
test eax, eax
jg 0x1001e1f1
jmp 0x1001e3a9
mov ecx, dword [0x1026b910]
call fcn.100083c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001e20a
jmp 0x1001e3a9
mov ecx, dword [ebp - 4]
call fcn.1000d290
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1001e220
jmp 0x1001e3a9
mov edx, dword [ebp - 8]
cmp dword [edx + 0x2c], 0
jne 0x1001e255
mov ecx, 0x10223aec
call fcn.1001e3b0
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
comisd xmm0, xmmword [0x100b1510]
jbe 0x1001e24e
mov byte [0x1026bc13], 1
jmp 0x1001e255
mov byte [0x1026bc13], 0
mov byte [0x1026bc11], 1
mov eax, dword [ebp + 8]
movss xmm0, dword [eax + 0x28]
mulss xmm0, dword [0x10235bc4]
mov ecx, dword [ebp + 8]
movss dword [ecx + 0x28], xmm0
mov edx, dword [ebp + 8]
movss xmm0, dword [edx + 0x24]
mulss xmm0, dword [0x10235bc4]
mov eax, dword [ebp + 8]
movss dword [eax + 0x24], xmm0
movzx ecx, byte [0x1026bc13]
test ecx, ecx
je 0x1001e393
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001e2e9
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x100aecd8]
comiss xmm0, dword [ecx + 0xec]
jbe 0x1001e2cd
movss xmm0, dword [0x100b1518]
movss dword [ebp - 0x14], xmm0
jmp 0x1001e2da
movss xmm0, dword [0x100b1518]
movss dword [ebp - 0x14], xmm0
cvtsi2ss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [ebp - 0x14]
jbe 0x1001e391
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ebp + 8]
movss xmm0, dword [0x100ae84c]
movss dword [eax + 0x24], xmm0
cmp dword [ebp - 0xc], 0
je 0x1001e31e
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x100ae824]
comiss xmm0, dword [ecx + 0xec]
jbe 0x1001e329
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 0x24], xmm0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 4]
call fcn.10008500
mov dword [ebp - 0x1c], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x44]
call fcn.100064c0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.10008140
add esp, 0xc
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x100ae840]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1007bd90
add esp, 8
jmp 0x1001e3a9
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [eax + 0x24], xmm0
mov esp, ebp
pop ebp
ret 4