Function at 0x10024fc0
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 0x10054aa9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x10064040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x100257bc
call fcn.10002970
test al, al
je 0x100257bc
mov eax, dword [0x100662f8]
cmp dword [eax + 0x78], 0
je 0x100257bc
mov byte [eax + 0x16a], 0
mov eax, dword [0x10066318]
cmp byte [eax + 0x22e], 0
je 0x100257bc
movzx eax, word [eax + 0x24c]
test ax, ax
je 0x10025083
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10025083
cmp dword [0x10064e84], 0
jne 0x100251e0
push 0x10058864
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10064e84], eax
xor al, al
test al, al
je 0x100257bc
xor esi, esi
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x84]
mov edi, dword [eax + 0x80]
mov dword [ebp - 0x28], ecx
cmp edi, ecx
je 0x10025217
mov eax, ecx
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x10025209
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x10025206
mov ecx, dword [edi]
call fcn.10002970
test al, al
je 0x10025206
mov ecx, dword [edi]
call fcn.10041bb0
test al, al
je 0x10025206
mov ecx, dword [edi]
call fcn.10003a30
mov eax, dword [eax]
shr eax, 5
test al, 1
jne 0x10025206
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x10025206
mov ecx, dword [edi]
call fcn.1000dda0
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x10025206
mov ecx, dword [edi]
lea eax, [ebp - 0xa0]
push eax
call fcn.10003760
mov ecx, dword [0x100662f8]
mov esi, eax
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ecx + 0x74]
call fcn.10003760
push esi
mov edx, eax
lea ecx, [ebp - 0x94]
call fcn.100033c0
mov ecx, dword [0x100662f8]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x58]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0x4c]
call edx
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.10013d30
comiss xmm0, dword [0x1005c538]
jae 0x10025206
mov ecx, dword [ebp - 0x20]
mov edx, dword [edi]
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], edx
cmp ecx, dword [ebp - 0x1c]
je 0x100251f9
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [ebp - 0x20], 8
jmp 0x10025206
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10064e84]
jne 0x10025083
mov al, 1
jmp 0x10025085
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.10026260
mov eax, dword [ebp - 0x28]
add edi, 4
cmp edi, eax
jne 0x100250d0
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x3c]
mov eax, edx
sub eax, esi
sar eax, 3
push eax
call fcn.100263c0
mov ecx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x24]
mov eax, ecx
mov esi, dword [0x10066318]
sub eax, edx
sar eax, 3
cmp eax, dword [esi + 0x6c]
jbe 0x10025259
add ecx, 0xfffffff8
mov eax, ecx
mov dword [ebp - 0x20], ecx
sub eax, edx
sar eax, 3
cmp eax, dword [esi + 0x6c]
ja 0x10025247
mov eax, dword [0x100662f8]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2e], 0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [ebp - 0x44]
lea eax, [ebp - 0x64]
subss xmm0, dword [0x1005c3c4]
movss xmm2, dword [0x1005c414]
movss xmm1, dword [ebp - 0x40]
subss xmm1, dword [0x1005c538]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x6c]
mulss xmm0, xmm2
mov dword [ebp - 0x18], eax
movss dword [ebp - 0x2c], xmm0
fld dword [ebp - 0x2c]
fsincos
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
fstp dword [edx]
fstp dword [eax]
lea eax, [ebp - 0x60]
mulss xmm1, xmm2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x18], xmm1
fld dword [ebp - 0x18]
fsincos
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
fstp dword [edx]
fstp dword [eax]
mov eax, dword [0x100662f8]
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
addss xmm0, dword [0x1005c3c4]
movss xmm2, dword [0x1005c414]
movss xmm1, dword [ebp - 0x54]
addss xmm1, dword [0x1005c538]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mulss xmm0, xmm2
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
fsincos
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
fstp dword [edx]
fstp dword [eax]
lea eax, [ebp - 0x70]
mulss xmm1, xmm2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x18], xmm1
fld dword [ebp - 0x18]
fsincos
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
fstp dword [edx]
fstp dword [eax]
mov eax, dword [0x100662f8]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003760
mov ecx, dword [0x10066318]
movss xmm3, dword [ebp - 0x60]
mulss xmm3, dword [ebp - 0x64]
movd xmm1, dword [ecx + 0x234]
movss xmm2, dword [ebp - 0x68]
mulss xmm2, dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x6c]
xorps xmm0, xmmword [0x1005c670]
cvtdq2ps xmm1, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
addss xmm3, dword [eax]
mulss xmm0, xmm1
addss xmm2, dword [eax + 4]
addss xmm0, dword [eax + 8]
movss dword [ebp - 0x7c], xmm3
mov eax, dword [0x100662f8]
lea ecx, [ebp - 0x94]
push ecx
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x74], xmm0
mov ecx, dword [eax + 0x74]
call fcn.10003760
mov ecx, dword [0x10066318]
movss xmm3, dword [ebp - 0x70]
mulss xmm3, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x24]
movd xmm1, dword [ecx + 0x234]
movss xmm2, dword [ebp - 0x34]
mulss xmm2, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x3c]
xorps xmm0, xmmword [0x1005c670]
cvtdq2ps xmm1, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
addss xmm3, dword [eax]
mulss xmm0, xmm1
addss xmm2, dword [eax + 4]
addss xmm0, dword [eax + 8]
xor al, al
movss dword [ebp - 0x88], xmm3
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x80], xmm0
mov dword [ebp - 0x5c], eax
cmp edx, eax
je 0x10025786
mov ecx, dword [0x10064d58]
lea edi, [edx + 4]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x2c], edi
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [edi]
lea eax, [ebp - 0x94]
push eax
call fcn.10003760
movq xmm0, qword [ebp - 0x7c]
mov ecx, dword [0x100662f8]
mov edx, dword [ebp - 0x74]
push 0x4600400b
sub esp, 0xc
mov esi, esp
sub esp, 0xc
movq qword [esi], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 8], edx
mov esi, esp
mov edx, dword [ecx + 0x74]
mov ecx, dword [edi]
movq qword [esi], xmm0
mov dword [esi + 8], eax
call fcn.10004760
add esp, 0x1c
test al, al
je 0x100254ec
mov byte [ebp - 0x2d], 0
jmp 0x10025544
mov ecx, dword [edi]
lea eax, [ebp - 0xac]
push eax
call fcn.10003760
movq xmm0, qword [ebp - 0x88]
mov ecx, dword [0x100662f8]
mov edx, dword [ebp - 0x80]
push 0x4600400b
sub esp, 0xc
mov esi, esp
sub esp, 0xc
movq qword [esi], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 8], edx
mov esi, esp
mov edx, dword [ecx + 0x74]
mov ecx, dword [edi]
movq qword [esi], xmm0
mov dword [esi + 8], eax
call fcn.10004760
add esp, 0x1c
test al, al
je 0x10025548
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2e], 1
mov eax, dword [0x100662f8]
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003760
mov edx, dword [0x100662f8]
mov esi, eax
mov ecx, dword [0x10064df0]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
cmp ecx, dword [eax + 4]
jle 0x100255c0
push 0x10064df0
call fcn.100513b1
add esp, 4
cmp dword [0x10064df0], 0xffffffff
jne 0x100255ba
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.1004bfd0
push 0x10064df0
mov dword [0x10064e04], eax
mov byte [ebp - 4], 0
call fcn.10051360
add esp, 4
mov edx, dword [0x100662f8]
mov eax, dword [0x10066318]
mov ecx, dword [0x10064e04]
cmp byte [eax + 0x230], 0
je 0x100255e4
cmp dword [edx + 0x174], 0
mov dword [ebp - 0x28], 0xa
jne 0x100255eb
mov dword [ebp - 0x28], 0
movd xmm0, dword [ebp - 0x28]
mov eax, dword [edx + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
mov eax, dword [ebp - 0x34]
movaps xmm1, xmm0
mulss xmm1, dword [eax + ecx]
addss xmm1, dword [esi]
movups xmmword [ebp - 0xc0], xmm1
movaps xmm1, xmm0
mulss xmm0, dword [eax + ecx + 8]
mulss xmm1, dword [eax + ecx + 4]
lea eax, [ebp - 0xcc]
mov ecx, dword [edi]
addss xmm0, dword [esi + 8]
push eax
addss xmm1, dword [esi + 4]
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x34], xmm1
call fcn.10003760
movups xmm1, xmmword [ebp - 0xc0]
mov edi, eax
mov eax, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x34]
mov ecx, dword [0x100662f8]
push 0x4600400b
sub esp, 0xc
unpcklps xmm1, xmm0
movq xmm0, qword [edi]
mov esi, esp
mov edx, dword [ecx + 0x74]
sub esp, 0xc
movq qword [esi], xmm1
mov dword [esi + 8], eax
mov esi, esp
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x2c]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov ecx, dword [edi]
call fcn.10004760
add esp, 0x1c
test al, al
je 0x100256b4
mov eax, dword [0x10066318]
mov ecx, dword [0x100662f8]
cmp byte [eax + 0x230], 0
jne 0x100256d1
mov byte [ebp - 0x2f], 1
xor al, al
mov byte [ecx + 0x16a], al
cmp byte [ebp - 0x2e], 0
jne 0x100256de
add edi, 8
mov dword [ebp - 0x2c], edi
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x5c]
jne 0x10025495
jmp 0x10025783
cmp dword [ecx + 0x174], 0
jle 0x100256ac
mov al, 1
jmp 0x100256ae
cmp byte [ebp - 0x2f], 0
jne 0x1002572c
mov ecx, dword [0x100662f8]
mov ecx, dword [ecx + 0x78]
call fcn.10042740
mov edx, dword [ebp - 0x38]
test al, al
je 0x1002572f
mov eax, dword [0x100662f8]
cmp dword [eax + 0x178], 0
jg 0x1002572f
test byte [edx + 0x24], 1
jne 0x1002572f
cmp byte [ebp - 0x2d], 0
mov eax, 0x208
mov esi, 0xfffffdf8
cmovne eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x1c], xmm0
jmp 0x10025783
mov edx, dword [ebp - 0x38]
mov eax, dword [0x10066318]
cmp byte [eax + 0x22f], 0
je 0x10025783
cmp byte [ebp - 0x2d], 0
mov eax, 0xfffffdf8
mov esi, 0x208
cmovne eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x1c], xmm0
mov eax, dword [0x10066318]
mov ecx, dword [0x100662f8]
cmp byte [eax + 0x230], 0
je 0x1002577b
cmp dword [ecx + 0x174], 0
jle 0x1002577b
mov al, 1
jmp 0x1002577d
xor al, al
mov byte [ecx + 0x16a], al
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x100257bc
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100257b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100257b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10051764
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10051327
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4