Function at 0x180037c18
Capabilities:
Encode data using xor

Disassembly:
mov rdx, qword [rdi - 0x108]
lea ecx, [rbx - 0x40]
lea rax, [rsp + 0x480]
mov r8, qword [rax + rcx*8]
add al, 0xc8
lea rax, [rax + rcx*8]
mov qword [rsp + 0x70], rax
mov ecx, edx
mov eax, r8d
imul rcx, rax
mov eax, ebx
lea r9, [rdx + rcx*2]
add r9, r8
lea rdx, [rsp + 0x480]
mov r10, qword [rdx + rax*8]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x28], rax
lea ecx, [rbx - 0x20]
xor r10, r9
lea rax, [rsp + 0x480]
test byte [rax + rax*4], ah
add al, 0
add byte [rax - 0x75], cl
adc al, 0xc8
lea rax, [rax + rcx*8]
mov qword [rsp + 0x48], rax
ror r10, 0x20
mov ecx, edx
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r11, rdx
xor r11, r8
mov r8, qword [rdi]
ror r11, 0x18
mov eax, r11d
imul rcx, rax
scasd eax, dword [rdi]
enter 0xffffffffffff8d4d, 0x24
mov rcx, r10
add r12, r11
xor r10, r12
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x30], r10
lea rax, [rdx + rcx*2]
mov rdx, qword [rdi - 0x100]
add rax, r10
mov ecx, edx
mov r10, qword [rdi + 0x200]
xor r11, rax
mov qword [rsp + 0x10], rax
mov eax, r8d
imul rcx, rax
rol r11, 1
mov qword [rsp + 0x50], r11
lea r9, [rdx + rcx*2]
mov rdx, qword [rdi + 0x100]
add r9, r8
mov ecx, edx
xor r10, r9
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r13, rdx
xor r13, r8
ror r13, 0x18
mov eax, r13d
imul rcx, rax
lea rbp, [r9 + rcx*2]
mov ecx, edx
add rbp, r13
mov r8, rbp
xor r8, r10
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov qword [rsp + 0x18], r8
and al, 0x18
lea rax, [rdx + rcx*2]
add rax, r8
xor r13, rax
mov qword [rsp + 0x60], rax
lea ecx, [rbx - 0x30]
rol r13, 1
lea rax, [rsp + 0x480]
mov r8, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x20], rax
lea ecx, [rbx - 0x50]
lea rax, [rsp + 0x480]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x480]
mov ecx, edx
mov eax, r8d
imul rcx, rax
lea rax, [rsp + 0x480]
lea r9, [rdx + rcx*2]
add r9, r8
lea ecx, [rbx + 0x10]
lea rax, [rax + rcx*8]
mov r10, r9
xor r10, qword [rax]
mov qword [rsp + 0x68], rax
lea eax, [rbx - 0x10]
mov rdx, qword [rdi + rax*8]
add rdx, r10
mov qword [rdi - 0x80], rdx
xor rdx, r9
ror rdx, 0x10
mov qword [rax], rdx
mov eax, edx
imul rcx, rax
mov rax, qword [rsp + 0x70]
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [rdi + 0x100], rcx
xor rcx, r10
rol rcx, 1
add rdi, 0x10
mov qword [rax], rcx
mov qword [rsp], rdi
cmp ebx, 0x70
jb 0x1800377b0
mov r9, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
lea ecx, [rsp + 0x80]
mov rax, r9
mov edx, 8
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x180037c71
lea rdx, [rsp + 0x480]
sub rdx, r9
lea r8, [rsp + 0x488]
sub r8, r9
lea rax, [r9 + 0x10]
nop
mov rcx, qword [rdx + rax - 0x10]
xor qword [rax - 0x10], rcx
mov rcx, qword [r8 + rax - 0x10]
xor qword [rax - 8], rcx
mov rcx, qword [rdx + rax]
xor qword [rax], rcx
mov rcx, qword [r8 + rax]
xor qword [rax + 8], rcx
lea rax, [rax + 0x20]
sub qword [rsp + 0x38], 1
jne 0x180037ce0
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.18007f02d
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret