Function at 0x18002b370
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x18029d790]
xor rax, rsp
mov qword [rbp + 7], rax
mov ecx, dword [0x18034173c]
call fcn.1800277d0
cmp byte [rax], 0
je 0x18002b83e
mov rbx, qword [0x180336d28]
test rbx, rbx
je 0x18002b83e
mov ecx, dword [0x180335888]
mov rax, qword gs:[0x58]
mov r13d, 4
mov r14, qword [rax + rcx*8]
mov eax, dword [r14 + r13]
cmp dword [0x180336d50], eax
jle 0x18002b431
lea rcx, [0x180336d50]
call fcn.1801a9d00
cmp dword [0x180336d50], 0xffffffff
jne 0x18002b431
mov edx, 0x3979ff6e
mov r9d, 0x7c628c1d
lea rcx, str.CBasePlayerController
call fcn.180066450
mov word [0x180336d34], ax
lea rcx, [0x180336d50]
call fcn.1801a9ca0
movsx rax, word [0x180336d34]
mov edx, dword [rax + rbx]
mov edi, 0x7fff
and edx, edi
cmp dword [rax + rbx], 0xffffffff
cmove edx, edi
mov rcx, qword [0x180336ce0]
call fcn.180026a80
mov r12, rax
test rax, rax
je 0x18002b83e
xor r15d, r15d
movss xmm6, dword [0x180271400]
xorps xmm7, xmm7
mov rbx, qword [0x180336ce0]
mov dword [rbp - 1], 0xffffffff
mov eax, dword [r14 + r13]
cmp dword [0x180336e10], eax
jle 0x18002b50b
lea rcx, [0x180336e10]
call fcn.1801a9d00
cmp dword [0x180336e10], 0xffffffff
jne 0x18002b50b
movdqa xmm0, xmmword [0x180271a20]
movdqu xmmword [rbp - 0x41], xmm0
mov dword [rbp - 0x31], 0x7309110e
mov dword [rbp - 0x2d], 0x90111
xor ecx, ecx
movzx eax, byte [rbp - 0x41]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x16
jb 0x18002b4c0
mov byte [rbp - 0x2a], 0
mov dword [rsp + 0x20], 0
mov r9, qword [0x1803367d0]
mov r8, qword [0x1803367c8]
lea rdx, [rbp - 0x40]
call fcn.180068750
add rax, 3
mov qword [0x180336e30], rax
lea rcx, [0x180336e10]
call fcn.1801a9ca0
mov rdx, qword [0x180336e30]
movsxd rax, dword [rdx]
lea r8, [rdx + 4]
add r8, rax
je 0x18002b528
lea rdx, [rbp - 1]
mov rcx, rbx
call r8
cmp r15d, dword [rbp - 1]
jge 0x18002b83e
mov edx, r15d
mov rcx, qword [0x180336ce0]
call fcn.180026a80
mov rsi, rax
test rax, rax
je 0x18002b831
mov ecx, dword [r14 + r13]
cmp dword [0x180336d50], ecx
jle 0x18002b598
lea rcx, [0x180336d50]
call fcn.1801a9d00
cmp dword [0x180336d50], 0xffffffff
jne 0x18002b598
mov edx, 0x3979ff6e
mov r9d, 0x7c628c1d
lea rcx, str.CBasePlayerController
call fcn.180066450
mov word [0x180336d34], ax
lea rcx, [0x180336d50]
call fcn.1801a9ca0
movsx rax, word [0x180336d34]
mov edx, dword [rax + rsi]
and edx, edi
cmp dword [rax + rsi], 0xffffffff
cmove edx, edi
mov rcx, qword [0x180336ce0]
call fcn.180026a80
mov rbx, rax
test rax, rax
je 0x18002b831
mov ecx, dword [r14 + r13]
cmp dword [0x180336d4c], ecx
jle 0x18002b60f
lea rcx, [0x180336d4c]
call fcn.1801a9d00
cmp dword [0x180336d4c], 0xffffffff
jne 0x18002b60f
mov edx, 0x8c86dfe9
mov r9d, 0x84cdad2
lea rcx, str.C_BaseEntity
call fcn.180066450
mov word [0x180336d1c], ax
lea rcx, [0x180336d4c]
call fcn.1801a9ca0
movsx rax, word [0x180336d1c]
cmp dword [rax + rbx], 0
jle 0x18002b831
mov rax, qword [rbx]
mov rdx, qword [rax + 0x480]
mov rcx, rbx
call rdx
test al, al
jne 0x18002b831
mov eax, dword [r14 + r13]
cmp dword [0x180336d20], eax
jle 0x18002b683
lea rcx, [0x180336d20]
call fcn.1801a9d00
cmp dword [0x180336d20], 0xffffffff
jne 0x18002b683
mov edx, 0x3979ff6e
mov r9d, 0xc67d4959
lea rcx, str.CBasePlayerController
call fcn.180066450
mov word [0x180336d10], ax
lea rcx, [0x180336d20]
call fcn.1801a9ca0
movsx rax, word [0x180336d10]
cmp byte [rax + rsi], 0
jne 0x18002b831
mov ecx, dword [0x18034169c]
call fcn.1800277d0
cmp byte [rax], 0
je 0x18002b75e
mov eax, dword [0x180336cb8]
cmp eax, dword [r14 + r13]
jle 0x18002b6fc
lea rcx, [0x180336cb8]
call fcn.1801a9d00
mov eax, dword [0x180336cb8]
cmp eax, 0xffffffff
jne 0x18002b6fc
mov edx, 0x8c86dfe9
mov r9d, 0xa5bfefb3
lea rcx, str.C_BaseEntity
call fcn.180066450
mov word [0x180336d38], ax
lea rcx, [0x180336cb8]
call fcn.1801a9ca0
mov eax, dword [0x180336cb8]
movsx rdi, word [0x180336d38]
cmp eax, dword [r14 + r13]
jle 0x18002b749
lea rcx, [0x180336cb8]
call fcn.1801a9d00
cmp dword [0x180336cb8], 0xffffffff
jne 0x18002b749
mov edx, 0x8c86dfe9
mov r9d, 0xa5bfefb3
lea rcx, str.C_BaseEntity
call fcn.180066450
mov word [0x180336d38], ax
lea rcx, [0x180336cb8]
call fcn.1801a9ca0
movsx rax, word [0x180336d38]
mov ecx, dword [rax + r12]
cmp dword [rdi + rbx], ecx
je 0x18002b831
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.180067990
test al, al
je 0x18002b831
mov ecx, dword [0x180341758]
call fcn.1800277d0
cmp byte [rax], 0
je 0x18002b7ed
mov dword [rbp - 0x49], 0xff000000
mov eax, dword [rbp - 0x49]
mov dword [rbp - 1], eax
mov ecx, dword [0x1803417a8]
call fcn.18002caf0
movss xmm0, dword [rbp - 0x15]
movss dword [rbp - 0x29], xmm0
movss xmm1, dword [rbp - 0xd]
movss dword [rbp - 0x25], xmm1
movss xmm0, dword [rbp - 0x19]
movss dword [rbp - 0x21], xmm0
movss xmm1, dword [rbp - 0x11]
movss dword [rbp - 0x1d], xmm1
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x28], xmm7
lea rcx, [rbp - 1]
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.180061280
mov ecx, dword [0x1803417d8]
call fcn.1800277d0
cmp byte [rax], 0
je 0x18002b809
mov r8, rsi
lea rdx, [rbp - 0x19]
call fcn.18002bad0
mov ecx, dword [0x180341704]
call fcn.1800277d0
cmp byte [rax], 0
je 0x18002b825
mov r8, rbx
lea rdx, [rbp - 0x19]
call fcn.18002b880
mov r9, rbx
lea rdx, [rbp - 0x19]
call fcn.18002bd00
inc r15d
mov edi, 0x7fff
jmp 0x18002b470
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1801a9b50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret