Function at 0x14007bce0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
movaps xmmword [rsp + 0x200], xmm6
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
test rdx, rdx
je 0x14007be7e
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.140058c30
mov ebp, eax
movaps xmm6, xmmword [0x14015cb80]
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
test byte [0x14019fb97], 0x40
je 0x14007bf62
mov eax, 0x40000000
and eax, dword [0x14019fb90]
je 0x14007bf62
lea rcx, [rsp + 0x1d0]
mov edx, 0x20
call fcn.140018990
test eax, eax
je 0x14007bf62
xor eax, eax
mov cl, byte [rbx + rax]
xor byte [rsp + rax + 0x1d0], cl
inc rax
cmp rax, 0x20
jne 0x14007bd77
lea rbx, [rsp + 0x98]
mov r8d, 0x138
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a5dc0
mov ecx, 1
call fcn.140050560
test rax, rax
je 0x14007beaa
mov r14, rax
mov r13, rax
add r13, 0x128
cmp dword [rax + 0x128], 0xfff
ja 0x14007bfac
cmp qword [r14 + 0x120], 0
jne 0x14007bfac
cmp dword [r14 + 0x130], ebp
jne 0x14007bfac
mov r15d, 0x10000
cmp rsi, r15
cmovb r15, rsi
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x1d0]
mov rcx, r14
mov rdx, rdi
mov r8, r15
call fcn.140080430
test eax, eax
je 0x14007c021
inc dword [r13]
sub rsi, r15
je 0x14007be75
add rdi, r15
mov ebp, 0x10000
lea r15, [rsp + 0x1d0]
cmp rsi, rbp
mov r12d, 0x10000
cmovb r12, rsi
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rdi
mov r8, r12
mov r9, r15
call fcn.140080430
test eax, eax
je 0x14007c021
add rdi, r12
inc dword [r13]
sub rsi, r12
jne 0x14007be3a
cmp r14, rbx
je 0x14007bf95
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1400a3c70
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x138
call fcn.14004afa0
test rax, rax
je 0x14007c019
mov r14, rax
lea r8, [0x140080670]
mov ecx, 1
mov rdx, rax
call fcn.14008cff0
test eax, eax
je 0x14007c019
mov dword [r14 + 0x12c], 0
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
xorps xmm0, xmm0
lea r12, [rsp + 0x30]
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
mov edx, 0x30
mov rcx, r15
call fcn.14008db20
mov rcx, r14
mov rdx, r15
mov r8, r12
xor r9d, r9d
call fcn.140080210
test eax, eax
je 0x14007c021
lea r13, [r14 + 0x128]
mov dword [r14 + 0x128], 0
mov qword [r14 + 0x120], 0
mov dword [r14 + 0x130], ebp
jmp 0x14007bdd2
test ebp, ebp
jne 0x14007bf7d
lea rcx, [rsp + 0x1d0]
mov edx, 0x20
call fcn.1401357c0
jmp 0x14007bd75
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1e0], xmm0
movaps xmmword [rsp + 0x1d0], xmm0
jmp 0x14007bd75
lea rcx, [rsp + 0x98]
mov edx, 0x120
call fcn.14004b040
jmp 0x14007be7e
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
xorps xmm0, xmm0
lea r12, [rsp + 0x30]
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
mov edx, 0x30
mov rcx, r15
call fcn.14008db20
mov rcx, r14
mov rdx, r15
mov r8, r12
xor r9d, r9d
call fcn.140121ce0
test eax, eax
je 0x14007c021
mov dword [r13], 0
mov qword [r14 + 0x120], 0
mov dword [r14 + 0x130], ebp
jmp 0x14007bded
mov r14, rbx
jmp 0x14007bedc
call fcn.1400bc130
int3