Function at 0x1007b5f1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x101e094c]
mov esi, ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
mov ebx, eax
test ebx, ebx
je 0x1007b5cd
mov ecx, dword fs:[0x2c]
mov edx, dword [0x101e14f0]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x101e274c]
cmp ecx, dword [edx + 4]
jle 0x1007b5a1
push 0x101e274c
call fcn.100b5535
add esp, 4
cmp dword [0x101e274c], 0xffffffff
jne 0x1007b5a1
mov eax, dword [0x101e2758]
push 0x101e274c
mov dword [0x101e2750], eax
call fcn.100b54eb
add esp, 4
mov eax, dword [0x101e2750]
cmp word [eax + edi], 0x1f
je case.default.0x1007b5dc
mov eax, dword [ebx + 0xc8]
test eax, eax
je case.default.0x1007b5dc
cmp eax, 7
jl 0x1007b5cd
cmp eax, 0x10
jle case.default.0x1007b5dc
mov eax, dword [0x101dfed4]
inc eax
cmp eax, 3
ja case.default.0x1007b5dc
jmp dword [eax*4 + 0x1007b7d4]
push dword [0x101dfed0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x1007b5fd
push dword [0x101dfed0]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
test al, al
je case.default.0x1007b5dc
mov ecx, dword [esi]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1007b63a
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1007b63a
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1007b64e
mov eax, dword [esi + 4]
movq xmm0, qword [eax]
movq qword [ecx + 4], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi]
mov byte [ecx + 0x10], 1
mov ecx, dword [0x101e253c]
cmp dword [ecx], 3
jl 0x1007b6ad
call fcn.1007aa00
test al, al
jne 0x1007b686
mov eax, dword [0x101e2528]
cmp byte [eax + 0x64766], 0
jne 0x1007b686
mov cl, byte [0x101dd798]
test cl, cl
je 0x1007b6ad
mov eax, dword [esi + 8]
cmp byte [eax], 0
jne 0x1007b692
mov eax, dword [esi]
mov byte [eax + 0x11], 1
mov cl, byte [0x101dd798]
test cl, cl
je 0x1007b6ad
mov eax, dword [esi + 8]
cmp byte [eax], 0
je 0x1007b6ad
cmp byte [0x101e2bc0], 0
jne 0x1007b6ad
mov eax, dword [esi]
mov byte [eax + 0x11], 0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x11], 0
movss xmm0, dword [ecx + 4]
movss xmm1, dword [ecx + 8]
subss xmm1, dword [eax + 4]
subss xmm0, dword [eax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0xc], xmm1
je 0x1007b7b7
mov eax, dword [0x101e2534]
cmp byte [eax + 0x1d], 0
je 0x1007b6f7
call fcn.1007b280
movss xmm1, dword [esp + 0xc]
comiss xmm1, dword [0x1016d700]
jbe 0x1007b7a0
mov eax, dword [esi]
movq xmm0, qword [eax + 4]
mov eax, dword [esi + 4]
movq qword [esp + 0x1c], xmm0
movq xmm0, qword [eax]
movq qword [esp + 0x10], xmm0
movss xmm1, dword [esp + 0x10]
subss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0xc], xmm1
divss xmm0, xmm1
call fcn.101321ce
movss xmm1, dword [esp + 0xc]
xorps xmm2, xmm2
comiss xmm1, xmm2
mulss xmm0, dword [0x1016d6bc]
jb 0x1007b763
addss xmm0, dword [0x1016d73c]
mov ecx, dword [0x101e1de0]
movss dword [0x101e07d4], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
mov eax, dword [0x101e07bc]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x101e07bc]
mov dword [eax + 0x28], 0
jmp 0x1007b7ab
call fcn.1007b280
mov eax, dword [esi]
mov byte [eax + 0x11], 0
mov eax, dword [0x101e2528]
mov byte [eax + 0x64766], 0
mov eax, dword [esi + 8]
mov al, byte [eax]
mov byte [0x101e2bc0], al
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret