Function at 0x1400ba298
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [rbp + 0x160]
mov rdi, r8
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
and qword [rsp + 0x30], 0
mov esi, edx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov r13, r9
call fcn.1400ce72c
mov ebx, eax
test eax, eax
jns 0x1400ba2f4
mov ecx, eax
call fcn.14003e510
jmp 0x1400ba509
mov edx, 0x20
lea ebx, [rdx + 0x20]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14003be64
mov r14, qword [rsp + 0x30]
test r14, r14
jne 0x1400ba324
mov ebx, 0x8007000e
mov ecx, ebx
jmp 0x1400ba2ea
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r9, [0x1400b5740]
lea rcx, [rsp + 0x38]
lea r8d, [rdx - 0xf]
call fcn.14003c3cc
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x40], rdi
call fcn.14003a734
lea rcx, [rsp + 0x50]
call fcn.14003a734
cmp dword [rsp + 0x20], ebx
jbe 0x1400ba36c
mov ebx, 0x80004005
mov ecx, ebx
jmp 0x1400ba498
mov r8, rbx
lea rcx, [rbp + 0x70]
xor edx, edx
call fcn.14001bade
mov r8, rbx
lea rcx, [rbp + 0xb0]
xor edx, edx
call fcn.14001bade
mov edi, dword [rsp + 0x20]
lea rcx, [rbp + 0x70]
mov rdx, qword [rsp + 0x28]
mov r8d, edi
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 0xb0]
mov r8d, edi
call sub.msvcrt.dll_memcpy
xor eax, eax
lea ecx, [rax + 4]
movdqu xmm0, xmmword [rbp + rax + 0x70]
lea rax, [rax + 0x10]
pxor xmm0, xmmword [str.6666666666666666_]
movdqu xmmword [rbp + rax + 0x60], xmm0
movdqu xmm0, xmmword [rbp + rax + 0xa0]
pxor xmm0, xmmword [0x1403a6320]
movdqu xmmword [rbp + rax + 0xa0], xmm0
sub rcx, 1
jne 0x1400ba3b9
mov r8d, ebx
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.14007a5f8
mov ebx, eax
test eax, eax
js 0x1400ba496
xor esi, esi
lea rdi, [rsp + 0x40]
mov r8d, dword [rdi - 8]
lea rcx, [rbp - 0x20]
mov rdx, qword [rdi]
call fcn.14007a5f8
mov ebx, eax
test eax, eax
js 0x1400ba496
inc esi
add rdi, 0x10
cmp esi, 1
jb 0x1400ba412
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x20]
call fcn.1400629a8
mov ebx, eax
test eax, eax
js 0x1400ba496
mov r8d, 0x40
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.14007a5f8
mov ebx, eax
test eax, eax
js 0x1400ba496
mov r8d, 0x20
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.14007a5f8
mov ebx, eax
test eax, eax
js 0x1400ba496
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400629a8
mov ebx, eax
test eax, eax
jns 0x1400ba49d
mov ecx, eax
call fcn.14003e510
xor eax, eax
lea rdi, [rbp + 0x70]
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
lea ecx, [rax + 0x40]
lea rdi, [rbp + 0xb0]
rep stosb byte [rdi], al
mov ecx, ebx
call fcn.14006a5bc
test ebx, ebx
jns 0x1400ba4c6
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
test ebx, ebx
jns 0x1400ba4d8
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
test ebx, ebx
js 0x1400ba320
mov ecx, dword [rsp + 0x20]
xor eax, eax
mov rdi, qword [rsp + 0x28]
and qword [rsp + 0x30], rax
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov dword [r13], 0x20
mov qword [rax], r14
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x30]
call fcn.14003b754
lea rcx, [rsp + 0x28]
call fcn.14003b754
mov eax, ebx
mov rbx, qword [rsp + 0x248]
add rsp, 0x210
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret