Function at 0x1400bab2c
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x1400bb0cf
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
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14012a5e8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
mov qword [rbp - 0x80], rcx
xor eax, eax
movsxd rcx, edx
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x28]
sub rax, r12
mov qword [rbp - 0x40], rcx
mov rdx, qword [r12]
lea r11, [r12 + 0x50]
mov qword [rbp - 0x50], rax
lea rbx, [r12 + 0xa8]
lea rax, [rbp - 0x20]
sub rax, r12
mov qword [rbp - 0x48], rax
mov rax, qword [r12 + 0x28]
mov r10d, 4
xor rax, rdx
mov r9, r11
xor rax, qword [r12 + 0x78]
xor rax, qword [r11]
xor rax, qword [r12 + 0xa0]
lea r11d, [r10 + 1]
mov qword [rbp - 0x38], rax
mov rax, qword [r12 + 0x30]
xor rax, qword [r12 + 0x80]
xor rax, qword [r12 + 0x58]
xor rax, qword [rbx]
xor rax, qword [r12 + 8]
mov qword [rbp - 0x30], rax
mov rax, qword [r12 + 0x38]
xor rax, qword [r12 + 0x88]
xor rax, qword [r12 + 0x60]
xor rax, qword [r12 + 0xb0]
xor rax, qword [r12 + 0x10]
mov qword [rbp - 0x28], rax
mov rax, qword [r12 + 0x40]
xor rax, qword [r12 + 0x90]
xor rax, qword [r12 + 0x68]
xor rax, qword [r12 + 0xb8]
xor rax, qword [r12 + 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [r12 + 0x48]
xor rax, qword [r12 + 0x98]
xor rax, qword [r12 + 0x70]
xor rax, qword [r12 + 0xc0]
xor rax, qword [r12 + 0x20]
mov qword [rbp - 0x18], rax
lea ecx, [r10 - 3]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
mov ecx, r10d
mov r8, qword [rbp + rax*8 - 0x38]
mov eax, 0x66666667
imul r10d
rol r8, 1
inc r10d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
xor r8, qword [rbp + rax*8 - 0x38]
xor qword [r9 - 0x50], r8
xor qword [r9 - 0x28], r8
xor qword [r9], r8
xor qword [r9 + 0x28], r8
xor qword [r9 + 0x50], r8
lea r9, [r9 + 8]
sub r11, 1
jne 0x1400bac47
mov rax, qword [r12 + 0x30]
mov r10, qword [r12 + 0x60]
mov rbx, qword [r12 + 0xb8]
mov rcx, qword [r12 + 0xb0]
mov rdx, qword [r12 + 0x70]
mov r8, qword [r12 + 0xa0]
mov r11, qword [r12 + 0x98]
mov rdi, qword [r12 + 0x78]
mov rsi, qword [r12 + 0x20]
mov r14, qword [r12 + 0xc0]
mov r15, qword [r12 + 0xa8]
mov r9, qword [r12 + 0x10]
mov r13, qword [rbp - 0x80]
mov qword [rbp - 0x78], rax
mov rax, qword [r12 + 0x48]
ror qword [rbp - 0x78], 0x14
mov r13, qword [r13 + 0x80]
rol rax, 0x14
mov qword [rbp - 0x60], r13
mov r13, qword [rbp - 0x80]
mov qword [rbp - 0x68], r10
mov r10, qword [r12 + 0x68]
mov r12, qword [r12 + 0x40]
mov r13, qword [r13]
mov qword [rbp - 0x58], r13
mov r13, qword [rbp - 0x80]
ror rbx, 8
ror r12, 9
ror rdx, 0x19
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x98], rbx
lea rbx, [r13 + 0xa8]
mov qword [r13 + 0xb0], rdx
mov rdx, qword [rbp - 0x68]
mov qword [rbx], r12
mov r12, qword [rbp - 0x80]
ror rcx, 3
rol r8, 0x12
ror r9, 2
mov rax, qword [r12 + 0x28]
ror rax, 0x1c
mov qword [r12 + 0x80], rax
mov rax, qword [r12 + 0x18]
rol rax, 0x1c
mov qword [r12 + 0x28], rax
mov rax, qword [r12 + 0x90]
rol rax, 0x15
mov qword [r12 + 0x18], rax
mov rax, qword [r12 + 0x88]
rol rax, 0xf
mov qword [r12 + 0x90], rax
mov rax, qword [r12 + 0x58]
rol rax, 0xa
mov qword [r12 + 0x88], rax
mov rax, qword [r12 + 0x38]
rol rax, 6
mov qword [r12 + 0x58], rax
mov rax, qword [r12 + 0x50]
rol rax, 3
rol r10, 0x19
rol r11, 8
ror rdi, 0x17
rol rsi, 0x1b
rol r14, 0xe
rol r15, 2
mov qword [r13 + 0x48], rcx
mov qword [r13 + 0x70], r8
mov qword [r13 + 0xa0], r9
mov qword [r13 + 0x60], r10
mov qword [r13 + 0x68], r11
mov qword [r13 + 0xb8], rdi
mov qword [r13 + 0x78], rsi
mov qword [r13 + 0x20], r14
mov qword [r13 + 0xc0], r15
mov r13, qword [rbp - 0x60]
mov qword [r12 + 0x38], rax
mov rax, qword [r12 + 8]
ror r13, 0x13
ror rdx, 0x15
rol rax, 1
mov qword [r12 + 0x40], r13
mov r8, qword [rbp - 0x78]
lea r11, [r12 + 0x50]
mov qword [r11], rax
mov rax, r8
not rax
mov rcx, qword [rbp - 0x58]
and rax, rdx
xor rax, rcx
mov qword [r12], rax
mov rax, rdx
not rax
and rax, qword [r12 + 0x18]
xor rax, r8
mov qword [r12 + 8], rax
mov rax, qword [r12 + 0x18]
not rax
and rax, qword [r12 + 0x20]
xor rax, rdx
mov qword [r12 + 0x10], rax
mov rax, qword [r12 + 0x20]
not rax
and rax, rcx
not rcx
xor qword [r12 + 0x18], rax
and rcx, r8
xor qword [r12 + 0x20], rcx
mov rcx, qword [r12 + 0x30]
mov rdx, qword [r12 + 0x28]
mov rax, rcx
not rax
and rax, qword [r12 + 0x38]
xor rax, rdx
mov qword [r12 + 0x28], rax
mov rax, qword [r12 + 0x38]
not rax
and rax, qword [r12 + 0x40]
xor rax, rcx
mov qword [r12 + 0x30], rax
mov rax, qword [r12 + 0x40]
not rax
and rax, qword [r12 + 0x48]
xor qword [r12 + 0x38], rax
mov rax, qword [r12 + 0x48]
not rax
and rax, rdx
not rdx
xor qword [r12 + 0x40], rax
and rdx, rcx
xor qword [r12 + 0x48], rdx
mov rcx, qword [r12 + 0x58]
mov rdx, qword [r11]
mov rax, rcx
not rax
and rax, qword [r12 + 0x60]
xor rax, rdx
mov qword [r11], rax
mov rax, qword [r12 + 0x60]
not rax
and rax, qword [r12 + 0x68]
xor rax, rcx
mov qword [r12 + 0x58], rax
mov rax, qword [r12 + 0x68]
not rax
and rax, qword [r12 + 0x70]
xor qword [r12 + 0x60], rax
mov rax, qword [r12 + 0x70]
not rax
and rax, rdx
not rdx
xor qword [r12 + 0x68], rax
and rdx, rcx
xor qword [r12 + 0x70], rdx
mov r10, qword [r12 + 0x78]
mov r9, qword [r12 + 0x80]
mov r8, qword [r12 + 0x88]
mov rax, r9
mov rdx, qword [r12 + 0x90]
not rax
and rax, r8
xor rax, r10
mov qword [r12 + 0x78], rax
mov rcx, qword [r12 + 0x98]
mov rax, r8
not rax
and rax, rdx
xor rax, r9
mov qword [r12 + 0x80], rax
mov rax, rdx
not rax
and rax, rcx
xor rax, r8
mov r8, qword [rbp - 0x48]
mov qword [r12 + 0x88], rax
mov rax, rcx
not rax
and rax, r10
not r10
and r10, r9
xor rax, rdx
xor r10, rcx
mov qword [r12 + 0x90], rax
mov qword [r12 + 0x98], r10
mov r9d, 2
movups xmm1, xmmword [rbx]
mov rdx, qword [r12 + 0xa0]
movups xmm0, xmmword [rbx + 0x10]
mov qword [rbp - 0x38], rdx
movq r10, xmm1
movups xmmword [rbp - 0x30], xmm1
mov rcx, r10
mov qword [rbp - 0x30], r10
not rcx
psrldq xmm1, 8
movq rax, xmm1
and rcx, rax
xor rcx, rdx
mov qword [r12 + 0xa0], rcx
mov rcx, rbx
mov r12, qword [rbp - 0x50]
movups xmmword [rbp - 0x20], xmm0
mov rax, qword [r12 + rcx - 0xa8]
not rax
and rax, qword [r8 + rcx - 0xa8]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r9, 1
jne 0x1400bb037
mov r12, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x18]
not rax
and rax, rdx
not rdx
xor qword [r12 + 0xb8], rax
and rdx, r10
xor qword [r12 + 0xc0], rdx
lea rax, [0x140109110]
mov rax, qword [rax + rcx*8]
inc rcx
xor qword [r12], rax
mov rdx, qword [r12]
mov qword [rbp - 0x70], rcx
cmp rcx, qword [rbp - 0x40]
jl 0x1400bab97
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f3170
lea r11, [rsp + 0x80]
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