Function at 0x1400fb3c0
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 0x1400fb3ff
mov eax, dword [rsp + 0x100]
test eax, eax
jne 0x1400fb420
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.1400fd660
test eax, eax
mov r13d, eax
mov edi, 5
je 0x1400fb404
mov rcx, rbx
call fcn.1400eba20
test eax, eax
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jne 0x1400fb642
mov rcx, qword [rsp + 0x108]
call fcn.1400eba20
test eax, eax
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jne 0x1400fb642
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.1400eb9c0
test rax, rax
mov qword [rsp + 0x30], rax
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
je 0x1400fb6bc
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.1400fc9e0
test eax, eax
mov edi, eax
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
jne 0x1400fb633
mov rcx, qword [rsp + 0x78]
mov r8, r10
mov rdx, rbx
mov qword [rsp + 0x38], r9
call fcn.1400fd370
test eax, eax
mov edi, eax
mov r9, qword [rsp + 0x38]
jne 0x1400fb629
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.1400fcc00
test ebx, ebx
je 0x1400fb6dd
mov rcx, qword [rsp + 0x78]
mov r8, rbp
mov rdx, rsi
call fcn.1400fccb0
mov rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.1400fcd30
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 0x1400fb5e0
add ebx, 1
cmp r15d, ebx
jne 0x1400fb5a0
cmp dword [rsp + 0x28], r12d
je 0x1400fb6c8
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 0x1400fb57b
mov edi, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x78]
call fcn.1400fcca0
mov rcx, qword [rsp + 0x30]
call fcn.1400ebb20
jmp 0x1400fb404
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.1400eb9f0
test rax, rax
mov qword [rsp + 0x30], rax
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
je 0x1400fb6bc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov r8d, 3
lea r14, [rax + rdi]
lea rsi, [r14 + rbp]
jmp 0x1400fb4f0
call fcn.14014d590
mov edi, eax
jmp 0x1400fb404
mov r8, qword [rsp + 0x60]
mov rdx, r13
mov rcx, rdi
call sub.msvcrt.dll_memcpy
jmp 0x1400fb616
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.1400fccb0
mov rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.1400fcd30
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 0x1400fb5f2