Function at 0x1400b6a60
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
mov r13, rdx
push r12
push rdi
push rsi
mov rsi, rcx
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x110
mov r12, qword [rbp + 0x38]
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rcx, r12
call fcn.140052e80
mov rcx, r12
mov qword [rsp + 0x78], rax
call fcn.140052f20
mov qword [rsp + 0x70], rax
mov eax, dword [r12 + 0x20]
lea ecx, [rax + rax*2]
shl rcx, 3
call sub.msvcrt.dll_malloc
mov edx, dword [r12 + 0xc]
mov rbx, qword [rsi]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x80], rax
mov eax, dword [r12 + 0x14]
add eax, edx
lea edx, [rdx + rdx*2]
add edx, edx
cmp eax, edx
cmovb eax, edx
mov ecx, eax
call sub.msvcrt.dll_malloc
mov ecx, 0x20
mov qword [rsp + 0x90], rax
call sub.msvcrt.dll_malloc
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x88], rax
call fcn.140052ff0
mov edi, dword [r12 + 0x20]
lea r14, [rdi + rdi*2]
shl r14, 3
mov rcx, r14
call sub.msvcrt.dll_malloc
mov rcx, r14
mov qword [rsp + 0x68], rax
call sub.msvcrt.dll_malloc
mov ecx, edi
imul ecx, dword [r12 + 0xc]
mov qword [rsp + 0x60], rax
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x1400b703f
mov rsi, rax
mov rax, qword [rsp + 0x78]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0xc4], 1
mov r15, qword [rsp + 0x68]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xe0], r14
mov rdx, r12
mov rcx, r15
call fcn.1400531c0
mov rcx, qword [rsp + 0xe0]
mov rdx, r12
call fcn.1400531c0
mov eax, dword [r12 + 0x14]
mov rdx, qword [r15 + 8]
mov rbx, qword [rsp + 0xd8]
mov r10, qword [rsp + 0x80]
sub eax, 1
mov r8, qword [rsp + 0xe0]
mov byte [rdx + rax], 0
mov edx, dword [rsp + 0xc4]
shl rbx, 0x21
shr rbx, 0x23
mov eax, edx
mov edi, edx
add rbx, r10
neg edx
not eax
shr edi, 3
movzx r9d, byte [rbx]
mov r14d, edx
and eax, 7
add rdi, r10
and r14d, 7
mov ecx, eax
mov dword [rsp + 0xa0], eax
movzx edx, byte [rdi]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], r12
sar edx, cl
mov ecx, r14d
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x20]
sar r9d, cl
and edx, 1
add edx, edx
mov rcx, qword [rsp + 0xe8]
and r9d, 1
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
or r9d, edx
mov rdx, r15
mov qword [rsp + 0x20], rax
call fcn.1400b71c0
movzx edx, byte [rdi]
movzx ebx, byte [rbx]
mov r9, r12
mov eax, dword [rsp + 0xa0]
movdqu xmm4, xmmword [r15]
mov ecx, eax
movaps xmmword [rsp + 0xf0], xmm4
sar edx, cl
mov ecx, r14d
and edx, 1
sar ebx, cl
lea eax, [rdx + rdx]
and ebx, 1
or ebx, eax
mov rax, qword [r15 + 0x10]
movzx edx, bl
mov r11, rbx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xe8]
and r11d, 3
mov dword [rsp + 0xa0], edx
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rax]
mov qword [rsp + 0xb0], r11
mov r8, qword [rdx + r11*8]
mov rdx, qword [rsp + 0xb8]
call fcn.140047680
lea eax, [rbx + 1]
mov ecx, 0xaaaaaaab
mov r9, r12
movzx r14d, al
mov rdi, qword [rsp + 0xe0]
mov r10, qword [rsp + 0xd0]
mov rax, r14
imul r14, rcx
movdqu xmm5, xmmword [rdi]
shr r14, 0x21
movaps xmmword [rsp + 0xf0], xmm5
lea edx, [r14 + r14*2]
mov r14d, eax
mov rax, qword [rdi + 0x10]
movaps xmmword [rsp + 0xa0], xmm5
sub r14d, edx
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xe8]
movsxd rdi, r14d
mov r8, qword [r10 + rdi*8]
mov rcx, qword [rax + 8]
call fcn.140047680
lea edx, [rbx + 2]
mov ecx, 0xaaaaaaab
movzx eax, dl
mov rdx, rax
imul rax, rcx
mov r8d, edx
mov rdx, qword [rsp + 0xd0]
shr rax, 0x21
lea ecx, [rax + rax*2]
mov rax, qword [rsp + 0xe8]
sub r8d, ecx
movsxd r10, r8d
mov r8d, dword [r12 + 0x28]
mov rcx, qword [rdx + r10*8]
mov rdx, qword [rax + 0x20]
mov qword [rsp + 0xa0], r10
call sub.msvcrt.dll_memcpy
cmp dword [r12 + 0x2c], 1
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0xb0]
je 0x1400b6f60
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc8]
movzx ebx, bl
lea r8, [rax + rax*2]
mov rax, qword [r15 + 0x10]
add rbx, r8
add rdi, r8
mov qword [rcx + rbx*8], rax
mov rbx, qword [rsp + 0xe0]
mov rdx, qword [rbx + 0x10]
mov qword [rcx + rdi*8], rdx
mov ecx, dword [r12 + 0x10]
test rcx, rcx
je 0x1400b7160
lea rbx, [rdx + 4]
mov r11, rsi
lea rdi, [rax + 4]
sub r11, rbx
mov rbx, rsi
cmp r11, 8
seta r11b
sub rbx, rdi
cmp rbx, 8
seta bl
test r11b, bl
je 0x1400b7000
cmp ecx, 1
je 0x1400b7000
lea r9, [rcx - 1]
mov r11, rcx
cmp r9, 2
jbe 0x1400b717a
shr r11, 2
xor r9d, r9d
shl r11, 4
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + r9]
movdqu xmm2, xmmword [rdx + r9]
movdqu xmm3, xmmword [r13 + r9]
pxor xmm0, xmm2
pxor xmm0, xmm3
movups xmmword [rsi + r9], xmm0
add r9, 0x10
cmp r9, r11
jne 0x1400b6e68
mov r9, rcx
and r9, 0xfffffffffffffffc
cmp r9, rcx
je 0x1400b6eea
mov r11, rcx
sub r11, r9
cmp r11, 1
je 0x1400b6ed9
movq xmm1, qword [rdx + r9*4]
movq xmm0, qword [rax + r9*4]
mov rbx, r11
and rbx, 0xfffffffffffffffe
pxor xmm0, xmm1
movq xmm1, qword [r13 + r9*4]
pxor xmm0, xmm1
movq qword [rsi + r9*4], xmm0
add r9, rbx
cmp r11, rbx
je 0x1400b6eea
mov eax, dword [rax + r9*4]
xor eax, dword [rdx + r9*4]
xor eax, dword [r13 + r9*4]
mov dword [rsi + r9*4], eax
lea rcx, [rsi + rcx*4]
mov rdi, qword [rsp + 0xc8]
lea rax, [r10 + r8]
mov edx, dword [r12 + 0x20]
add r15, 0x18
add qword [rsp + 0xd8], 1
mov qword [rdi + rax*8], rsi
mov rax, rdx
mov rsi, qword [rsp + 0xd8]
add qword [rsp + 0xe0], 0x18
add dword [rsp + 0xc4], 2
add qword [rsp + 0xe8], 0x30
add qword [rsp + 0xd0], 0x18
add qword [rsp + 0x98], 0x18
cmp rdx, rsi
jbe 0x1400b7030
mov rsi, rcx
jmp 0x1400b6bb0
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xe8]
mov r8, r15
mov r9, qword [rax + r11*8]
mov qword [rsp + 0x20], r12
mov rdx, qword [rcx]
movzx ecx, bl
call fcn.140048460
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x98]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rcx + 8]
mov r9, qword [rax + rdi*8]
mov qword [rsp + 0x20], r12
mov ecx, r14d
call fcn.140048460
test bl, bl
mov r10, qword [rsp + 0xa0]
jne 0x1400b7170
mov r8d, dword [r12 + 0x1c]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], r10
mov rcx, qword [rax + r10*8]
mov rax, qword [rsp + 0xe8]
mov rdx, qword [rax + 0x28]
call sub.msvcrt.dll_memcpy
mov r10, qword [rsp + 0xa0]
jmp 0x1400b6dcf
xor r9d, r9d
nop dword [rax + rax]
mov r11d, dword [rdx + r9*4]
xor r11d, dword [rax + r9*4]
xor r11d, dword [r13 + r9*4]
mov dword [rsi + r9*4], r11d
add r9, 1
cmp rcx, r9
jne 0x1400b7008
jmp 0x1400b6eea
add eax, eax
je 0x1400b703f
sub eax, 1
shr eax, 3
lea ecx, [rax + 1]
jmp 0x1400b7041
xor ecx, ecx
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x40], r12
mov rdx, qword [rbp + 0x20]
mov rcx, r13
mov r14, rax
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
xor r13d, r13d
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
call fcn.140048560
test r14, r14
je 0x1400b709d
mov eax, dword [r12 + 0x20]
add eax, eax
jne 0x1400b7182
mov rcx, r14
xor esi, esi
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x78]
call fcn.14007d830
mov eax, dword [r12 + 0x20]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
test eax, eax
je 0x1400b70f6
nop
mov rcx, rdi
add rsi, 1
add rdi, 0x18
call fcn.14007d960
mov rcx, rbx
add rbx, 0x18
call fcn.14007d960
mov eax, dword [r12 + 0x20]
cmp rax, rsi
ja 0x1400b70d0
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x90]
call sub.msvcrt.dll_free
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call fcn.14007d880
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x70]
call fcn.14007d850
mov rcx, qword [rsp + 0xc8]
call sub.msvcrt.dll_free
lea rsp, [rbp - 0x38]
mov eax, r13d
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rsi
jmp 0x1400b6eee
mov r8d, dword [r12 + 0x18]
jmp 0x1400b6fc9
xor r9d, r9d
jmp 0x1400b6ea9
sub eax, 1
mov rcx, qword [rsp + 0x80]
mov rdx, r14
xor r13d, r13d
shr eax, 3
lea r8d, [rax + 1]
and r8d, 0x3fffffff
call sub.msvcrt.dll_memcmp
test eax, eax
setne r13b
jmp 0x1400b709d