Function at 0x180031d60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1880]
mov eax, 0x1980
call fcn.180082320
sub rsp, rax
mov rax, qword [0x1800c8010]
xor rax, rsp
mov qword [rbp + 0x1870], rax
cmp qword [rcx + 8], 0
mov r14, rdx
mov rdi, rcx
je 0x180032162
movdqa xmm0, xmmword [str.J_F]
xor esi, esi
movdqa xmm1, xmmword [0x1800bc6e0]
mov ecx, esi
movdqu xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x50], 0x9e
movdqa xmm0, xmmword [0x1800bc690]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop word [rax + rax]
movzx eax, cl
add al, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x21], al
inc rcx
cmp rcx, 0x30
jb 0x180031de0
mov rbx, 0xffffffffffffffff
mov byte [rsp + 0x51], sil
mov r8, rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
lea rax, [rsp + 0x21]
mov byte [rsp + 0x58], sil
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x180031e20
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x58]
call fcn.18000b0f0
lea rdx, [rsp + 0x58]
call fcn.18000a540
call rax
test eax, eax
je 0x180032162
movsd xmm1, qword [0x1800ba7b8]
lea rcx, [0x1800a7d98]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], 0x68
movq rdx, xmm1
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
call fcn.18000ba10
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x40
lea rax, [rbp - 0x10]
xor edx, edx
mov r8d, 0x800
mov qword [rbp - 0x78], rax
lea rcx, [rbp + 0x70]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
call fcn.180059570
lea rax, [rbp + 0x70]
mov dword [rbp - 0x60], 0x400
xor edx, edx
mov qword [rbp - 0x68], rax
mov r8d, 0x800
lea rcx, [rbp + 0x870]
call fcn.180059570
lea rax, [rbp + 0x870]
mov dword [rbp - 0x30], 0x400
xor edx, edx
mov qword [rbp - 0x38], rax
mov r8d, 0x800
lea rcx, [rbp + 0x1070]
call fcn.180059570
movsd xmm1, qword [0x1800ba7b8]
lea rax, [rbp + 0x1070]
movq rdx, xmm1
mov qword [rbp - 0x28], rax
lea rcx, [0x1800a7d98]
mov dword [rbp - 0x20], 0x400
call fcn.18000ba10
movdqa xmm1, xmmword [0x1800bbdf0]
mov rax, rsi
movdqa xmm0, xmmword [0x1800bb820]
movdqu xmmword [rsp + 0x30], xmm1
mov dword [rsp + 0x40], 0x403f514e
movdqa xmm1, xmmword [0x1800bad30]
movdqu xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x44], 0x4040
mov byte [rsp + 0x46], sil
nop
movdqu xmm0, xmmword [rsp + rax + 0x20]
psubb xmm0, xmm1
movdqu xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
cmp rax, 0x20
jb 0x180031f80
cmp rax, 0x26
jae 0x180031fae
add byte [rsp + rax + 0x20], 0xf5
inc rax
cmp rax, 0x26
jb 0x180031fa0
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], 0xf
mov r8, rbx
mov byte [rsp + 0x58], sil
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x180031fd0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.18000b0f0
lea rdx, [rsp + 0x58]
call fcn.18000a540
cmp qword [r14 + 0x18], 8
mov edx, dword [r14 + 0x10]
jb 0x180032000
mov r14, qword [r14]
lea r9, [rbp - 0x80]
mov r8d, 0x80000000
mov rcx, r14
call rax
test eax, eax
je 0x180032162
mov rdx, qword [rbp - 0x68]
lea r14, [rdi + 0x20]
mov r8, rbx
inc r8
cmp word [rdx + r8*2], si
jne 0x180032022
mov rcx, r14
call fcn.18000af70
mov rdx, qword [rbp - 0x38]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x180032040
lea rcx, [rdi + 0x40]
call fcn.18000af70
mov rdx, qword [rbp - 0x28]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x180032060
lea rcx, [rdi + 0x60]
call fcn.18000af70
movzx eax, word [rbp - 0x5c]
lea rcx, [0x1800a7d98]
movsd xmm1, qword [0x1800ba7b8]
mov word [rdi + 0x84], ax
movq rdx, xmm1
mov eax, dword [rbp - 0x6c]
mov dword [rdi + 0x80], eax
call fcn.18000ba10
movdqa xmm0, xmmword [0x1800bb180]
mov rcx, rsi
movdqa xmm1, xmmword [0x1800bb100]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], 0x5e595e28
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x44], 0x2a
nop
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x21], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x22], al
add rcx, 2
cmp rcx, 0x24
jb 0x1800320d0
mov byte [rsp + 0x45], sil
lea rax, [rsp + 0x21]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], sil
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x180032110
mov r8, rbx
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x58]
call fcn.18000b0f0
lea rdx, [rsp + 0x58]
call fcn.18000a540
cmp qword [r14 + 0x18], 8
jb 0x18003213f
mov r14, qword [r14]
movzx r8d, word [rdi + 0x84]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov rdx, r14
call rax
test rax, rax
mov qword [rdi + 0x10], rax
setne sil
mov eax, esi
jmp 0x180032164
xor eax, eax
mov rcx, qword [rbp + 0x1870]
xor rcx, rsp
call fcn.1800555d0
lea r11, [rsp + 0x1980]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret