Function at 0x10050c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c185
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x38
push esi
push edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [0x100c7560]
movss xmm1, dword [0x100c0ab4]
movss xmm3, dword [0x100c2230]
movaps xmm0, xmm1
mulss xmm1, dword [0x100b9b4c]
mov eax, dword [eax]
mulss xmm0, dword [0x100b9b00]
mov dword [ebp - 0x14], eax
mov eax, dword [0x100c6d88]
cvttss2si edi, xmm1
movss xmm2, dword [eax + 0xe0]
comiss xmm2, xmm3
movss xmm1, dword [eax + 0xe4]
cvttss2si esi, xmm0
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x20], xmm1
jb 0x10050ddf
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x10050ddf
movss xmm2, dword [0x100c2234]
comiss xmm1, xmm2
jb 0x10050ddf
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
comiss xmm0, xmm1
jb 0x10050ddf
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10050dc4
cmp byte [0x100c2180], 0
movss xmm3, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x20]
movaps xmm0, xmm3
subss xmm0, dword [0x100c8a9c]
movaps xmm1, xmm2
movss dword [0x100c8a9c], xmm3
subss xmm1, dword [0x100c8aa0]
movss dword [0x100c8aa0], xmm2
jne 0x10050dbb
addss xmm0, dword [0x100c2230]
addss xmm1, dword [0x100c2234]
movss dword [0x100c2230], xmm0
movss dword [0x100c2234], xmm1
jmp 0x10050ddf
mov byte [0x100c2180], 0
jmp 0x10050ddf
mov byte [0x100c2180], 1
mov dword [0x100c8a9c], 0
mov dword [0x100c8aa0], 0
call fcn.10010c20
movss xmm3, dword [0x100c2234]
movss xmm1, dword [0x100c2230]
movaps xmm2, xmm3
addss xmm2, dword [0x100b9ac8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx edx, al
mov eax, dword [ebp - 0x14]
shr eax, 0x18
shl eax, 8
add edx, eax
movd xmm0, edi
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
shl edx, 8
add edx, eax
movss dword [ebp - 0x20], xmm2
mov eax, dword [ebp - 0x14]
push 0xf
cvtdq2ps xmm0, xmm0
movzx eax, al
push ecx
shl edx, 8
add edx, eax
mov dword [esp], 0
push edx
addss xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
lea eax, [ebp - 0x24]
movss dword [ebp - 0x18], xmm3
push eax
lea eax, [ebp - 0x1c]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.10035960
call fcn.10010c20
movss xmm1, dword [0x100c0ab4]
mulss xmm1, dword [0x100b9ac8]
push 0xf
movss xmm2, dword [0x100c2230]
movd xmm3, esi
addss xmm1, dword [0x100c2234]
cvtdq2ps xmm3, xmm3
push ecx
lea ecx, [ebp - 0x24]
mov dword [esp], 0
push 0x7d161616
push ecx
movd xmm5, edi
lea ecx, [ebp - 0x1c]
addss xmm3, dword [0x100c2234]
cvtdq2ps xmm5, xmm5
push ecx
mov ecx, dword [eax + 0xc]
addss xmm3, dword [0x100b9ac8]
addss xmm5, xmm2
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x24], xmm5
call fcn.10035960
call fcn.10010c20
movss xmm0, dword [0x100c2234]
mov esi, eax
movss xmm2, dword [0x100c0ab4]
mov eax, edi
mulss xmm2, dword [0x100b9af4]
cdq
cvtps2pd xmm0, xmm0
sub eax, edx
sar eax, 1
movd xmm1, eax
addsd xmm0, qword [0x100b9aa8]
cvtdq2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
addss xmm1, dword [0x100c2230]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x24], xmm1
mov eax, dword [str.keybinds]
mov ecx, dword [0x100b94a8]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [0x100c6d98]
push ecx
push 1
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.10051ed0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x10050fa1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10050f97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050fb4
push edx
push ecx
call fcn.10055494
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10059ddf
int3