Function at 0x1400fb2b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov r15d, dword [rsp + 0xf8]
test r9, r9
mov r10, rdx
mov rbx, rcx
sete dl
mov r12d, r8d
test r15d, r15d
sete al
or dl, al
jne 0x1400fb2ef
mov eax, dword [rsp + 0x100]
test eax, eax
jne 0x1400fb310
mov edi, 0x37
mov eax, edi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, r8d
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r10
call fcn.1400fd550
test eax, eax
mov r13d, eax
mov edi, 5
je 0x1400fb2f4
mov rcx, rbx
call fcn.1400eb910
test eax, eax
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jne 0x1400fb532
mov rcx, qword [rsp + 0x108]
call fcn.1400eb910
test eax, eax
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jne 0x1400fb532
mov eax, dword [rsp + 0x100]
xor edx, edx
mov ebp, r13d
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x38], r10
sub eax, 1
div r13d
lea ecx, [rax + 1]
imul eax, r13d
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x100]
sub ecx, eax
mov rax, qword [rsp + 0xf0]
mov dword [rsp + 0x40], ecx
lea rdi, [rax + 4]
lea rcx, [rdi + rbp*2]
call fcn.1400eb8b0
test rax, rax
mov qword [rsp + 0x30], rax
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
je 0x1400fb5ac
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov r8d, 2
lea r14, [rax + rdi]
lea rsi, [r14 + rbp]
lea rcx, [rsp + 0x78]
mov edx, r12d
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x38], r10
call fcn.1400fc8d0
test eax, eax
mov edi, eax
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
jne 0x1400fb523
mov rcx, qword [rsp + 0x78]
mov r8, r10
mov rdx, rbx
mov qword [rsp + 0x38], r9
call fcn.1400fd260
test eax, eax
mov edi, eax
mov r9, qword [rsp + 0x38]
jne 0x1400fb519
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0xf0]
mov rdx, r9
mov r12d, 1
call sub.msvcrt.dll_memcpy
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x108]
mov dword [rsp + 0x6c], edi
mov rdi, rax
mov qword [rsp + 0x60], rcx
mov ecx, r13d
mov r13, r14
mov r14d, ecx
mov eax, r12d
xor ebx, ebx
shr eax, 0x18
mov dword [rsp + 0x38], eax
mov eax, r12d
shr eax, 0x10
mov dword [rsp + 0x50], eax
mov eax, r12d
shr eax, 8
mov dword [rsp + 0x40], eax
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
call fcn.1400fcaf0
test ebx, ebx
je 0x1400fb5cd
mov rcx, qword [rsp + 0x78]
mov r8, rbp
mov rdx, rsi
call fcn.1400fcba0
mov rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.1400fcc20
mov r8, rbp
mov rdx, rax
mov rcx, rsi
call sub.msvcrt.dll_memcpy
xor eax, eax
nop
movzx edx, byte [rsi + rax]
xor byte [r13 + rax], dl
add rax, 1
cmp r14d, eax
ja 0x1400fb4d0
add ebx, 1
cmp r15d, ebx
jne 0x1400fb490
cmp dword [rsp + 0x28], r12d
je 0x1400fb5b8
mov rcx, rdi
mov r8, rbp
mov rdx, r13
add rdi, rbp
call sub.msvcrt.dll_memcpy
add r12d, 1
cmp r12d, dword [rsp + 0x28]
jbe 0x1400fb46b
mov edi, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x78]
call fcn.1400fcb90
mov rcx, qword [rsp + 0x30]
call fcn.1400eba10
jmp 0x1400fb2f4
mov eax, dword [rsp + 0x100]
xor edx, edx
mov ebp, r13d
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x38], r10
sub eax, 1
div r13d
lea ecx, [rax + 1]
imul eax, r13d
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x100]
sub ecx, eax
mov rax, qword [rsp + 0xf0]
mov dword [rsp + 0x40], ecx
lea rdi, [rax + 4]
lea rcx, [rdi + rbp*2]
call fcn.1400eb8e0
test rax, rax
mov qword [rsp + 0x30], rax
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
je 0x1400fb5ac
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov r8d, 3
lea r14, [rax + rdi]
lea rsi, [r14 + rbp]
jmp 0x1400fb3e0
call fcn.14014d490
mov edi, eax
jmp 0x1400fb2f4
mov r8, qword [rsp + 0x60]
mov rdx, r13
mov rcx, rdi
call sub.msvcrt.dll_memcpy
jmp 0x1400fb506
movzx edx, byte [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x58]
mov byte [rax + rcx], dl
movzx edx, byte [rsp + 0x50]
mov byte [rax + rcx + 3], r12b
mov byte [rax + rcx + 1], dl
movzx edx, byte [rsp + 0x40]
mov byte [rax + rcx + 2], dl
mov rcx, qword [rsp + 0x78]
mov rdx, rax
call fcn.1400fcba0
mov rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.1400fcc20
mov r8, rbp
mov rcx, rsi
mov rdx, rax
call sub.msvcrt.dll_memcpy
mov r8, rbp
mov rdx, rsi
mov rcx, r13
call sub.msvcrt.dll_memcpy
jmp 0x1400fb4e2