Function at 0x1400b00c4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r15, qword [rcx + 0x10]
and qword [rax + 0x18], 0
mov eax, 0xfffffff
mov r8d, dword [r15 + 9]
mov r11d, dword [r15 + 5]
inc r15
and r11, rax
lea r10, [0x140000000]
and r8, rax
mov rax, qword [0x14010bb18]
mov rdi, rcx
mov rcx, r10
add r11, r10
sub rcx, rax
mov rsi, rdx
mov qword [rsp + 0x28], r15
mov r12, 0xfffffffffffff000
mov qword [rsp + 0x30], rcx
jne 0x1400b01c1
xor r10d, r10d
test r8, r8
je 0x1400b0500
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov edi, 0xc8659bb1
mov r13d, 0x7fffffff
movzx ecx, byte [r11 + r10]
inc r10
sub ecx, 0x379a644f
add r9d, ecx
add ecx, eax
mov eax, ecx
ror ecx, 1
imul eax, eax, 0x555b
rol eax, 1
xor eax, ecx
imul rax, rdi
mov qword [rsp + 0x28], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x28]
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
lea edx, [rdx + rax*2]
and ecx, r13d
sub edx, ecx
mov eax, edx
sar eax, 0x1f
and eax, r13d
add eax, edx
imul eax, eax, 0xc8659bb1
ror eax, 0x1b
add r9d, eax
cmp r10, r8
jb 0x1400b0153
mov rdi, qword [rbp + 0x10]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x20], r9d
jmp 0x1400b0500
movsxd rdx, dword [0x14000003c]
lea rax, [r11 + r8]
lea rcx, [0x140000000]
mov qword [rsp + 0x50], rax
lea rax, [0x1400000b0]
add rdx, rax
mov eax, r11d
mov esi, dword [rdx + 4]
sub eax, r10d
lea r15, [rax + r8]
mov r8d, dword [rdx]
mov r9d, eax
mov r14, r15
and r9, r12
mov r10d, eax
and r14, r12
add r8, rcx
sub r10, r9
sub r15, r14
add rsi, r8
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x48], r15
jmp 0x1400b022d
mov eax, dword [r8]
cmp rax, r9
jae 0x1400b0232
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rsi
jne 0x1400b021e
xor ebx, ebx
cmp r8, rsi
je 0x1400b026b
mov eax, dword [r8]
cmp rax, r9
jne 0x1400b026b
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1400b026b
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, r10
jae 0x1400b026b
inc rbx
add rdx, 2
cmp rbx, rcx
jne 0x1400b0252
mov r9d, dword [rbp + 0x24]
mov r12d, dword [rbp + 0x20]
mov r13d, 0x7fffffff
cmp r8, rsi
je 0x1400b046a
mov eax, dword [r8]
cmp rax, r14
ja 0x1400b046a
mov ecx, dword [r8 + 4]
lea rax, [rcx - 8]
shr rax, 1
cmp rbx, rax
jne 0x1400b02ba
add r8, rcx
cmp r8, rsi
je 0x1400b046a
mov eax, dword [r8]
cmp rax, r14
ja 0x1400b046a
xor ebx, ebx
jmp 0x1400b028e
mov eax, dword [r8]
cmp rax, r14
jne 0x1400b02d6
movzx eax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, r15
jae 0x1400b046a
mov rax, rbx
mov ecx, 0xf000
inc rbx
test word [r8 + rax*2 + 8], cx
je 0x1400b0279
movzx r10d, word [r8 + rax*2 + 8]
lea rax, [0x140000000]
xor edi, edi
mov r14d, r10d
and r14d, 0xfff
add r14d, dword [r8]
add r14, rax
mov r15, r14
sub r15, r11
je 0x1400b0384
mov esi, 0xc8659bb1
movzx ecx, byte [rdi + r11]
inc rdi
sub ecx, 0x379a644f
add r12d, ecx
add ecx, r9d
mov eax, ecx
ror ecx, 1
imul eax, eax, 0x555b
rol eax, 1
xor eax, ecx
imul rax, rsi
mov qword [rbp + 0x28], rax
mov ecx, dword [rbp + 0x28]
shr rax, 0x20
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
and ecx, r13d
lea edx, [rdx + rax*2]
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
and r9d, r13d
add r9d, edx
imul r9d, r9d, 0xc8659bb1
ror r9d, 0x1b
add r12d, r9d
cmp rdi, r15
jb 0x1400b0315
mov rsi, qword [rsp + 0x20]
mov dword [rbp + 0x24], r9d
mov dword [rbp + 0x20], r12d
shr r10d, 0xc
cmp r10d, 3
je 0x1400b039c
sub r10d, 0xa
neg r10d
sbb edx, edx
add edx, 3
jmp 0x1400b03a1
mov edx, 2
mov r10, qword [rsp + 0x30]
mov rax, qword [r14]
neg r10
mov qword [rbp + 0x28], rax
sub edx, 2
je 0x1400b03ce
dec edx
je 0x1400b03bf
or r10, 0xffffffffffffffff
jmp 0x1400b03d8
add rax, r10
mov r10d, 8
mov qword [rbp + 0x28], rax
jmp 0x1400b03d8
add dword [rbp + 0x28], r10d
mov r10d, 4
xor r11d, r11d
test r10, r10
je 0x1400b0457
mov esi, 0xc8659bb1
movzx ecx, byte [rbp + r11 + 0x28]
inc r11
sub ecx, 0x379a644f
add r12d, ecx
add ecx, r9d
mov eax, ecx
ror ecx, 1
imul eax, eax, 0x555b
rol eax, 1
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x38], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x38]
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
and ecx, r13d
lea edx, [rdx + rax*2]
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
and r9d, r13d
add r9d, edx
imul r9d, r9d, 0xc8659bb1
ror r9d, 0x1b
add r12d, r9d
cmp r11, r10
jb 0x1400b03e5
mov rsi, qword [rsp + 0x20]
mov dword [rbp + 0x24], r9d
mov dword [rbp + 0x20], r12d
mov r15, qword [rsp + 0x48]
lea r11, [r10 + r14]
mov r14, qword [rsp + 0x40]
jmp 0x1400b0279
mov r10, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x10]
xor r8d, r8d
sub r10, r11
je 0x1400b04f0
mov edi, 0xc8659bb1
movzx ecx, byte [r8 + r11]
inc r8
sub ecx, 0x379a644f
add r12d, ecx
add ecx, r9d
mov eax, ecx
ror ecx, 1
imul eax, eax, 0x555b
rol eax, 1
xor eax, ecx
imul rax, rdi
mov qword [rsp + 0x50], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x50]
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
and ecx, r13d
lea edx, [rdx + rax*2]
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
and r9d, r13d
add r9d, edx
imul r9d, r9d, 0xc8659bb1
ror r9d, 0x1b
add r12d, r9d
cmp r8, r10
jb 0x1400b0480
mov rdi, qword [rbp + 0x10]
mov dword [rbp + 0x24], r9d
mov dword [rbp + 0x20], r12d
mov rsi, qword [rbp + 0x18]
mov r15, qword [rsp + 0x28]
mov r12, 0xfffffffffffff000
add qword [rdi + 0x10], 0xd
mov eax, dword [r15]
lea rcx, [0x140000000]
and eax, 0xfffffff
mov rax, qword [rax + rcx]
cmp qword [rbp + 0x20], rax
je 0x1400b05cf
call fcn.14009eca8
lea r9, [rdi + 0x18]
lea r14, [fcn.1400bd550]
and r9, 0xfffffffffffffff8
mov rbx, rax
mov qword [rdi + 0x10], r14
mov rcx, qword [0x14017dbb0]
lea r10, [r9 + 0xfff]
and rbx, r12
and r10, r12
xor r8d, r8d
mov r11d, 0xffff
imul rcx, rcx, 0x343fd
shl r8, 0x10
shr r11, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or r8, rdx
test r11, r11
jne 0x1400b055a
mov qword [0x14017dbb0], rcx
movabs rax, 0x8000800080008001
mov qword [rsi + 0x98], rbx
mul r8
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub r8, rdx
inc r8
mov qword [rsi + 0xb0], r8
mov qword [rbp + 0x10], r11
jmp 0x1400b05c6
mov rax, qword [rbp + 0x10]
mov qword [r9], rax
add r9, 8
cmp r9, r10
jb 0x1400b05bb
mov qword [rdi + 0x10], r14
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret