Function at 0x1002e2e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062809
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x10074040]
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 - 0x40], eax
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002ebb1
call fcn.100028c0
test al, al
je 0x1002ebb1
mov eax, dword [0x10142a3c]
cmp dword [eax + 0x78], 0
je 0x1002ebb1
mov byte [eax + 0x156], 0
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x1f1], 0
je 0x1002ebb1
movzx eax, word [eax + 0x208]
test ax, ax
je 0x1002e3a3
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002e3a3
cmp dword [0x10141540], 0
jne 0x1002e5c3
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
xor al, al
test al, al
je 0x1002ebb1
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 [0x10142a3c]
mov ecx, dword [eax + 0x84]
mov edi, dword [eax + 0x80]
mov dword [ebp - 0x28], ecx
cmp edi, ecx
je 0x1002e5fa
mov eax, ecx
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1002e5ec
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1002e5e9
mov ecx, dword [edi]
call fcn.100028c0
test al, al
je 0x1002e5e9
mov ecx, dword [edi]
call fcn.1004afa0
test al, al
je 0x1002e5e9
mov ecx, dword [edi]
call fcn.10003940
mov eax, dword [eax]
shr eax, 5
test al, 1
jne 0x1002e5e9
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1002e5e9
mov ecx, dword [edi]
call fcn.1000e270
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1002e5e9
mov ecx, dword [edi]
lea eax, [ebp - 0xac]
push eax
call fcn.10003670
mov ecx, dword [0x10142a3c]
mov esi, eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ecx + 0x74]
call fcn.10003670
mov dword [ebp - 0x3c], 0
sub esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss xmm3, dword [eax]
subss xmm3, dword [esi]
movss xmm2, dword [eax + 8]
subss xmm2, dword [esi + 8]
movaps xmm1, xmm0
movss dword [ebp - 0x18], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x2c], xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100032c0
cvtps2pd xmm0, xmm2
fstp qword [ebp - 0x58]
divsd xmm0, qword [ebp - 0x58]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1006c0f8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [ebp - 0x2c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1006c0f8]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, dword [0x1006bff8]
movss dword [ebp - 0x38], xmm1
jb 0x1002e567
addss xmm1, dword [0x1006c1a0]
movss dword [ebp - 0x38], xmm1
mov eax, dword [0x10142a3c]
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x68]
call fcn.10018570
comiss xmm0, dword [0x1006c184]
jae 0x1002e5e9
mov ecx, dword [ebp - 0x20]
mov edx, dword [edi]
movss dword [ebp - 0x48], xmm0
mov dword [ebp - 0x44], edx
cmp ecx, dword [ebp - 0x1c]
je 0x1002e5dc
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [ebp - 0x20], 8
jmp 0x1002e5e9
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
jne 0x1002e3a3
mov al, 1
jmp 0x1002e3a5
lea eax, [ebp - 0x48]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.1002f2f0
mov eax, dword [ebp - 0x28]
add edi, 4
cmp edi, eax
jne 0x1002e3f0
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x44]
mov eax, edx
sub eax, esi
sar eax, 3
push eax
call fcn.1002f450
mov ecx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x24]
mov eax, ecx
mov esi, dword [0x10142a5c]
sub eax, edx
sar eax, 3
cmp eax, dword [esi + 0x38]
jbe 0x1002e642
nop word [eax + eax]
add ecx, 0xfffffff8
mov eax, ecx
mov dword [ebp - 0x20], ecx
sub eax, edx
sar eax, 3
cmp eax, dword [esi + 0x38]
ja 0x1002e630
mov eax, dword [0x10142a3c]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2e], 0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [ebp - 0x3c]
lea eax, [ebp - 0x70]
subss xmm0, dword [0x1006bff8]
movss xmm2, dword [0x1006c044]
movss xmm1, dword [ebp - 0x38]
subss xmm1, dword [0x1006c184]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x78]
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 - 0x6c]
mulss xmm1, xmm2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x74]
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 [0x10142a3c]
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [ebp - 0x3c]
lea eax, [ebp - 0x4c]
addss xmm0, dword [0x1006bff8]
movss xmm2, dword [0x1006c044]
movss xmm1, dword [ebp - 0x38]
addss xmm1, dword [0x1006c184]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
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 - 0x7c]
mulss xmm1, xmm2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x54]
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 [0x10142a3c]
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003670
mov ecx, dword [0x10142a5c]
movss xmm3, dword [ebp - 0x6c]
mulss xmm3, dword [ebp - 0x70]
movd xmm1, dword [ecx + 0x1f4]
movss xmm2, dword [ebp - 0x74]
mulss xmm2, dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x78]
xorps xmm0, xmmword [0x1006c2d0]
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 - 0x88], xmm3
mov eax, dword [0x10142a3c]
lea ecx, [ebp - 0xa0]
push ecx
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x80], xmm0
mov ecx, dword [eax + 0x74]
call fcn.10003670
mov ecx, dword [0x10142a5c]
movss xmm3, dword [ebp - 0x7c]
mulss xmm3, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
movd xmm1, dword [ecx + 0x1f4]
movss xmm2, dword [ebp - 0x54]
mulss xmm2, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x44]
xorps xmm0, xmmword [0x1006c2d0]
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 - 0x94], xmm3
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x90], xmm2
movss dword [ebp - 0x8c], xmm0
mov dword [ebp - 0x4c], eax
cmp edx, eax
je 0x1002eb7b
mov ecx, dword [0x101413f8]
lea edi, [edx + 4]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x28], edi
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x44], eax
mov ecx, dword [edi]
lea eax, [ebp - 0xa0]
push eax
call fcn.10003670
movq xmm0, qword [ebp - 0x88]
mov ecx, dword [0x10142a3c]
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.10004660
add esp, 0x1c
test al, al
je 0x1002e8e1
mov byte [ebp - 0x2d], 0
jmp 0x1002e93c
mov ecx, dword [edi]
lea eax, [ebp - 0xac]
push eax
call fcn.10003670
movq xmm0, qword [ebp - 0x94]
mov ecx, dword [0x10142a3c]
mov edx, dword [ebp - 0x8c]
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.10004660
add esp, 0x1c
test al, al
je 0x1002e940
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2e], 1
mov eax, dword [0x10142a3c]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003670
mov edx, dword [0x10142a3c]
mov esi, eax
mov ecx, dword [0x10141490]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
cmp ecx, dword [eax + 4]
jle 0x1002e9b5
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1002e9af
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov edx, dword [0x10142a3c]
mov eax, dword [0x10142a5c]
mov ecx, dword [0x101414a4]
cmp byte [eax + 0x1f3], 0
je 0x1002e9d9
cmp dword [edx + 0x160], 0
mov dword [ebp - 0x2c], 0xa
jne 0x1002e9e0
mov dword [ebp - 0x2c], 0
movd xmm0, dword [ebp - 0x2c]
mov eax, dword [edx + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
mov eax, dword [ebp - 0x54]
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 - 0x60], xmm0
movss dword [ebp - 0x54], xmm1
call fcn.10003670
movups xmm1, xmmword [ebp - 0xc0]
mov edi, eax
mov eax, dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x54]
mov ecx, dword [0x10142a3c]
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 - 0x28]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov ecx, dword [edi]
call fcn.10004660
add esp, 0x1c
test al, al
je 0x1002eaa9
mov eax, dword [0x10142a5c]
mov ecx, dword [0x10142a3c]
cmp byte [eax + 0x1f3], 0
jne 0x1002eac6
mov byte [ebp - 0x2f], 1
xor al, al
mov byte [ecx + 0x156], al
cmp byte [ebp - 0x2e], 0
jne 0x1002ead3
add edi, 8
mov dword [ebp - 0x28], edi
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x4c]
jne 0x1002e887
jmp 0x1002eb78
cmp dword [ecx + 0x160], 0
jle 0x1002eaa1
mov al, 1
jmp 0x1002eaa3
cmp byte [ebp - 0x2f], 0
jne 0x1002eb21
mov ecx, dword [0x10142a3c]
mov ecx, dword [ecx + 0x78]
call fcn.1004d610
mov edx, dword [ebp - 0x40]
test al, al
je 0x1002eb24
mov eax, dword [0x10142a3c]
cmp dword [eax + 0x164], 0
jg 0x1002eb24
test byte [edx + 0x24], 1
jne 0x1002eb24
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 0x1002eb78
mov edx, dword [ebp - 0x40]
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x1f2], 0
je 0x1002eb78
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 [0x10142a5c]
mov ecx, dword [0x10142a3c]
cmp byte [eax + 0x1f3], 0
je 0x1002eb70
cmp dword [ecx + 0x160], 0
jle 0x1002eb70
mov al, 1
jmp 0x1002eb72
xor al, al
mov byte [ecx + 0x156], al
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1002ebb1
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1002eba7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002eba7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005ea54
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.1005e617
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4