Function at 0x10005850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x1004b00c]
xor eax, esp
mov dword [esp + 0xa4], eax
mov ecx, dword [0x100d1558]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ecx]
movss dword [esp + 0xc], xmm2
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100d1564]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x100d1564]
mov esi, eax
mov edx, dword [ecx]
push dword [esi + 0xb38]
mov edx, dword [edx + 0x10]
call edx
test eax, eax
je 0x100058b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
push 0xa4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10005c7f
movss xmm4, dword [0x102e2a90]
movss xmm0, dword [0x100469bc]
comiss xmm4, xmm0
movss xmm3, dword [0x102e2a94]
jbe 0x10005a96
movss xmm1, dword [0x1004668c]
comiss xmm1, xmm4
jbe 0x10005a96
comiss xmm3, xmm0
jbe 0x10005a96
comiss xmm1, xmm3
jbe 0x10005a96
movss xmm2, dword [0x102e2a98]
comiss xmm2, xmm0
jbe 0x10005a96
comiss xmm1, xmm2
jbe 0x10005a96
movss xmm0, dword [esi + 0x29c]
mov ecx, esi
movss xmm1, dword [esi + 0x2a0]
movss xmm2, dword [esi + 0x2a4]
movss dword [0x102e2a90], xmm0
movss dword [0x102e2a94], xmm1
movss dword [0x102e2a98], xmm2
call fcn.10002d80
test byte [eax], 1
jne 0x10005ca4
movss xmm4, dword [0x102e2a98]
xorps xmm3, xmm3
movaps xmm2, xmm4
mov dword [esp + 0xc], vtable.Valve::CTraceFilterWorldOnly.0
subss xmm2, dword [0x10046960]
xorps xmm1, xmm1
movss dword [esp + 0x28], xmm3
xorps xmm0, xmm0
mulss xmm1, xmm3
mov byte [esp + 0x4d], 1
mulss xmm0, xmm3
subss xmm2, xmm4
movss dword [esp + 0x2c], xmm3
addss xmm1, xmm0
movss dword [esp + 0x30], xmm2
mulss xmm2, xmm2
addss xmm1, xmm2
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x100059c3
mov byte [esp + 0x4d], 0
mov ecx, dword [0x100d155c]
lea edx, [esp + 0x50]
movss xmm0, dword [0x102e2a90]
push edx
lea edx, [esp + 0x10]
movss dword [esp + 0x20], xmm0
mov eax, dword [ecx]
movss xmm0, dword [0x102e2a94]
push edx
push 0x200400b
lea edx, [esp + 0x28]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x58], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm4
mov eax, dword [eax + 0x10]
push edx
call eax
movss xmm0, dword [0x10046778]
comiss xmm0, dword [esp + 0x7c]
jbe 0x10005ca4
movss xmm2, dword [esp + 0x64]
addss xmm2, dword [0x100467e0]
movss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x60]
movss dword [0x102e2a90], xmm0
movss dword [0x102e2a94], xmm1
movss dword [0x102e2a98], xmm2
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4
test byte [edi + 0x24], 1
je 0x10005aa5
mov byte [0x102e2a8c], 1
jmp 0x10005ab2
cmp byte [0x102e2a8c], 0
je 0x10005ca4
movss xmm0, dword [esi + 0x2a0]
movss xmm2, dword [esi + 0x29c]
subss xmm0, xmm3
subss xmm2, xmm4
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm2
addss xmm1, xmm0
comiss xmm1, dword [0x1004687c]
movss dword [esp + 0x18], xmm1
jbe 0x10005c7f
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x10046680]
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x100467e8]
movaps xmm0, xmm1
call fcn.10038fb0
movss xmm3, dword [esp + 0x10]
movaps xmm5, xmm0
movss xmm2, dword [esp + 0x14]
movaps xmm4, xmm5
cvtps2pd xmm2, xmm2
cvtps2pd xmm3, xmm3
movaps xmm0, xmm2
shufpd xmm4, xmm5, 1
movaps xmm1, xmm3
mulsd xmm0, xmm5
mulsd xmm1, xmm4
mulsd xmm2, xmm4
mulsd xmm3, xmm5
addsd xmm1, xmm0
movss xmm0, dword [0x10046968]
subsd xmm2, xmm3
movss xmm3, dword [esp + 0x18]
comiss xmm0, xmm3
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm2, xmm2
jbe 0x10005ba2
mulss xmm2, dword [0x10046874]
mulss xmm1, dword [0x100469e0]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x18], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4
movss xmm0, dword [0x10046974]
comiss xmm0, xmm3
jbe 0x10005bdf
mulss xmm2, dword [0x1004685c]
mulss xmm1, dword [0x100469dc]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x18], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4
movss xmm0, dword [0x10046978]
comiss xmm0, xmm3
jbe 0x10005c1c
mulss xmm2, dword [0x1004684c]
mulss xmm1, dword [0x100469d8]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x18], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4
movss xmm0, dword [0x1004697c]
comiss xmm0, xmm3
jbe 0x10005c58
mulss xmm1, dword [0x100469cc]
movaps xmm0, xmm2
addss xmm2, xmm0
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x18], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4
xorps xmm1, xmmword [0x10046a60]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x18], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4
mov dword [0x102e2a90], 0
mov dword [0x102e2a94], 0
mov dword [0x102e2a98], 0
mov byte [0x102e2a8c], 0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 4