Function at 0x1800312d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movzx ecx, word [0x1800e8bd4]
xorps xmm0, xmm0
mov qword [rax + 0x10], rsi
xorps xmm1, xmm1
mov eax, dword [str.xZS_XH]
mov rbx, 0xffffffffffffffff
mov dword [rbp + 0x67], eax
mov r8, rbx
movzx eax, byte [0x1800e8bd6]
xor byte [rbp + 0x68], 0x38
xor byte [rbp + 0x69], 0x39
xor byte [rbp + 0x6a], 0x3a
mov word [rbp + 0x6b], cx
xor cl, 0x3b
xor byte [rbp + 0x6c], 0x3c
xor al, 0x3d
mov byte [rbp + 0x67], 0x4f
mov byte [rbp + 0x6d], al
lea rax, [rbp + 0x67]
mov byte [rbp + 0x6b], cl
movups xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x180031342
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 7]
call fcn.180013f10
lea rcx, [rbp + 7]
call fcn.18004bb40
movups xmm0, xmmword [str.s___NPIa_]
mov edi, dword [0x18010a088]
mov rsi, rax
movups xmmword [rbp - 0x69], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x180031511
cmp edi, 2
jl 0x1800314d9
movdqa xmm0, xmmword [0x1800f8e40]
lea rcx, [rbp - 0x65]
movdqa xmm5, xmmword [0x1800f8c90]
xor edx, edx
movdqa xmm4, xmmword [0x1800f8f00]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movaps xmmword [rsp + 0xd0], xmm6
movdqa xmm6, xmmword [0x1800f8d00]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x1800313d0
movaps xmm6, xmmword [rsp + 0xd0]
jmp 0x180031511
lea r9, [rbp - 0x69]
xor r8d, r8d
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x1800314e0
xorps xmm0, xmm0
lea rax, [rbp - 0x69]
xorps xmm1, xmm1
mov r8, rbx
movups xmmword [rbp - 0x19], xmm0
movdqu xmmword [rbp - 9], xmm1
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180031530
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x19]
call fcn.180013f10
lea rcx, [rbp - 0x19]
call fcn.18004bb40
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov eax, dword [str.qQV__]
xorps xmm1, xmm1
mov dword [rbp + 0x67], eax
mov r8, rbx
movzx eax, word [0x1800e8cf0]
xor byte [rbp + 0x68], 0x38
xor byte [rbp + 0x69], 0x39
xor byte [rbp + 0x6a], 0x3a
mov word [rbp + 0x6b], ax
xor al, 0x3b
xor byte [rbp + 0x6c], 0x3c
mov byte [rbp + 0x6b], al
lea rax, [rbp + 0x67]
mov qword [rbp + 0x27], rsi
mov byte [rbp + 0x67], 0x46
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800315a0
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.180013f10
lea rcx, [rbp - 0x39]
call fcn.18004bb40
mov ecx, dword [0x1800e7a48]
xor r8d, r8d
movsd xmm0, qword [0x1800e7a40]
mov rsi, rax
mov dword [rbp - 0x61], ecx
movzx ecx, word [0x1800e7a4c]
mov word [rbp - 0x5d], cx
movzx ecx, byte [0x1800e7a4e]
mov byte [rbp - 0x5b], cl
movsd qword [rbp - 0x69], xmm0
cmp edi, 2
jl 0x1800316f9
movdqa xmm2, xmmword [0x1800f8c90]
mov r8d, 8
movdqa xmm4, xmmword [0x1800f8f00]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800f8cb0]
movdqa xmm0, xmm2
mov eax, dword [0x1800f8e40]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f8d00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800e7a40]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x69], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f8d00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
movd xmm1, dword [rbp - 0x65]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x65], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x180031710
xorps xmm0, xmm0
lea rax, [rbp - 0x69]
xorps xmm1, xmm1
movups xmmword [rbp - 0x59], xmm0
movdqu xmmword [rbp - 0x49], xmm1
inc rbx
cmp byte [rax + rbx], 0
jne 0x180031754
mov r8, rbx
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.180013f10
lea rcx, [rbp - 0x59]
call fcn.18004bb40
mov ecx, 0x20
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rax
call fcn.1800b2a54
mov r8d, 0x20
lea rdx, [rbp + 0x27]
mov rcx, rax
mov rdi, rax
call fcn.1800da380
mov rdx, qword [rbp - 0x41]
mov rsi, qword [rsp + 0xf8]
cmp rdx, 0xf
jbe 0x1800317e0
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800317db
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031944
call fcn.1800b2a4c
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x18003181b
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180031816
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031944
call fcn.1800b2a4c
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180031856
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180031851
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031944
call fcn.1800b2a4c
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x180031891
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003188c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031944
call fcn.1800b2a4c
mov edx, 0x28
xor r9d, r9d
mov ebx, edx
xor r8d, r8d
nop
mov rax, r8
mov r10d, ebx
add rax, rax
mov r11, qword [rdi + rax*8]
mov rax, rdx
cmp ebx, 0x1a0
jge 0x18003190f
nop dword [rax + rax]
mov rcx, r8
add rcx, rcx
mov rcx, qword [rdi + rcx*8 + 8]
cmp qword [rax + r11], rcx
jne 0x1800318d6
cmp rax, rdx
jge 0x1800318e9
add r10d, 4
add rax, 4
cmp r10d, 0x1a0
jl 0x1800318c0
jmp 0x18003190f
cmovle r10d, ebx
xor ecx, ecx
cmp rax, rdx
mov ebx, r10d
cmovle ecx, r9d
mov r9d, ecx
xor ecx, ecx
cmp rax, rdx
cmovle rcx, r8
cmovle rax, rdx
mov r8, rcx
mov rdx, rax
inc r9d
inc r8
cmp r9d, 2
jb 0x1800318a0
test rdi, rdi
je 0x18003192d
mov edx, 0x20
mov rcx, rdi
call fcn.1800b2a4c
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800b96fc
int3