Function at 0x1002e040
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 0x10062f89
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x10076040]
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 [0x10144a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002e83c
call fcn.10002910
test al, al
je 0x1002e83c
mov eax, dword [0x10144a3c]
cmp dword [eax + 0x78], 0
je 0x1002e83c
mov byte [eax + 0x156], 0
mov eax, dword [0x10144a5c]
cmp byte [eax + 0x215], 0
je 0x1002e83c
movzx eax, word [eax + 0x22c]
test ax, ax
je 0x1002e103
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002e103
cmp dword [0x10143540], 0
jne 0x1002e260
push 0x10067868
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10143540], eax
xor al, al
test al, al
je 0x1002e83c
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 [0x10144a3c]
mov ecx, dword [eax + 0x84]
mov edi, dword [eax + 0x80]
mov dword [ebp - 0x28], ecx
cmp edi, ecx
je 0x1002e297
mov eax, ecx
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1002e289
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1002e286
mov ecx, dword [edi]
call fcn.10002910
test al, al
je 0x1002e286
mov ecx, dword [edi]
call fcn.1004a310
test al, al
je 0x1002e286
mov ecx, dword [edi]
call fcn.10003a70
mov eax, dword [eax]
shr eax, 5
test al, 1
jne 0x1002e286
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1002e286
mov ecx, dword [edi]
call fcn.1000e4a0
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1002e286
mov ecx, dword [edi]
lea eax, [ebp - 0xa0]
push eax
call fcn.100037a0
mov ecx, dword [0x10144a3c]
mov esi, eax
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ecx + 0x74]
call fcn.100037a0
push esi
mov edx, eax
lea ecx, [ebp - 0x94]
call fcn.10003360
mov ecx, dword [0x10144a3c]
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.10018640
comiss xmm0, dword [0x1006d74c]
jae 0x1002e286
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 0x1002e279
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [ebp - 0x20], 8
jmp 0x1002e286
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10143540]
jne 0x1002e103
mov al, 1
jmp 0x1002e105
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.1002eef0
mov eax, dword [ebp - 0x28]
add edi, 4
cmp edi, eax
jne 0x1002e150
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.1002f050
mov ecx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x24]
mov eax, ecx
mov esi, dword [0x10144a5c]
sub eax, edx
sar eax, 3
cmp eax, dword [esi + 0x5c]
jbe 0x1002e2d9
add ecx, 0xfffffff8
mov eax, ecx
mov dword [ebp - 0x20], ecx
sub eax, edx
sar eax, 3
cmp eax, dword [esi + 0x5c]
ja 0x1002e2c7
mov eax, dword [0x10144a3c]
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 [0x1006d5cc]
movss xmm2, dword [0x1006d614]
movss xmm1, dword [ebp - 0x40]
subss xmm1, dword [0x1006d74c]
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 [0x10144a3c]
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 [0x1006d5cc]
movss xmm2, dword [0x1006d614]
movss xmm1, dword [ebp - 0x54]
addss xmm1, dword [0x1006d74c]
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 [0x10144a3c]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.100037a0
mov ecx, dword [0x10144a5c]
movss xmm3, dword [ebp - 0x60]
mulss xmm3, dword [ebp - 0x64]
movd xmm1, dword [ecx + 0x218]
movss xmm2, dword [ebp - 0x68]
mulss xmm2, dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x6c]
xorps xmm0, xmmword [0x1006d890]
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 [0x10144a3c]
lea ecx, [ebp - 0x94]
push ecx
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x74], xmm0
mov ecx, dword [eax + 0x74]
call fcn.100037a0
mov ecx, dword [0x10144a5c]
movss xmm3, dword [ebp - 0x70]
mulss xmm3, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x24]
movd xmm1, dword [ecx + 0x218]
movss xmm2, dword [ebp - 0x34]
mulss xmm2, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x3c]
xorps xmm0, xmmword [0x1006d890]
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 0x1002e806
mov ecx, dword [0x101433f8]
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.100037a0
movq xmm0, qword [ebp - 0x7c]
mov ecx, dword [0x10144a3c]
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.100047a0
add esp, 0x1c
test al, al
je 0x1002e56c
mov byte [ebp - 0x2d], 0
jmp 0x1002e5c4
mov ecx, dword [edi]
lea eax, [ebp - 0xac]
push eax
call fcn.100037a0
movq xmm0, qword [ebp - 0x88]
mov ecx, dword [0x10144a3c]
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.100047a0
add esp, 0x1c
test al, al
je 0x1002e5c8
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2e], 1
mov eax, dword [0x10144a3c]
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.100037a0
mov edx, dword [0x10144a3c]
mov esi, eax
mov ecx, dword [0x10143490]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
cmp ecx, dword [eax + 4]
jle 0x1002e640
push 0x10143490
call fcn.1005eea1
add esp, 4
cmp dword [0x10143490], 0xffffffff
jne 0x1002e63a
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.10059a30
push 0x10143490
mov dword [0x101434a4], eax
mov byte [ebp - 4], 0
call fcn.1005ee50
add esp, 4
mov edx, dword [0x10144a3c]
mov eax, dword [0x10144a5c]
mov ecx, dword [0x101434a4]
cmp byte [eax + 0x217], 0
je 0x1002e664
cmp dword [edx + 0x160], 0
mov dword [ebp - 0x28], 0xa
jne 0x1002e66b
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.100037a0
movups xmm1, xmmword [ebp - 0xc0]
mov edi, eax
mov eax, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x34]
mov ecx, dword [0x10144a3c]
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.100047a0
add esp, 0x1c
test al, al
je 0x1002e734
mov eax, dword [0x10144a5c]
mov ecx, dword [0x10144a3c]
cmp byte [eax + 0x217], 0
jne 0x1002e751
mov byte [ebp - 0x2f], 1
xor al, al
mov byte [ecx + 0x156], al
cmp byte [ebp - 0x2e], 0
jne 0x1002e75e
add edi, 8
mov dword [ebp - 0x2c], edi
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x5c]
jne 0x1002e515
jmp 0x1002e803
cmp dword [ecx + 0x160], 0
jle 0x1002e72c
mov al, 1
jmp 0x1002e72e
cmp byte [ebp - 0x2f], 0
jne 0x1002e7ac
mov ecx, dword [0x10144a3c]
mov ecx, dword [ecx + 0x78]
call fcn.1004c970
mov edx, dword [ebp - 0x38]
test al, al
je 0x1002e7af
mov eax, dword [0x10144a3c]
cmp dword [eax + 0x164], 0
jg 0x1002e7af
test byte [edx + 0x24], 1
jne 0x1002e7af
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 0x1002e803
mov edx, dword [ebp - 0x38]
mov eax, dword [0x10144a5c]
cmp byte [eax + 0x216], 0
je 0x1002e803
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 [0x10144a5c]
mov ecx, dword [0x10144a3c]
cmp byte [eax + 0x217], 0
je 0x1002e7fb
cmp dword [ecx + 0x160], 0
jle 0x1002e7fb
mov al, 1
jmp 0x1002e7fd
xor al, al
mov byte [ecx + 0x156], al
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1002e83c
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1002e832
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e832
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005f254
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.1005ee17
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4