Function at 0x180038684
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rdi - 0x108]
lea edx, [rsi - 0x40]
lea rbx, [rsp + 0x90]
lea rcx, [rsp + 0x90]
mov r10, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x80], rcx
mov edx, r8d
mov ecx, r10d
imul rdx, rcx
mov ecx, esi
lea rcx, [rbx + rcx*8]
lea r11, [r8 + rdx*2]
mov qword [rsp + 0x20], rcx
add r11, r10
lea edx, [rsi - 0x20]
mov rbx, r11
xor rbx, qword [rcx]
lea rcx, [rsp + 0x90]
mov r8, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x58], rcx
ror rbx, 0x20
mov edx, r8d
mov ecx, ebx
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r11d
add r8, rbx
mov r9, r8
xor r9, r10
ror r9, 0x18
mov ecx, r9d
imul rdx, rcx
lea rcx, [r11 + rdx*2]
mov edx, r8d
add rcx, r9
xor rbx, rcx
mov qword [rsp + 0x38], rcx
ror rbx, 0x10
mov ecx, ebx
imul rdx, rcx
mov qword [rsp + 0x28], rbx
lea rcx, [r8 + rdx*2]
mov r8, qword [rdi - 0x100]
add rcx, rbx
mov edx, r8d
mov qword [rsp + 0x48], rcx
xor rcx, r9
mov r9, qword [rdi]
rol rcx, 1
mov qword [rsp + 0x60], rcx
mov ecx, r9d
imul rdx, rcx
lea r11, [r8 + rdx*2]
push rax
mov r8, qword [rdi + 0x100]
add r11, r9
mov edx, r8d
mov rbx, r11
xor rbx, qword [rdi + 0x200]
ror rbx, 0x20
mov ecx, ebx
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r11d
add r8, rbx
mov r10, r8
xor r10, r9
ror r10, 0x18
mov ecx, r10d
imul rdx, rcx
lea rcx, [r11 + rdx*2]
mov edx, r8d
add rcx, r10
mov r9, rcx
mov qword [rsp + 0x30], rcx
xor r9, rbx
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov qword [rsp + 0x10], r9
lea rcx, [r8 + rdx*2]
add rcx, r9
lea edx, [rsi - 0x30]
mov r15, rcx
mov qword [rsp + 0x70], rcx
xor r15, r10
lea rcx, [rsp + 0x90]
add byte [rax], al
add byte [rbx + rcx*4 + 0x14], cl
ror dword [rax - 0x73], 1
or al, 0xd1
mov qword [rsp + 0x18], rcx
lea edx, [rsi - 0x50]
lea rcx, [rsp + 0x90]
rol r15, 1
mov r8, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x50], rcx
lea r14, [rsp + 0x90]
xor r8, r11
ror r8, 0x10
mov qword [rcx], r8
mov ecx, r8d
imul rdx, rcx
lea rdx, [r9 + rdx*2]
add rdx, r8
mov qword [rdi + 0x180], rdx
xor rdx, r10
mov rcx, qword [rsp + 0x18]
mov r10, qword [rsp + 0x48]
mov edx, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
mov esi, dword [rsp + 8]
rol rdx, 1
mov qword [rcx], rdx
mov ecx, ebp
mov edx, r13d
imul rdx, rcx
lea r8, [rdx*2]
mov edx, r10d
add r8, r13
add r8, rbp
mov r9, r8
xor r9, qword [rsp + 0x10]
ror r9, 0x20
mov ecx, r9d
imul rdx, rcx
lea r10, [r10 + rdx*2]
mov edx, r8d
add r10, r9
mov r11, r10
xor r11, rbp
ror r11, 0x18
mov ecx, r11d
imul rdx, rcx
mov rcx, qword [rsp + 0x50]
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov qword [rcx], r8
xor r8, r9
mov r9, qword [rsp + 0x70]
ror r8, 0x10
mov ecx, r8d
imul rdx, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rdi + 0x200], r8
lea rdx, [r10 + rdx*2]
add rdx, r8
mov qword [rcx], rdx
xor rdx, r11
rol rdx, 1
mov qword [rdi + 0x80], rdx
mov ecx, ebx
mov edx, r12d
imul rdx, rcx
lea r8, [r12 + rdx*2]
mov edx, r9d
add r8, rbx
mov r10, r8
xor r10, qword [rsp + 0x68]
ror r10, 0x20
mov ecx, r10d
imul rdx, rcx
lea r9, [r9 + rdx*2]
mov edx, r8d
add r9, r10
mov r11, r9
xor r11, rbx
ror r11, 0x18
mov ecx, r11d
imul rdx, rcx
mov rcx, qword [rsp + 0x78]
lea r8, [r8 + rdx*2]
mov edx, r9d
add r8, r11
mov qword [rdi - 0x80], r8
xor r8, r10
ror r8, 0x10
mov qword [rcx], r8
mov ecx, r8d
imul rdx, rcx
mov rcx, qword [rsp + 0x80]
lea rdx, [r9 + rdx*2]
add rdx, r8
mov qword [rdi + 0x100], rdx
xor rdx, r11
rol rdx, 1
mov qword [rcx], rdx
add esi, 2
add rdi, 0x10
mov dword [rsp + 8], esi
mov qword [rsp], rdi
cmp esi, 0x70
jb 0x180038310
mov r9, qword [rsp + 0x88]
lea rdx, [rsp + 0x490]
mov rcx, r9
mov r8d, 8
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
ror byte [rdi], 0x11
mov r8b, 0xf
adc byte [rdx - 0x30], cl
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x180038810
lea rdx, [rsp + 0x90]
sub rdx, r9
lea r8, [rsp + 0x98]
sub r8, r9
nop dword [rax]
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 + 0x40], 1
jne 0x180038880
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.18007fbcd
lea r11, [rsp + 0x8a0]
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