Function at 0x1401380b0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rdi, qword [0x14022c040]
mov r13, qword [0x14022c910]
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp qword [0x14028c1c8], 0
mov qword [rsp + 0x30], rdx
mov rbx, rcx
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x2c], r9d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], r13
je 0x1401382c1
mov eax, dword [rsp + 0x2c]
mov rbp, qword [rsp + 0x38]
xor r12d, r12d
lea r14, [0x1401e7200]
test eax, eax
jle 0x140138280
nop word [rax + rax]
mov rcx, qword [rbp]
mov rax, qword [rsp + 0x30]
mov dword [rbp + 8], r12d
call rax
mov rdi, rax
mov eax, dword [0x14028c1c0]
test eax, eax
jle 0x1401381ed
mov r15, qword [0x1401e7210]
xor esi, esi
mov qword [0x1401e7208], 0
cmp r15, r13
je 0x14013825a
mov byte [r15], 0
mov rcx, rdi
lea rbx, [rsi*8]
call sub.msvcrt.dll_strlen
mov rdx, rdi
mov rcx, r14
mov r8, rax
call fcn.14008f5f0
mov r15, qword [0x1401e7210]
cmp byte [r15], 0
jne 0x1401381d1
jmp 0x140138238
mov r15, qword [0x1401e7210]
mov edx, 0x2f
mov rcx, r15
call sub.msvcrt.dll_strrchr
test rax, rax
je 0x140138238
mov byte [rax], 0
mov r15, qword [0x1401e7210]
cmp byte [r15], 0
je 0x140138238
mov rax, qword [0x14028c1c8]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rax + rbx]
call fcn.1400baa80
test eax, eax
jne 0x1401381a8
mov eax, esi
mov dword [rbp + 0xc], eax
mov eax, dword [rsp + 0x2c]
add r12d, 1
add rbp, 0x10
cmp r12d, eax
jne 0x140138130
cmp r12d, 1
jne 0x140138280
mov rdi, qword [0x14022c040]
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x1401383eb
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x14028c1c0]
add rsi, 1
cmp eax, esi
jle 0x1401381ed
mov qword [0x1401e7208], 0
cmp r15, r13
jne 0x14013816d
cmp byte [r15], 0
je 0x140138171
mov r8d, 0xac
lea rdx, [0x14021278f]
lea rcx, [0x140212798]
call qword [sym.imp.msvcrt.dll__assert]
nop
mov rdi, qword [0x14022c040]
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x1401383eb
movsxd rdx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x38]
lea r9, [0x140138080]
mov r8d, 0x10
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14008e030
lea rdi, [rsp + 0x40]
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
call fcn.1400912b0
mov rsi, rax
test rax, rax
js 0x1401383f0
mov rcx, rdi
xor edx, edx
xor r12d, r12d
call fcn.14008e600
add rsi, rax
mov rdi, rax
cmp rax, rsi
jae 0x1401383bd
mov rcx, rdi
xor ebp, ebp
mov rbx, rdi
cmp rdi, rsi
jb 0x14013834a
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x23
je 0x140138370
cmp al, 0xa
je 0x140138370
test r12d, r12d
je 0x140138339
mov rdx, qword [0x14028c1c8]
movsxd rax, ebp
cmp byte [rbx], 0xa
lea r14, [rdx + rax*8]
jne 0x1401383aa
mov byte [rbx], 0
mov qword [r14], rcx
add ebp, 1
cmp rbx, rsi
jae 0x140138370
lea rcx, [rbx + 1]
cmp rcx, rsi
jae 0x140138370
mov rbx, rcx
jmp 0x140138359
add rbx, 1
cmp rsi, rbx
je 0x140138310
cmp byte [rbx], 0xa
jne 0x140138350
movzx eax, byte [rcx]
cmp al, 0xa
je 0x14013833c
cmp al, 0x23
jne 0x14013831b
cmp rbx, rsi
jb 0x140138341
nop
test r12d, r12d
jne 0x14013810f
movsxd r8, ebp
mov dword [0x14028c1c0], ebp
mov rax, r8
shr rax, 0x3d
jne 0x1401383da
lea rcx, [r8*8]
mov r12d, 1
call fcn.1400bd0a0
mov qword [0x14028c1c8], rax
jmp 0x1401382fc
mov rdx, rbx
sub rdx, rcx
call fcn.1400bd1d0
mov rcx, rax
jmp 0x140138336
mov dword [0x14028c1c0], 0
xor ecx, ecx
call fcn.1400bd0a0
mov qword [0x14028c1c8], rax
jmp 0x14013810f
mov edx, 8
lea rcx, [0x140212770]
call fcn.1400b6950
call fcn.1401d96b0
mov rax, qword [str.PF__]
lea rcx, str.failed_to_read_orderfile__s
cmp dword [rax], 0
je 0x14013840b
call fcn.1401d81b8
mov rcx, rax
mov rdx, rbx
call fcn.1400b69e0
nop
nop word cs:[rax + rax]
nop