Function at 0x1401167c0
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 [0x140207460]
mov r13, qword [0x140207c90]
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp qword [0x140288288], 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 0x1401169d1
mov eax, dword [rsp + 0x2c]
mov rbp, qword [rsp + 0x38]
xor r12d, r12d
lea r14, [0x1401c6d20]
test eax, eax
jle 0x140116990
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 [0x140288280]
test eax, eax
jle 0x1401168fd
mov r15, qword [0x1401c6d30]
xor esi, esi
mov qword [0x1401c6d28], 0
cmp r15, r13
je 0x14011696a
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.14007e800
mov r15, qword [0x1401c6d30]
cmp byte [r15], 0
jne 0x1401168e1
jmp 0x140116948
mov r15, qword [0x1401c6d30]
mov edx, 0x2f
mov rcx, r15
call sub.msvcrt.dll_strrchr
test rax, rax
je 0x140116948
mov byte [rax], 0
mov r15, qword [0x1401c6d30]
cmp byte [r15], 0
je 0x140116948
mov rax, qword [0x140288288]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rax + rbx]
call fcn.1400a3ac0
test eax, eax
jne 0x1401168b8
mov eax, esi
mov dword [rbp + 0xc], eax
mov eax, dword [rsp + 0x2c]
add r12d, 1
add rbp, 0x10
cmp r12d, eax
jne 0x140116840
cmp r12d, 1
jne 0x140116990
mov rdi, qword [0x140207460]
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x140116b03
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x140288280]
add rsi, 1
cmp eax, esi
jle 0x1401168fd
mov qword [0x1401c6d28], 0
cmp r15, r13
jne 0x14011687d
cmp byte [r15], 0
je 0x140116881
mov r8d, 0xac
lea rdx, [0x1401ebe6f]
lea rcx, [0x1401ebe78]
call qword [sym.imp.msvcrt.dll__assert]
nop
mov rdi, qword [0x140207460]
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x140116b03
movsxd rdx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x38]
lea r9, [0x140116790]
mov r8d, 0x10
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14007d390
lea rdi, [rsp + 0x40]
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
call fcn.140080420
mov rsi, rax
test rax, rax
js 0x140116b08
mov rcx, rdi
xor edx, edx
xor r12d, r12d
call fcn.14007d860
add rsi, rax
mov rdi, rax
cmp rax, rsi
jae 0x140116ad5
mov rcx, rdi
xor ebp, ebp
cmp rdi, rsi
jae 0x140116a78
nop word cs:[rax + rax]
mov rbx, rcx
jmp 0x140116a31
add rbx, 1
cmp rsi, rbx
je 0x140116a80
cmp byte [rbx], 0xa
jne 0x140116a28
movzx eax, byte [rcx]
cmp al, 0xa
je 0x140116a62
cmp al, 0x23
je 0x140116a62
test r12d, r12d
je 0x140116a5f
mov rdx, qword [0x140288288]
movsxd rax, ebp
cmp byte [rbx], 0xa
lea r14, [rdx + rax*8]
jne 0x140116ac5
mov byte [rbx], 0
mov qword [r14], rcx
add ebp, 1
cmp rbx, rsi
jae 0x140116a8b
lea rcx, [rbx + 1]
cmp rcx, rsi
jb 0x140116a20
jmp 0x140116a8b
mov rbx, rdi
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp al, 0x23
je 0x140116a8b
cmp al, 0xa
jne 0x140116a41
test r12d, r12d
jne 0x14011681f
movsxd r8, ebp
mov dword [0x140288280], ebp
mov rax, r8
shr rax, 0x3d
jne 0x140116af2
lea rcx, [r8*8]
mov r12d, 1
call fcn.1400a5fa0
mov qword [0x140288288], rax
jmp 0x140116a0c
mov rdx, rbx
sub rdx, rcx
call fcn.1400a60d0
mov rcx, rax
jmp 0x140116a5c
mov dword [0x140288280], 0
xor ecx, ecx
call fcn.1400a5fa0
mov qword [0x140288288], rax
jmp 0x14011681f
mov edx, 8
lea rcx, [0x1401ebe50]
call fcn.1400a08a0
call fcn.1401be670
mov rax, qword [0x1402078f0]
lea rcx, str.failed_to_read_orderfile__s
cmp dword [rax], 0
je 0x140116b23
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov rdx, rbx
call fcn.1400a0930
nop
nop dword [rax]