Function at 0x180017c20
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
movss dword [rax + 0x20], xmm3
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
mov rdi, rcx
mov ecx, dword [rcx + 0x34]
mov rsi, r8
movaps xmmword [rax - 0x58], xmm7
mov r13, rdx
movaps xmmword [rax - 0x68], xmm8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
xor ebx, ebx
and al, 1
mov byte [rdi + 0x39], bl
cmp al, byte [rdi + 0x38]
je 0x180017c86
test al, al
je 0x180017c86
mov byte [rdi + 0x38], al
mov byte [rdi + 0x39], 1
cmp byte [rdi + 0x3c], bl
sete al
mov byte [rdi + 0x3c], al
jmp 0x180017c89
mov byte [rdi + 0x38], al
mov ecx, 0x5a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rdi + 0x28]
test ax, ax
setne al
mov byte [rdi + 0xf6], al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x2d], bl
cmp al, byte [rdi + 0x2c]
je 0x180017ccc
test al, al
je 0x180017ccc
mov byte [rdi + 0x2c], al
mov byte [rdi + 0x2d], 1
cmp byte [rdi + 0x30], bl
sete al
mov byte [rdi + 0x30], al
jmp 0x180017ccf
mov byte [rdi + 0x2c], al
mov ecx, dword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x45], bl
cmp al, byte [rdi + 0x44]
je 0x180017ced
test al, al
je 0x180017ced
mov byte [rdi + 0x45], 1
mov ecx, 0x64
mov byte [rdi + 0x44], al
lea rdx, [rbp + 0x60]
mov qword [rbp + 0x60], rdi
call fcn.180019670
mov r15, qword [rbp + 0x80]
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x228]
mov eax, dword [rcx + 0x84]
cvtsi2ss xmm2, rax
movss dword [rdi + 0x74], xmm2
movaps xmm0, xmm2
mov rax, qword [r15 + 8]
divss xmm0, dword [0x1800bae70]
mov rcx, qword [rax + 0x228]
mov eax, dword [rcx + 0x80]
lea rcx, [rsp + 0x40]
mulss xmm2, dword [0x1800bacfc]
cvtsi2ss xmm1, rax
movss dword [rdi + 0x7c], xmm0
movss dword [rdi + 0x78], xmm1
mulss xmm1, dword [0x1800bacfc]
call fcn.1800200b4
mov rdx, rax
lea rcx, [rdi + 0x160]
call fcn.180020194
mov r12, qword [rdi + 0x150]
mov rcx, qword [rdi + 0x138]
mov qword [rdi + 0x140], rcx
mov byte [rdi + 0xe8], bl
mov qword [rdi + 0x150], rbx
mov qword [rdi + 0x148], rbx
mov word [rdi + 0x128], bx
mov word [rdi + 0xf4], bx
mov qword [rdi + 0xd0], rbx
mov rax, qword [r15]
mov qword [rsp + 0x30], r12
mov rax, qword [rax + 0x120]
test rax, rax
je 0x180017ddc
mov al, byte [rax + 0x6b0]
mov byte [rdi + 0xf4], al
mov rcx, qword [rbp + 0x88]
lea r14, [rdi + 0x1b8]
mov rbx, qword [r14 + 8]
movabs r9, 0xaaaaaaaaaaaaaaab
mov r8, qword [r14]
mov rdx, rbx
sub rdx, r8
sar rdx, 3
imul rdx, r9
cmp rdx, rcx
je 0x180017e87
jbe 0x180017e43
lea rax, [rcx + rcx*2]
lea r12, [r8 + rax*8]
mov r15, r12
cmp r12, rbx
je 0x180017e31
mov rcx, r15
call fcn.180004138
add r15, 0x18
cmp r15, rbx
jne 0x180017e20
mov r15, qword [rbp + 0x80]
mov qword [r14 + 8], r12
mov r12, qword [rsp + 0x30]
jmp 0x180017e87
jae 0x180017e87
mov rax, qword [r14 + 0x10]
sub rax, r8
sar rax, 3
imul rax, r9
cmp rcx, rax
jbe 0x180017e66
mov rdx, rcx
mov rcx, r14
call fcn.180019ae0
jmp 0x180017e87
sub rcx, rdx
je 0x180017e83
and qword [rbx], 0
and qword [rbx + 8], 0
and qword [rbx + 0x10], 0
add rbx, 0x18
sub rcx, 1
jne 0x180017e6b
mov qword [r14 + 8], rbx
mov rdx, qword [r14 + 8]
mov rax, qword [r14]
jmp 0x180017ea1
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x180017e9d
mov qword [rax + 8], rcx
add rax, 0x18
cmp rax, rdx
jne 0x180017e90
or ecx, 0xffffffff
xor r14d, r14d
mov dword [rdi + 0xfc], ecx
mov rax, qword [r13 + 0x228]
test rax, rax
je 0x180017ed6
mov ecx, dword [rax + 0x378]
mov dword [rdi + 0xfc], ecx
mov eax, dword [rax + 0x34c]
mov dword [rdi + 0xf8], eax
cmp byte [rdi + 0x71], r14b
je 0x180018015
mov byte [rdi + 0x71], r14b
mov rax, qword [r15 + 8]
test rax, rax
je 0x180018015
mov rax, qword [rax + 0xdf8]
test rax, rax
je 0x180018015
mov eax, dword [rax + 0xa38]
mov ebx, r14d
mov r14, qword [r13 + 0xc00]
cdq
sub eax, edx
sar eax, 1
cmp ecx, 1
mov r15d, eax
setne bl
test r14, r14
je 0x180018012
mov r14, qword [r14 + 0x358]
test r14, r14
je 0x180018012
lea rdx, str.plorehax
cmp ebx, dword [r14 + 0x290]
jge 0x180017f57
mov rax, qword [r14 + 0x288]
mov ecx, ebx
cmp dword [rax + rcx*4], r15d
jl 0x180017fd4
mov rcx, qword [rdi + 0x218]
mov qword [rbp - 0x60], rdx
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x58], 8
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x50], xmm0
call fcn.18000a0a8
mov rcx, rax
lea rdx, str.Thinks_its_a_full_team_idk_n
call fcn.1800027dc
mov edx, r15d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.18000a320
mov rcx, qword [r14 + 0x288]
mov edx, ebx
mov edx, dword [rcx + rdx*4]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.18000a320
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str.plorehax
mov rcx, qword [rdi + 0x218]
mov qword [rbp - 0x70], rdx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x68], 8
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
call fcn.18000a0a8
mov rcx, rax
lea rdx, str.Attempting_team_switch_n
call fcn.1800027dc
mov edx, ebx
mov rcx, r13
call fcn.180022bdc
xor r14d, r14d
mov rdx, qword [r13 + 0x2b8]
test rdx, rdx
je 0x180018610
add rdx, 0xe80
lea rcx, [rdi + 0x91]
call fcn.18001fe74
mov r15d, 0x3f800000
test rsi, rsi
jne 0x180018051
mov dword [rdi + 0x104], r15d
mov dword [rdi + 0x100], r14d
mov rcx, qword [rdi + 0xd8]
movss xmm6, dword [0x1800baecc]
mov dword [rbp + 0x78], 0x7f800000
call fcn.180005a08
lea rcx, [rbp + 0x78]
mov rbx, rax
call fcn.180019808
mov dword [rbx], eax
test rsi, rsi
je 0x180018610
mov ecx, dword [0x1800c8758]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov cl, r14b
and al, 1
mov byte [0x1800c875d], cl
cmp al, byte [0x1800c875c]
je 0x1800180b1
test al, al
je 0x1800180b1
mov cl, 1
mov byte [0x1800c875d], cl
mov byte [0x1800c875c], al
test cl, cl
je 0x1800180bf
mov byte [rdi + 0x70], 1
call fcn.180021c58
mov rdx, rax
mov rcx, rsi
call fcn.180020938
test al, al
je 0x1800181ab
mov qword [rdi + 0x150], rsi
mov rax, qword [rsi + 0xb80]
mov rcx, qword [rax + 0x168]
mov qword [rdi + 0x148], rcx
call fcn.18001f3b8
mov rdx, rax
mov rcx, rsi
call fcn.180020938
test al, al
je 0x18001811d
mov dword [rdi + 0xec], 0x461c4000
mov dword [rdi + 0xf0], 0xc4750000
jmp 0x180018145
call fcn.18001f678
mov rdx, rax
mov rcx, rsi
call fcn.180020938
test al, al
je 0x18001818e
mov dword [rdi + 0xec], 0x45bb8000
mov dword [rdi + 0xf0], 0xc3f50000
mov byte [rdi + 0x129], 1
mov rcx, qword [rsi + 0xba8]
test rcx, rcx
je 0x1800181c6
mov rax, qword [rcx + 0xd0]
lea r8, [rbp + 0x80]
mov rcx, qword [rcx + 0xc8]
lea rdx, [rbp - 0x40]
mov qword [rbp + 0x80], rax
call fcn.180020b24
mov rdx, rax
lea rcx, [rdi + 0x85]
call fcn.18001fe74
jmp 0x1800181c6
call fcn.180021d08
mov rdx, rax
mov rcx, rsi
call fcn.180020938
test al, al
je 0x1800181c6
mov byte [rdi + 0x128], 1
jmp 0x1800181c6
call fcn.18001f998
mov rdx, rax
mov rcx, rsi
call fcn.180020938
test al, al
je 0x1800181c6
mov qword [rdi + 0x148], rsi
mov rdx, qword [rdi + 0x148]
test rdx, rdx
je 0x180018610
xorps xmm8, xmm8
cmp qword [rdi + 0x150], r14
je 0x1800181f0
cmp byte [rdi + 0x128], r14b
je 0x180018339
mov rax, qword [rdx + 0x11f8]
lea rcx, [rdi + 0x85]
add rdx, 0xf18
mov qword [rdi + 0x138], rax
call fcn.18001fe74
mov rbx, qword [rdi + 0x138]
test rbx, rbx
jne 0x18001823b
mov rax, qword [rdi + 0x148]
mov rbx, qword [rax + 0x1200]
mov qword [rdi + 0x138], rbx
test rbx, rbx
je 0x180018339
call fcn.18001f7d8
mov rdx, rax
mov rcx, rbx
call fcn.180020938
test al, al
jne 0x18001826d
mov rbx, qword [rdi + 0x138]
call fcn.18001fcc0
mov rdx, rax
mov rcx, rbx
call fcn.180020938
test al, al
mov al, r14b
je 0x18001826f
mov al, 1
mov byte [rdi + 0xe8], al
test al, al
je 0x180018339
lea rdx, [rdi + 0x158]
lea rcx, [rdi + 0x160]
call fcn.180020194
cmp qword [rdi + 0x150], r12
jne 0x1800182ad
mov rax, qword [rdi + 0x140]
cmp qword [rdi + 0x138], rax
je 0x180018339
mov rax, qword [r13 + 0x2b8]
lea rcx, [rbp - 0x34]
movss xmm2, dword [0x1800bae40]
xorps xmm3, xmm3
xorps xmm1, xmm1
movsd xmm0, qword [rax + 0xe8c]
mov eax, dword [rax + 0xe94]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
call fcn.18001fe2c
mov r8, rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x70]
call fcn.18001fe40
lea rcx, [rbp - 0x1c]
mov rbx, rax
call fcn.18001fe20
mov rcx, qword [rdi + 0x138]
mov r8, rbx
mov rdx, rax
movss dword [rsp + 0x20], xmm8
call fcn.180021b04
mov rcx, qword [rax + 0x830]
mov eax, dword [rcx + 0xf0]
mov dword [rdi + 0xec], eax
call fcn.180021078
movss dword [rdi + 0xf0], xmm0
mov al, byte [rdi + 0x129]
test al, al
je 0x180018347
mov byte [rdi + 0x3c], r14b
cmp byte [rdi + 0xe8], r14b
jne 0x180018357
test al, al
mov al, r14b
je 0x180018359
mov al, 1
mov byte [rdi + 0x12a], al
cmp byte [rdi + 0x59], r14b
je 0x18001837b
test al, al
je 0x18001837b
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov al, 1
jne 0x18001837e
mov al, r14b
mov ecx, 5
mov byte [rdi + 0xf5], al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800183f9
mov rax, qword [rdi + 0x148]
cmp byte [rax + 0x504], r14b
jne 0x1800183f9
cmp byte [rdi + 0x12a], r14b
je 0x1800183f9
cmp byte [rdi + 0x45], r14b
je 0x180018407
mov eax, dword [rdi + 0x100]
inc eax
and eax, 3
mov dword [rdi + 0x100], eax
je 0x180018400
sub eax, 1
je 0x1800183ed
sub eax, 1
je 0x1800183e1
cmp eax, 1
jne 0x180018407
mov dword [rdi + 0x104], 0x3e000000
jmp 0x180018407
mov dword [rdi + 0x104], 0x3e800000
jmp 0x180018407
mov dword [rdi + 0x104], 0x3f000000
jmp 0x180018407
mov dword [rdi + 0x100], r14d
mov dword [rdi + 0x104], r15d
mov r9, qword [r13 + 0xcc0]
mov rbx, r14
movsxd rax, dword [r13 + 0xcc8]
lea r11, [r9 + rax*8]
cmp r9, r11
je 0x180018606
lea r8, [rdi + 0x91]
mov r10, qword [r9]
mov rax, qword [r10 + 0x130]
test rax, rax
je 0x180018471
movsd xmm0, qword [rax + 0x11c]
lea rdx, [rbp - 0x50]
mov eax, dword [rax + 0x124]
lea rcx, [rbp - 0x80]
movsd qword [rbp - 0x80], xmm0
mov dword [rbp - 0x78], eax
call fcn.18001fe88
mov rcx, rax
call fcn.18001ffd4
comiss xmm6, xmm0
jbe 0x180018471
movaps xmm6, xmm0
mov rbx, r10
add r9, 8
cmp r9, r11
jne 0x18001842c
test rbx, rbx
je 0x180018606
mov rax, qword [rbx + 0x130]
lea r8, [rsp + 0x60]
mov rdx, r13
lea rcx, [rsp + 0x40]
movsd xmm0, qword [rax + 0x11c]
mov eax, dword [rax + 0x124]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
call fcn.18002d04c
cmp byte [rsp + 0x48], r14b
je 0x1800185b2
cmp byte [rdi + 0x48], r14b
je 0x1800185b2
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss xmm2, dword [rdi + 0x80]
movaps xmm7, xmm0
movss xmm4, dword [rsp + 0x44]
movaps xmm3, xmm2
mulss xmm3, dword [0x1800bae9c]
mov rcx, qword [rdi + 0x228]
mulss xmm2, dword [0x1800baeb8]
movss xmm0, dword [rsp + 0x40]
unpcklps xmm0, xmm4
divss xmm3, xmm7
divss xmm2, xmm7
movq rdx, xmm0
call fcn.180012698
movss xmm3, dword [0x1800bae28]
lea rcx, [rbp - 0x70]
movaps xmm2, xmm8
movaps xmm1, xmm8
call fcn.18001fe2c
mov r8, rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.18001fe40
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.18002d04c
cmp byte [rsp + 0x38], r14b
je 0x1800185b2
movss xmm3, dword [rdi + 0x80]
lea rax, str.AMMO
mulss xmm3, dword [0x1800baea0]
lea r8, [rsp + 0x50]
mov rcx, qword [rdi + 0x228]
movss xmm1, dword [rsp + 0x34]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 4
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x30]
unpcklps xmm0, xmm1
divss xmm3, xmm7
movq rdx, xmm0
call fcn.180012718
movss xmm0, dword [0x1800baec0]
comiss xmm0, xmm6
jbe 0x180018606
cmp byte [rbx + 0x3e8], r14b
jne 0x180018606
cmp byte [rdi + 0x70], r14b
je 0x180018610
mov rcx, qword [rdi + 0x148]
mov rdx, rbx
mov byte [rdi + 0x70], r14b
call fcn.1800221c4
mov rcx, qword [rdi + 0x148]
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x20], r14b
mov dl, reloc.WS2_32.dll_recv
call fcn.180022a20
mov rcx, qword [rdi + 0x148]
call fcn.1800223cc
cmp byte [rdi + 0x70], r14b
je 0x180018610
mov byte [rdi + 0x70], r14b
mov al, byte [rdi + 0x48]
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret