Function at 0x1400a3a30
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
sub rcx, rax
je 0x1400a3b41
cmp rcx, 2
jb 0x1400a3b41
cmp byte [rax], 0x64
jne 0x1400a3b41
movsx ecx, byte [rax + 1]
cmp ecx, 0x58
je 0x1400a3b54
cmp ecx, 0x78
je 0x1400a3c28
cmp ecx, 0x69
jne 0x1400a3b41
add rax, 2
mov qword [rsi], rax
mov rcx, rsi
call fcn.14009f040
test rax, rax
je 0x1400a3ce2
mov rdi, rax
mov rcx, rsi
call fcn.1400a3a30
test rax, rax
je 0x1400a3ce2
mov rbx, rax
mov r14, qword [rsi + 0x1330]
mov rcx, qword [r14 + 8]
lea rax, [rcx - 0xfc0]
cmp rax, 0xfffffffffffff00f
ja 0x1400a3af3
mov ecx, 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x1400a3cf0
mov qword [rax], r14
mov qword [rax + 8], 0
mov qword [rsi + 0x1330], rax
xor ecx, ecx
mov r14, rax
lea rax, [rcx + 0x30]
mov qword [r14 + 8], rax
lea rax, [r14 + rcx]
add rax, 0x10
mov byte [r14 + rcx + 0x18], 0x4d
and byte [r14 + rcx + 0x1c], 0xc0
movzx edx, byte [r14 + rcx + 0x20]
and dl, 0xc0
or dl, 0x15
mov byte [r14 + rcx + 0x20], dl
lea rdx, [0x1400cd750]
mov qword [r14 + rcx + 0x10], rdx
mov qword [r14 + rcx + 0x28], rdi
mov qword [r14 + rcx + 0x30], rbx
mov byte [r14 + rcx + 0x38], 0
jmp 0x1400a3ce4
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400a0e00
add rax, 2
mov qword [rsi], rax
mov rcx, rsi
call fcn.1400a0e00
test rax, rax
je 0x1400a3ce2
mov rdi, rax
mov rcx, rsi
call fcn.1400a0e00
test rax, rax
je 0x1400a3ce2
mov rbx, rax
mov rcx, rsi
call fcn.1400a3a30
test rax, rax
je 0x1400a3ce2
mov r14, rax
mov r15, qword [rsi + 0x1330]
mov rcx, qword [r15 + 8]
lea rax, [rcx - 0xfc0]
cmp rax, 0xfffffffffffff00f
ja 0x1400a3bdb
mov ecx, 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x1400a3cf0
mov qword [rax], r15
mov qword [rax + 8], 0
mov qword [rsi + 0x1330], rax
xor ecx, ecx
mov r15, rax
lea rax, [rcx + 0x30]
mov qword [r15 + 8], rax
lea rax, [r15 + rcx]
add rax, 0x10
mov byte [r15 + rcx + 0x18], 0x4e
and byte [r15 + rcx + 0x1c], 0xc0
movzx edx, byte [r15 + rcx + 0x20]
and dl, 0xc0
or dl, 0x15
mov byte [r15 + rcx + 0x20], dl
lea rdx, [0x1400cd7f8]
mov qword [r15 + rcx + 0x10], rdx
mov qword [r15 + rcx + 0x28], rdi
mov qword [r15 + rcx + 0x30], rbx
mov qword [r15 + rcx + 0x38], r14
jmp 0x1400a3ce4
add rax, 2
mov qword [rsi], rax
mov rcx, rsi
call fcn.1400a0e00
test rax, rax
je 0x1400a3ce2
mov rdi, rax
mov rcx, rsi
call fcn.1400a3a30
test rax, rax
je 0x1400a3ce2
mov rbx, rax
mov r14, qword [rsi + 0x1330]
mov rcx, qword [r14 + 8]
lea rax, [rcx - 0xfc0]
cmp rax, 0xfffffffffffff00f
ja 0x1400a3c97
mov ecx, 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x1400a3cf0
mov qword [rax], r14
mov qword [rax + 8], 0
mov qword [rsi + 0x1330], rax
xor ecx, ecx
mov r14, rax
lea rax, [rcx + 0x30]
mov qword [r14 + 8], rax
lea rax, [r14 + rcx]
add rax, 0x10
mov byte [r14 + rcx + 0x18], 0x4d
and byte [r14 + rcx + 0x1c], 0xc0
movzx edx, byte [r14 + rcx + 0x20]
and dl, 0xc0
or dl, 0x15
mov byte [r14 + rcx + 0x20], dl
lea rdx, [0x1400cd750]
mov qword [r14 + rcx + 0x10], rdx
mov qword [r14 + rcx + 0x28], rdi
mov qword [r14 + rcx + 0x30], rbx
mov byte [r14 + rcx + 0x38], 1
jmp 0x1400a3ce4
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14008ba40
int3