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 [0x14012e080]
xor rax, rsp
mov qword [rbp - 0x78], rax
cmp byte [0x14012ee4c], 0
mov r15, r9
mov rbx, r8
mov rdi, rcx
je 0x1400085a7
mov rax, qword [0x1401327d8]
test rax, rax
je 0x1400085a7
cmp rax, rbx
jne 0x140008ac4
mov qword [rsp + 0x158], rsi
lea rdx, str.dwLocalPlayerPawn
mov qword [rsp + 0x120], r12
lea rcx, [rsp + 0x68]
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 + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
call fcn.140007f30
lea rdx, [rsp + 0x68]
lea rcx, [0x1401329b0]
call fcn.14000b3a0
mov rcx, rax
call fcn.14000b670
mov rcx, qword [0x1401327e8]
lea r8, [rsp + 0x60]
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 + 0x60]
mov qword [rdi + 0x10], rsi
cmp rbx, rsi
je 0x140008a82
movsxd r8, dword [0x14012edd4]
lea rdx, [rsp + 0x68]
movaps xmmword [rsp + 0xd0], xmm10
lea rcx, [0x14012edf0]
shl r8, 5
add r8, qword [0x14012edd8]
movaps xmmword [rsp + 0xc0], xmm11
movaps xmmword [rsp + 0x90], xmm14
call fcn.14000a500
mov rcx, qword [0x1401327e8]
lea r8, [rsp + 0x30]
mov r9d, recv
mov qword [rsp + 0x20], r12
xorps xmm9, xmm9
mov rax, qword [rax]
mov eax, dword [rax + 0x40]
shl eax, 5
movsxd rdx, eax
add rdx, r15
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm8, dword [rsp + 0x34]
movss xmm7, dword [rsp + 0x30]
subss xmm8, dword [rdi + 0x44]
subss xmm7, dword [rdi + 0x40]
movss xmm6, dword [rsp + 0x38]
subss xmm6, dword [rdi + 0x48]
movss xmm12, dword [0x140115640]
movaps xmm1, xmm8
movaps xmm0, xmm7
xorps xmm6, xmm12
call fcn.1400cfbf0
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.1400cff70
movaps xmm10, xmm0
movaps xmm1, xmm7
mulss xmm10, dword [0x140115088]
movaps xmm0, xmm8
subss xmm10, dword [rdi + 0x4c]
call fcn.1400cff70
movaps xmm11, xmm0
xorps xmm14, xmm14
mulss xmm11, dword [0x140115088]
movaps xmm0, xmm10
subss xmm14, dword [rdi + 0x54]
addss xmm0, xmm9
xorps xmm7, xmm7
subss xmm11, dword [rdi + 0x50]
xorps xmm6, xmm6
xorps xmm8, xmm8
movaps xmm1, xmm11
addss xmm1, xmm9
call fcn.1400cfbf0
movss xmm1, dword [0x14012edc8]
comiss xmm1, xmm0
jbe 0x140008791
movaps xmm7, xmm10
movaps xmm6, xmm11
movaps xmm8, xmm14
cmp byte [0x14012edc1], r12b
je 0x1400089a8
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm13
mov r8d, select
mov qword [rsp + 0x78], r12
lea rdx, str.m_iShotsFired
mov qword [rbp - 0x80], r12
lea rcx, [rsp + 0x68]
xorps xmm12, xmm12
movups xmmword [rsp + 0x68], xmm0
xorps xmm13, xmm13
call fcn.140007f30
lea rdx, [rsp + 0x68]
lea rcx, [0x140132980]
call fcn.14000b3a0
mov rcx, rax
call fcn.14000b670
mov rcx, qword [0x1401327e8]
lea r8, [rsp + 0x60]
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 + 0x60]
cmp eax, 1
jle 0x14000895c
cmp eax, 0x270f
jge 0x14000895c
xorps xmm0, xmm0
mov qword [rsp + 0x50], r12
mov r8d, select
mov qword [rsp + 0x58], r12
lea rdx, str.dwLocalPlayerPawn
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call fcn.140007f30
lea rdx, [rsp + 0x40]
lea rcx, [0x1401329b0]
call fcn.14000b3a0
mov rcx, rax
call fcn.14000b670
mov rcx, qword [0x1401327e8]
lea r8, [rsp + 0x60]
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 + 0x50], r12
mov r8d, select
mov qword [rsp + 0x58], r12
lea rdx, str.m_aimPunchAngle
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call fcn.140007f30
lea rdx, [rsp + 0x40]
lea rcx, [0x140132980]
call fcn.14000b3a0
mov rcx, rax
call fcn.14000b670
mov rcx, qword [0x1401327e8]
lea r8, [rsp + 0x68]
movsxd rdx, eax
mov r9d, recv
add rdx, qword [rsp + 0x60]
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm2, dword [rsp + 0x68]
movss xmm0, dword [rsp + 0x6c]
movaps xmm12, xmm2
subss xmm12, dword [0x1401327b8]
movss xmm1, dword [0x14012ee3c]
movaps xmm13, xmm0
subss xmm13, dword [0x1401327bc]
mulss xmm1, dword [0x140114f50]
addss xmm12, xmm12
movss dword [0x1401327b8], xmm0
movss dword [0x1401327bc], xmm2
addss xmm13, xmm13
divss xmm12, xmm1
divss xmm13, xmm1
movaps xmm1, xmm11
movaps xmm0, xmm10
addss xmm1, xmm13
xorps xmm7, xmm7
addss xmm0, xmm12
xorps xmm6, xmm6
xorps xmm8, xmm8
call fcn.1400cfbf0
movss xmm1, dword [0x14012edc8]
comiss xmm1, xmm0
movaps xmm13, xmmword [rsp + 0xa0]
jbe 0x14000899f
movaps xmm7, xmm10
movaps xmm6, xmm11
movaps xmm8, xmm14
movss xmm12, dword [0x140115640]
movss xmm1, dword [0x14012ee3c]
mulss xmm1, dword [0x140114f50]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
divss xmm7, xmm1
divss xmm6, xmm1
divss xmm7, dword [0x14012edc4]
divss xmm6, dword [0x14012edc4]
ucomiss xmm7, xmm9
jp 0x140008a03
jne 0x140008a03
ucomiss xmm6, xmm9
jp 0x140008a03
jne 0x140008a03
ucomiss xmm8, xmm9
jp 0x140008a03
je 0x140008a82
cmp byte [0x14012ee30], r12b
je 0x140008a40
movsxd r8, dword [0x14012ee34]
lea rdx, [rsp + 0x68]
shl r8, 5
lea rcx, [0x14012ee68]
add r8, qword [0x14012ee50]
call fcn.14000a500
mov rcx, qword [rax]
mov ecx, dword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140008a79
ucomiss xmm7, xmm9
jp 0x140008a58
jne 0x140008a58
ucomiss xmm6, xmm9
jp 0x140008a58
jne 0x140008a58
ucomiss xmm8, xmm9
jp 0x140008a58
je 0x140008a79
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 [0x1401327d8], rbx
jmp 0x140008a89
mov qword [0x1401327d8], 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.1400a4170
add rsp, 0x128
pop r15
pop rdi
pop rbx
pop rbp
ret