Function at 0x140008560
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x14012c080]
xor rax, rsp
mov qword [rbp - 0x78], rax
cmp byte [0x14012ce4c], 0
mov r15, r9
mov rbx, r8
mov rdi, rcx
je 0x1400085a7
mov rax, qword [0x140130890]
test rax, rax
je 0x1400085a7
cmp rax, rbx
jne 0x140008ae6
mov qword [rsp + 0x158], rsi
lea rdx, str.dwLocalPlayerPawn
mov qword [rsp + 0x120], r12
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x110], xmm6
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm7
xor r12d, r12d
movaps xmmword [rsp + 0xf0], xmm8
mov r8d, select
movaps xmmword [rsp + 0xe0], xmm9
movaps xmmword [rsp + 0xb0], xmm12
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.140007f30
lea rdx, [rsp + 0x30]
lea rcx, [0x140130a60]
call fcn.14000b320
mov rcx, rax
call fcn.14000b5f0
mov rcx, qword [0x1401308a0]
lea r8, [rsp + 0x70]
movsxd rdx, eax
mov r9d, 8
add rdx, qword [rdi + 8]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rsp + 0x70]
mov qword [rdi + 0x10], rsi
cmp rbx, rsi
je 0x140008aa4
movsxd rdx, dword [0x14012cdd4]
lea rcx, [0x14012cdf0]
movaps xmmword [rsp + 0xd0], xmm10
shl rdx, 5
add rdx, qword [0x14012cdd8]
movaps xmmword [rsp + 0xc0], xmm11
movaps xmmword [rsp + 0x90], xmm14
call fcn.140009680
mov r9d, recv
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x50]
xorps xmm9, xmm9
mov ecx, dword [rax]
shl ecx, 5
movsxd rdx, ecx
mov rcx, qword [0x1401308a0]
add rdx, r15
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm8, dword [rsp + 0x50]
movss xmm7, dword [rsp + 0x54]
subss xmm8, dword [rdi + 0x40]
subss xmm7, dword [rdi + 0x44]
movss xmm6, dword [rsp + 0x58]
subss xmm6, dword [rdi + 0x48]
movss xmm12, dword [0x140115350]
movaps xmm0, xmm8
movaps xmm1, xmm7
xorps xmm6, xmm12
call fcn.1400cf74c
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.1400cfa9c
movaps xmm10, xmm0
movaps xmm1, xmm8
mulss xmm10, dword [0x140114d98]
movaps xmm0, xmm7
subss xmm10, dword [rdi + 0x4c]
call fcn.1400cfa9c
movaps xmm11, xmm0
xorps xmm14, xmm14
mulss xmm11, dword [0x140114d98]
movaps xmm0, xmm10
subss xmm14, dword [rdi + 0x54]
addss xmm0, xmm9
xorps xmm6, xmm6
subss xmm11, dword [rdi + 0x50]
xorps xmm7, xmm7
xorps xmm8, xmm8
movaps xmm1, xmm11
addss xmm1, xmm9
call fcn.1400cf74c
movss xmm1, dword [0x14012cdc8]
comiss xmm1, xmm0
jbe 0x140008789
movaps xmm6, xmm10
movaps xmm7, xmm11
movaps xmm8, xmm14
cmp byte [0x14012cdc1], r12b
unpcklps xmm6, xmm7
movsd qword [rsp + 0x60], xmm6
movss dword [rsp + 0x68], xmm8
je 0x1400089c0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm13
mov r8d, select
mov qword [rsp + 0x40], r12
lea rdx, str.m_iShotsFired
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x30]
xorps xmm12, xmm12
movups xmmword [rsp + 0x30], xmm0
xorps xmm13, xmm13
call fcn.140007f30
lea rdx, [rsp + 0x30]
lea rcx, [0x140130a30]
call fcn.14000b320
mov rcx, rax
call fcn.14000b5f0
mov rcx, qword [0x1401308a0]
lea r8, [rsp + 0x70]
movsxd rdx, eax
mov r9d, 4
add rdx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
cmp eax, 1
jle 0x140008964
cmp eax, 0x270f
jge 0x140008964
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
mov r8d, select
mov qword [rsp + 0x48], r12
lea rdx, str.dwLocalPlayerPawn
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140007f30
lea rdx, [rsp + 0x30]
lea rcx, [0x140130a60]
call fcn.14000b320
mov rcx, rax
call fcn.14000b5f0
mov rcx, qword [0x1401308a0]
lea r8, [rsp + 0x70]
movsxd rdx, eax
mov r9d, 8
add rdx, qword [rdi + 8]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
mov r8d, select
mov qword [rsp + 0x48], r12
lea rdx, str.m_aimPunchAngle
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140007f30
lea rdx, [rsp + 0x30]
lea rcx, [0x140130a30]
call fcn.14000b320
mov rcx, rax
call fcn.14000b5f0
mov rcx, qword [0x1401308a0]
lea r8, [rsp + 0x78]
movsxd rdx, eax
mov r9d, recv
add rdx, qword [rsp + 0x70]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm2, dword [rsp + 0x78]
movss xmm0, dword [rsp + 0x7c]
movaps xmm12, xmm2
subss xmm12, dword [0x140130870]
movss xmm1, dword [0x14012ce3c]
movaps xmm13, xmm0
subss xmm13, dword [0x140130874]
mulss xmm1, dword [0x140114c60]
addss xmm12, xmm12
movss dword [0x140130870], xmm0
movss dword [0x140130874], xmm2
addss xmm13, xmm13
divss xmm12, xmm1
divss xmm13, xmm1
movaps xmm1, xmm11
movaps xmm0, xmm10
addss xmm1, xmm13
xorps xmm6, xmm6
addss xmm0, xmm12
xorps xmm7, xmm7
xorps xmm8, xmm8
call fcn.1400cf74c
movss xmm1, dword [0x14012cdc8]
comiss xmm1, xmm0
movaps xmm13, xmmword [rsp + 0xa0]
jbe 0x1400089a7
movaps xmm6, xmm10
movaps xmm7, xmm11
movaps xmm8, xmm14
movss xmm12, dword [0x140115350]
unpcklps xmm6, xmm7
movsd qword [rsp + 0x60], xmm6
movss dword [rsp + 0x68], xmm8
movss xmm1, dword [0x14012ce3c]
mulss xmm1, dword [0x140114c60]
movss xmm7, dword [rsp + 0x60]
movss xmm6, dword [rsp + 0x64]
movss xmm8, dword [rsp + 0x68]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
divss xmm7, xmm1
divss xmm6, xmm1
divss xmm7, dword [0x14012cdc4]
divss xmm6, dword [0x14012cdc4]
ucomiss xmm7, xmm9
jp 0x140008a2e
jne 0x140008a2e
ucomiss xmm6, xmm9
jp 0x140008a2e
jne 0x140008a2e
ucomiss xmm8, xmm9
jp 0x140008a2e
je 0x140008aa4
cmp byte [0x14012ce30], r12b
je 0x140008a62
movsxd rdx, dword [0x14012ce34]
lea rcx, [0x14012ce68]
shl rdx, 5
add rdx, qword [0x14012ce50]
call fcn.140009680
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140008a9b
ucomiss xmm7, xmm9
jp 0x140008a7a
jne 0x140008a7a
ucomiss xmm6, xmm9
jp 0x140008a7a
jne 0x140008a7a
ucomiss xmm8, xmm9
jp 0x140008a7a
je 0x140008a9b
xorps xmm6, xmm12
mov qword [rsp + 0x20], r12
cvttss2si rdx, xmm6
xor r9d, r9d
mov ecx, 1
cvttss2si r8, xmm7
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x140130890], rbx
jmp 0x140008aab
mov qword [0x140130890], r12
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
mov r12, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x158]
movaps xmm12, xmmword [rsp + 0xb0]
mov rcx, qword [rbp - 0x78]
xor rcx, rsp
call fcn.1400a3e00
add rsp, 0x128
pop r15
pop rdi
pop rbx
pop rbp
ret