Function at 0x180036a40
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
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov eax, dword [0x1800fad2c]
mov dword [rsp + 0x20], eax
movzx ecx, word [0x1800fad30]
mov word [rsp + 0x24], cx
movzx eax, byte [0x1800fad32]
mov byte [rsp + 0x20], 0x4f
xor byte [rsp + 0x21], 0x31
xor byte [rsp + 0x22], 0x32
xor byte [rsp + 0x23], 0x33
xor cl, 0x34
mov byte [rsp + 0x24], cl
xor byte [rsp + 0x25], 0x35
xor al, 0x36
mov byte [rsp + 0x26], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180036ad2
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800160d0
nop
lea rcx, [rbp - 0x70]
call fcn.180058fb0
mov rsi, rax
movups xmm3, xmmword [str.tTTRAYBhgvXQYJ_x]
movups xmmword [rsp + 0x20], xmm3
movdqa xmm7, xmmword [0x18010ac30]
mov edi, dword [0x18011e090]
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x180036cf9
xor r8d, r8d
cmp edi, 2
jl 0x180036cca
movdqa xmm4, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm2, xmmword [0x18010aac0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x18010aae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x18010aaf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rsp + 0x28]
xorps xmm3, xmm0
movd dword [rsp + 0x28], xmm3
movdqa xmm2, xmmword [0x18010ab00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x2c]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
jmp 0x180036cf9
lea r9, [rsp + 0x20]
nop
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x180036cd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180036d11
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1800160d0
nop
lea rcx, [rsp + 0x70]
call fcn.180058fb0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rax
mov eax, dword [str.vXW_P5]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1800fa684]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x46
xor byte [rsp + 0x21], 0x31
xor byte [rsp + 0x22], 0x32
xor byte [rsp + 0x23], 0x33
xor al, 0x34
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x35
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180036d90
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800160d0
nop
lea rcx, [rsp + 0x50]
call fcn.180058fb0
mov rsi, rax
movsd xmm0, qword [str.tTTRAYBhg]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [0x1800f94e0]
mov dword [rsp + 0x28], edx
movzx ecx, word [0x1800f94e4]
mov word [rsp + 0x2c], cx
movzx ecx, byte [0x1800f94e6]
mov byte [rsp + 0x2e], cl
xor r8d, r8d
cmp edi, 2
jl 0x180036f37
movdqa xmm4, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm3, xmmword [0x18010aac0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x18010aca0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.tTTRAYBhg]
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x18010aae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x18010aaf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, edx
xorps xmm3, xmm1
movd dword [rsp + 0x28], xmm3
mov r8d, 0xc
mov eax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180036f50
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180036f96
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1800160d0
nop
lea rcx, [rsp + 0x30]
call fcn.180058fb0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rax
lea rdi, [rbp - 0x50]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov ecx, 0x20
call fcn.1800c3980
mov rbx, rax
mov qword [rbp - 0x30], rax
lea rcx, [rax + 0x20]
mov qword [rbp - 0x20], rcx
mov r8d, 0x20
mov rdx, rdi
mov rcx, rax
call fcn.1800ea4b0
lea rax, [rbx + 0x20]
mov qword [rbp - 0x28], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180037048
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003721d
call fcn.1800c3978
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037086
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037080
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037223
call fcn.1800c3978
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1800370c3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800370bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037229
call fcn.1800c3978
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1800370fe
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800370f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003722f
call fcn.1800c3978
mov ebx, 0x28
xor r9d, r9d
mov rsi, qword [rbp - 0x28]
mov r11, qword [rbp - 0x30]
sub rsi, r11
sar rsi, 4
test rsi, rsi
je 0x1800371ad
xor r8d, r8d
mov edx, ebx
nop dword [rax]
nop word [rax + rax]
mov rax, r8
add rax, rax
mov rdi, qword [r11 + rax*8]
mov r10d, ebx
mov rax, rdx
cmp ebx, 0x1a0
jge 0x18003719f
nop dword [rax + rax]
mov rcx, r8
add rcx, rcx
mov rcx, qword [r11 + rcx*8 + 8]
cmp qword [rax + rdi], rcx
jne 0x180037166
cmp rax, rdx
jge 0x180037179
add r10d, 4
add rax, 4
cmp r10d, 0x1a0
jl 0x180037150
jmp 0x18003719f
cmovle r10d, ebx
mov ebx, r10d
xor ecx, ecx
cmp rax, rdx
cmovle ecx, r9d
mov r9d, ecx
xor ecx, ecx
cmp rax, rdx
cmovle rcx, r8
mov r8, rcx
cmovle rax, rdx
mov rdx, rax
inc r9d
inc r8
movsxd rax, r9d
cmp rax, rsi
jb 0x180037130
test r11, r11
je 0x1800371e6
mov rdx, qword [rbp - 0x20]
sub rdx, r11
and rdx, 0xfffffffffffffff0
mov rax, r11
cmp rdx, 0x1000
jb 0x1800371de
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037217
mov rcx, r11
call fcn.1800c3978
mov eax, ebx
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1800c35e0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800c9824
nop
call fcn.1800c9824
nop
call fcn.1800c9824
nop
call fcn.1800c9824
nop
call fcn.1800c9824
int3