Function at 0x180037180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1802ae740]
xor rax, rsp
mov qword [rbp + 0xc0], rax
movdqa xmm0, xmmword [0x180279370]
lea rsi, [rsp + 0x20]
movdqa xmm1, xmmword [0x180279440]
xor edi, edi
movdqa xmmword [rsp + 0x20], xmm0
mov ebx, edi
movdqa xmm0, xmmword [0x180279430]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1802792f0]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm1, xmmword [0x1802793a0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1802792c0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x180279410]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x1802792e0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x1802793b0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x180279400]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [0x180279320]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x180279250]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x180279310]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [str.AO9x]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [0x180279420]
movdqa xmmword [rbp], xmm0
movdqa xmm0, xmmword [0x1802793c0]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm1, xmmword [0x180279380]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm0, xmmword [0x180279300]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm1, xmmword [0x180279220]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm0, xmmword [0x180279230]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm1, xmmword [0x180279280]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm0, xmmword [0x180279240]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm1, xmmword [0x1802793d0]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm0, xmmword [0x1802793f0]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm1, xmmword [0x1802792d0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmmword [rbp + 0x90], xmm1
mov dword [rbp + 0xb0], 0x184140a1
nop dword [rax]
call fcn.180007ae0
mov r14d, dword [rsi]
mov ecx, eax
mov edx, r14d
call fcn.180031a70
test eax, eax
jne 0x180032dd1
call fcn.180007ae0
mov r9d, 1
mov r8d, 0x270f
mov edx, r14d
mov ecx, eax
call fcn.180031af0
inc ebx
add rsi, 4
cmp ebx, 0x65
jb 0x180032da0
lea rsi, str.WEAPON_TACTICALRIFLE
mov r9d, edi
mov r10, rsi
mov r8b, 0x57
nop dword [rax]
movzx edx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
cmp r8b, 0x19
movzx r8d, byte [r10]
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
test r8b, r8b
jne 0x180032df0
lea ebx, [r9 + r9*8]
call fcn.180007ae0
mov ecx, ebx
shr ecx, 0xb
xor ecx, ebx
imul edx, ecx, 0x8001
mov ecx, eax
call fcn.180031a70
test eax, eax
jne 0x180032ea8
mov al, 0x57
nop dword [rax + rax]
movzx r8d, al
lea rsi, [rsi + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, edi
imul edi, eax, 0x401
mov eax, edi
shr eax, 6
xor edi, eax
movzx eax, byte [rsi]
test al, al
jne 0x180032e50
lea ebx, [rdi + rdi*8]
call fcn.180007ae0
mov ecx, ebx
mov r9d, 1
shr ecx, 0xb
mov r8d, 0x270f
xor ecx, ebx
imul edx, ecx, 0x8001
mov ecx, eax
call fcn.180031af0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1801942d0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x180032c00