Function at 0x14003e780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1400dc160]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r11, rdx
mov qword [rbp - 0x69], rcx
xor r9d, r9d
lea r10, [rbp - 0x19]
lea eax, [r9*4]
inc r9d
movzx r8d, byte [rax + r11]
lea r10, [r10 + 4]
shl r8d, 8
mov edx, eax
movzx eax, byte [r11 + rax + 1]
or r8d, eax
shl r8d, 8
movzx eax, byte [rdx + r11 + 2]
or r8d, eax
movzx eax, byte [rdx + r11 + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
cmp r9d, 0x10
jb 0x14003e7c0
mov esi, dword [rcx + 0x20]
mov ebx, 0x299f31d0
mov r14d, dword [rcx + 0x24]
xor esi, 0x243f6a88
mov r15d, dword [rcx + 0x28]
xor r14d, 0x85a308d3
mov r12d, dword [rcx + 0x2c]
xor r15d, 0x13198a2e
movups xmm0, xmmword [rcx]
xor r12d, 0x3707344
mov r10d, 0xa4093822
cmp dword [rcx + 0x3c], 0
mov r13d, 0x82efa98
movups xmm1, xmmword [rcx + 0x10]
mov r11d, 0xec4e6c89
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm1
jne 0x14003e86c
xor r10d, dword [rcx + 0x30]
xor ebx, dword [rcx + 0x30]
xor r13d, dword [rcx + 0x34]
xor r11d, dword [rcx + 0x34]
mov eax, dword [rbp - 0x41]
lea r8, [0x1400aa330]
mov edx, dword [rbp - 0x45]
mov r9d, dword [rbp - 0x4d]
mov ecx, dword [rbp - 0x3d]
mov edi, dword [rbp - 0x59]
mov dword [rsp + 0xc], eax
mov eax, dword [rbp - 0x51]
mov dword [rsp + 0x18], edx
mov edx, dword [rbp - 0x49]
mov dword [rsp], r9d
mov r9d, dword [rbp - 0x55]
mov dword [rsp + 0x10], edx
mov dword [rsp + 4], eax
mov dword [rsp + 8], r9d
mov qword [rbp - 0x79], r8
mov qword [rbp - 0x71], select
movzx eax, byte [r8]
lea r9, [rax*4]
movzx eax, byte [r8 + 1]
lea r8, [rax*4]
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, edx
add edi, eax
mov eax, dword [rbp + r8 - 0x19]
mov edx, edi
lea r8, [0x1400aa410]
xor eax, dword [r9 + r8]
xor edx, r10d
mov r10d, dword [rsp + 0x10]
rol edx, 0x10
add esi, edx
xor r10d, esi
ror r10d, 0xc
add eax, r10d
add edi, eax
mov dword [rsp + 0x14], edi
xor edi, edx
mov rdx, qword [rbp - 0x79]
ror edi, 8
add esi, edi
xor r10d, esi
movzx eax, byte [rdx + 2]
ror r10d, 7
mov dword [rsp + 0x10], r10d
mov r10d, dword [rsp + 0x18]
lea r9, [rax*4]
movzx eax, byte [rdx + 3]
mov edx, dword [rsp + 8]
lea r8, [rax*4]
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, r10d
add edx, eax
mov eax, dword [rbp + r8 - 0x19]
mov dword [rsp + 8], edx
lea r8, [0x1400aa410]
xor eax, dword [r9 + r8]
xor edx, ebx
mov r9d, dword [rsp + 8]
rol edx, 0x10
add r14d, edx
xor r10d, r14d
ror r10d, 0xc
add eax, r10d
add r9d, eax
mov ebx, r9d
mov dword [rsp + 8], r9d
xor ebx, edx
mov rdx, qword [rbp - 0x79]
ror ebx, 8
add r14d, ebx
xor r10d, r14d
movzx eax, byte [rdx + 4]
ror r10d, 7
mov dword [rsp + 0x18], r10d
mov r10d, dword [rsp + 4]
lea r9, [rax*4]
movzx eax, byte [rdx + 5]
lea r8, [rax*4]
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, dword [rsp + 0xc]
add r10d, eax
mov eax, dword [rbp + r8 - 0x19]
mov edx, r10d
lea r8, [0x1400aa410]
xor edx, r13d
mov r13d, dword [rsp + 0xc]
rol edx, 0x10
add r15d, edx
xor r13d, r15d
ror r13d, 0xc
xor eax, dword [r9 + r8]
add eax, r13d
add r10d, eax
mov dword [rsp + 4], r10d
xor r10d, edx
ror r10d, 8
lea rdx, [0x1400aa410]
add r15d, r10d
xor r13d, r15d
ror r13d, 7
mov dword [rsp + 0xc], r13d
mov r13, qword [rbp - 0x79]
movzx eax, byte [r13 + 7]
lea r9, [rax*4]
movzx eax, byte [r13 + 6]
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
mov edx, dword [rsp]
add eax, ecx
add edx, eax
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
mov dword [rsp], edx
xor edx, r11d
mov r9d, dword [rsp]
rol edx, 0x10
add r12d, edx
xor ecx, r12d
ror ecx, 0xc
add eax, ecx
add r9d, eax
movzx eax, byte [r13 + 0xe]
mov dword [rsp], r9d
mov r11d, r9d
xor r11d, edx
ror r11d, 8
lea r9, [rax*4]
add r12d, r11d
movzx eax, byte [r13 + 0xf]
xor ecx, r12d
mov r13d, dword [rsp]
ror ecx, 7
lea r8, [rax*4]
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, dword [rsp + 0x10]
add r13d, eax
mov eax, dword [rbp + r8 - 0x19]
mov edx, r13d
lea r8, [0x1400aa410]
xor eax, dword [r9 + r8]
xor edx, r10d
mov r10d, dword [rsp + 0x10]
rol edx, 0x10
add r14d, edx
xor r10d, r14d
ror r10d, 0xc
add eax, r10d
add r13d, eax
mov dword [rsp], r13d
mov dword [rbp - 0x4d], r13d
xor r13d, edx
ror r13d, 8
lea rdx, [0x1400aa410]
add r14d, r13d
xor r10d, r14d
ror r10d, 7
mov dword [rsp + 0x10], r10d
mov dword [rbp - 0x49], r10d
mov r10, qword [rbp - 0x79]
movzx eax, byte [r10 + 0xd]
lea r9, [rax*4]
movzx eax, byte [r10 + 0xc]
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
mov edx, dword [rsp + 4]
add eax, ecx
add edx, eax
mov dword [rsp + 4], edx
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor edx, ebx
xor eax, dword [rbp + r9 - 0x19]
mov r8d, dword [rsp + 4]
rol edx, 0x10
add esi, edx
xor ecx, esi
ror ecx, 0xc
add eax, ecx
add r8d, eax
movzx eax, byte [r10 + 9]
mov ebx, r8d
mov dword [rsp + 4], r8d
xor ebx, edx
mov dword [rbp - 0x51], r8d
lea rdx, [0x1400aa410]
ror ebx, 8
lea r9, [rax*4]
add esi, ebx
movzx eax, byte [r10 + 8]
xor ecx, esi
mov r10d, dword [rsp + 0x18]
ror ecx, 7
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
mov edx, dword [rsp + 0x14]
add eax, r10d
add edx, eax
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
mov dword [rsp + 0x14], edx
xor edx, r11d
mov r8d, dword [rsp + 0x14]
rol edx, 0x10
add r15d, edx
xor r10d, r15d
ror r10d, 0xc
add eax, r10d
add r8d, eax
mov r11d, r8d
mov dword [rsp + 0x14], r8d
xor r11d, edx
mov dword [rbp - 0x59], r8d
mov rdx, qword [rbp - 0x79]
ror r11d, 8
add r15d, r11d
xor r10d, r15d
movzx eax, byte [rdx + 0xb]
ror r10d, 7
mov dword [rsp + 0x18], r10d
mov dword [rbp - 0x45], r10d
mov r10d, dword [rsp + 8]
lea r9, [rax*4]
movzx eax, byte [rdx + 0xa]
lea rdx, [0x1400aa410]
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
add eax, dword [rsp + 0xc]
add r10d, eax
lea rax, [0x1400aa410]
mov eax, dword [r8 + rax]
mov edx, r10d
xor eax, dword [rbp + r9 - 0x19]
xor edx, edi
mov edi, dword [rsp + 0xc]
rol edx, 0x10
add r12d, edx
xor edi, r12d
ror edi, 0xc
add eax, edi
add r10d, eax
mov dword [rsp + 8], r10d
mov dword [rbp - 0x55], r10d
xor r10d, edx
ror r10d, 8
add r12d, r10d
mov r8, qword [rbp - 0x79]
xor edi, r12d
mov edx, dword [rsp + 0x10]
add r8, 0x10
ror edi, 7
sub qword [rbp - 0x71], 1
mov dword [rsp + 0xc], edi
mov dword [rbp - 0x41], edi
mov edi, dword [rsp + 0x14]
mov qword [rbp - 0x79], r8
jne 0x14003e8b2
mov r8d, 2
mov dword [rbp - 0x29], r10d
mov dword [rbp - 0x3d], ecx
lea r9, [rbp - 0x55]
mov rcx, qword [rbp - 0x69]
mov dword [rbp - 0x39], esi
lea r10d, [r8 + 2]
mov dword [rbp - 0x35], r14d
mov dword [rbp - 0x31], r15d
mov dword [rbp - 0x2d], r12d
mov dword [rbp - 0x25], ebx
mov dword [rbp - 0x21], r13d
mov dword [rbp - 0x1d], r11d
nop dword [rax + rax]
lea rax, [r8 - 2]
and eax, 7
lea r9, [r9 + 0x10]
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 0x14]
xor dword [rdx], eax
lea rax, [r8 - 1]
and eax, 7
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 0x10]
xor dword [rdx], eax
mov rax, r8
and eax, 7
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 0xc]
xor dword [rdx], eax
lea rax, [r8 + 1]
and eax, 7
add r8, 4
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 8]
xor dword [rdx], eax
sub r10, 1
jne 0x14003ed00
mov eax, dword [rcx]
xor eax, dword [rcx + 0x20]
mov dword [rcx], eax
mov eax, dword [rcx + 4]
xor eax, dword [rcx + 0x24]
mov dword [rcx + 4], eax
mov eax, dword [rcx + 0x28]
xor dword [rcx + 8], eax
mov eax, dword [rcx + 0x2c]
xor dword [rcx + 0xc], eax
mov eax, dword [rcx + 0x20]
xor dword [rcx + 0x10], eax
mov eax, dword [rcx + 0x24]
xor dword [rcx + 0x14], eax
mov eax, dword [rcx + 0x28]
xor dword [rcx + 0x18], eax
mov eax, dword [rcx + 0x2c]
xor dword [rcx + 0x1c], eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14005c600
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret