Function at 0x1400be308
Capabilities:
Encode data using xor

Disassembly:
xchg r12, rbx
mov qword [rsp + 0x10], r12
xchg rbx, r12
mov qword [rsp + 0x18], rsi
nop
sub rsp, 8
mov qword [rsp], rbp
nop
mov qword [rsp - 8], rdi
sub rsp, 8
nop
mov qword [rsp - 8], r13
sub rsp, 8
nop
mov qword [rsp - 8], r14
sub rsp, 8
push r15
mov rbp, rsp
add rsp, 0x55e9d687
sub rsp, 0x55e9d707
xor esi, esi
mov dword [rsp - 0x18], 0x319e8e0f
mov rbx, rcx
lea r14d, [rsi + 9]
cmp qword [rcx + 0x20], rsi
jne 0x1400be50e
mov dword [rsp - 0x44], 0x5faa3e8a
mov eax, 0x69468882
sub eax, 0x22ffc1e5
add eax, 0x157a467d
sub eax, 0x5bc10c52
mov dword [rbp - 0x60], 0x6ad42b52
sub dword [rbp - 0x60], 0x40e3f0eb
xor dword [rbp - 0x60], 0x53907664
xor dword [rbp - 0x60], 0x2d1438e3
sub dword [rbp - 0x60], 0x56fe73f5
mov word [rbp - 0x50], ax
mov dword [rbp - 0x5c], 0x558b302f
sub dword [rbp - 0x5c], 0x16205555
xor dword [rbp - 0x5c], 0x478004ad
sub dword [rbp - 0x5c], 0x1d6eafe
sub dword [rbp - 0x5c], 0x770bf2a8
mov dword [rbp - 0x58], 0x33791a93
add dword [rbp - 0x58], 0x25074394
sub dword [rbp - 0x58], 0x14d54351
xor dword [rbp - 0x58], 0x3d579fec
sub dword [rbp - 0x58], 0x7ec884a4
mov dword [rbp - 0x54], 0x6a6d65b6
xor dword [rbp - 0x54], 0x31eb5013
sub dword [rbp - 0x54], 0x4fde063
sub dword [rbp - 0x54], 0x89ba271
xor dword [rbp - 0x54], 0x4dbbb201
mov qword [rbp + 0x30], rsi
xchg rsi, rsi
xchg r15, rax
mov r15, qword [rbp + 0x30]
xchg r15, rax
xchg rcx, r15
mov r15, qword [rbp + 0x30]
xchg r15, rcx
mov rax, qword [rbp + 0x30]
and cl, 3
mov r14, r14
shl cl, 2
shl cl, 1
movzx edx, word [rbp + rax*2 - 0x60]
mov dword [rsp - 0x44], 0x187494bb
mov eax, 0x26ac3dfa
xor eax, 0x7943c34e
xor eax, 0x21357f73
sub eax, 0x5af4000b
add eax, 0x17cd98e8
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x30], edx
mov rax, qword [rbp + 0x30]
xor cx, dx
mov word [rbp + rax*2 - 0x4e], cx
mov dword [rsp - 0x40], 0x5e34ef14
xchg r8, rax
mov r8, qword [rbp + 0x30]
xchg r8, rax
inc rax
xchg r12, r12
mov qword [rbp + 0x30], rax
xchg rbx, rax
mov rbx, qword [rbp + 0x30]
xchg rbx, rax
cmp rax, r14
jb 0x1400be428
mov r12, r12
xor edx, edx
mov word [rbp - 0x3c], si
lea rcx, [rbp - 0x4e]
mov dword [rsp - 0x40], 0x201d124d
call fcn.14008bd40
xchg r13, r8
mov r13, rax
xchg r8, r13
xchg r15, rax
mov qword [rbx + 0x20], r15
xchg r15, rax
xor eax, eax
lea rdi, [rbp - 0x4e]
mov rcx, r14
mov dword [rsp - 0x38], 0x5e79fbba
rep stosb byte [rdi], al
test r8, r8
je 0x1400be6c0
lea rdx, [rbx + 0x30]
mov r14, r14
xchg rcx, r8
mov r8, rcx
xchg r8, rcx
call fcn.1400be714
xchg rbp, rbp
test al, al
je 0x1400be6c0
cmp qword [rbx + 0x28], rsi
xchg rsi, rsi
jne 0x1400be6c7
mov dword [rbp - 0x3a], 0x2bddaa6c
sub dword [rbp - 0x3a], 0x1ebf1c24
sub dword [rbp - 0x3a], 0xbc2c207
add dword [rbp - 0x3a], 0x746af2b
sub dword [rbp - 0x3a], 0x82c7a81
mov dword [rbp - 0x36], 0x64e8c8ad
xor dword [rbp - 0x36], 0x3f74492f
sub dword [rbp - 0x36], 0x2166bdd1
add dword [rbp - 0x36], 0x13391921
sub dword [rbp - 0x36], 0x4cf4dc01
mov dword [rbp - 0x32], 0x562498cb
sub dword [rbp - 0x32], 0xbaf1c37
sub dword [rbp - 0x32], 0x3eb97594
add dword [rbp - 0x32], 0x2be46bcb
sub dword [rbp - 0x32], 0x373271fa
mov dword [rbp - 0x2e], 0x573ea8a1
sub dword [rbp - 0x2e], 0x4f9eb235
add dword [rbp - 0x2e], 0x12d37c6e
sub dword [rbp - 0x2e], 0x1475c7e3
xor dword [rbp - 0x2e], 0x5f4aa70
mov dword [rbp - 0x2a], 0x3697eee3
add dword [rbp - 0x2a], 0xf995554
xor dword [rbp - 0x2a], 0x32e29b3
sub dword [rbp - 0x2a], 0x44a16cfa
mov dword [rbp - 0x26], 0x75165d44
xor dword [rbp - 0x26], 0x22b24e7e
add dword [rbp - 0x26], 0x14a7f48
xor dword [rbp - 0x26], 0x4b81ac3c
sub dword [rbp - 0x26], 0x13183de6
mov qword [rbp + 0x30], rsi
mov rax, qword [rbp + 0x30]
mov r13, r13
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
and cl, 3
mov dword [rsp - 0x10], 0x1a9d46b2
shl cl, 1
shl cl, 2
movzx edx, word [rbp + rax*2 - 0x3a]
mov eax, 0x27ef5621
add eax, 0x2285ffb2
xor eax, 0x3d01ec07
sub eax, 0x3bc09f30
shr eax, cl
mov dword [rsp - 0x30], ebx
movzx ecx, al
mov rax, qword [rbp + 0x30]
xor cx, dx
mov dword [rsp - 0x28], 0x783c3802
mov word [rbp + rax*2 - 0x22], cx
mov rax, qword [rbp + 0x30]
inc rax
xchg rdi, rax
mov qword [rbp + 0x30], rdi
xchg rdi, rax
mov rax, qword [rbp + 0x30]
mov r10, r10
cmp rax, 0xc
jb 0x1400be5f1
xor edx, edx
mov word [rbp - 0xa], si
mov dword [rsp - 0x34], 0x7c16abaa
lea rcx, [rbp - 0x22]
call fcn.14008bd40
mov r8, rax
xchg r14, rax
mov qword [rbx + 0x28], r14
xchg r14, rax
xor eax, eax
mov dword [rsp - 0x38], ecx
lea rdi, [rbp - 0x22]
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
xchg rsi, rsi
test r8, r8
je 0x1400be6c0
lea rdx, [rbx + 0x58]
xchg rcx, r10
mov r10, r8
xchg rcx, r10
call fcn.1400beb54
mov dword [rsp - 0x2c], 0x23e28d71
test al, al
setne al
jmp 0x1400be6cf
xor al, al
jmp 0x1400be6cf
mov al, 0x60
xor al, 0x55
xor al, 0x46
sub al, 0x72
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rdi, rdi
xchg rsi, r13
mov r13, qword [r11 + 0x40]
xchg r13, rsi
xchg r11, rsp
mov r11, rsp
xchg rsp, r11
nop
add rsp, 8
mov r15, qword [rsp - 8]
pop r14
pop r13
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
mov rbp, qword [rsp]
add rsp, 8
ret