Function at 0x14003cfd0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor esi, esi
mov r12, r9
mov r13, r8
mov edi, edx
mov r14, rcx
test rcx, rcx
je 0x14003d28c
test r9, r9
je 0x14003d28c
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r14 + rcx*2], si
jne 0x14003d012
lea rdx, [rbp + 0x30]
call fcn.14003a278
mov ebx, eax
test eax, eax
jns 0x14003d032
mov ecx, eax
jmp 0x14003d293
cmp dword [rbp + 0x30], edi
lea rcx, str.________________________________________________456789:_________
mov dword [rbp - 0x10], esi
mov eax, pe_nt_image_headers64
cmovb edi, dword [rbp + 0x30]
lea r15, [r14 + rdi*2]
mov rdi, r14
cmp r14, r15
jae 0x14003d0a9
cmp word [rdi], ax
jae 0x14003d28c
movzx eax, word [rdi]
cmp byte [rax + rcx], 0x3f
jbe 0x14003d124
cmp word [rdi], 0x20
ja 0x14003d087
movzx eax, word [rdi]
movabs rcx, 0x100002600
bt rcx, rax
jb 0x14003d141
test esi, esi
je 0x14003d28c
mov eax, esi
and eax, 3
je 0x14003d0a9
cmp word [rdi], 0x3d
jne 0x14003d28c
cmp eax, 1
je 0x14003d28c
mov ecx, esi
lea r8, [rbp + 0x30]
shr ecx, 2
mov edx, 3
call fcn.140077e40
mov ebx, eax
test eax, eax
js 0x14003d02b
mov eax, esi
and eax, 3
sub eax, 1
je 0x14003d28c
sub eax, 1
je 0x14003d0f6
cmp eax, 1
jne 0x14003d111
mov ecx, dword [rbp + 0x30]
lea r8, [rbp + 0x30]
mov edx, eax
call fcn.140077d18
mov ebx, eax
test eax, eax
js 0x14003d02b
mov ecx, dword [rbp + 0x30]
lea r8, [rbp + 0x30]
mov edx, 1
call fcn.140077d18
mov ebx, eax
test eax, eax
js 0x14003d02b
test r13, r13
jne 0x14003d15f
mov eax, dword [rbp + 0x30]
xor ebx, ebx
mov dword [r12], eax
jmp 0x14003d298
lea r8, [rbp - 0x10]
mov edx, 1
mov ecx, esi
call fcn.140077d18
mov ebx, eax
test eax, eax
js 0x14003d02b
mov esi, dword [rbp - 0x10]
add rdi, 2
cmp rdi, r15
jae 0x14003d0a9
lea rcx, str.________________________________________________456789:_________
mov eax, pe_nt_image_headers64
jmp 0x14003d054
mov eax, dword [rbp + 0x30]
cmp dword [r12], eax
jae 0x14003d174
mov ebx, 0x8007007a
mov ecx, ebx
jmp 0x14003d293
mov rdi, r13
lea r15, [rax + r13]
test esi, esi
je 0x14003d273
xor eax, eax
lea r8, str.________________________________________________456789:_________
mov dword [rbp + 0x30], eax
xor edx, edx
mov r9d, pe_nt_image_headers64
mov eax, 4
cmp esi, 4
ja 0x14003d1a3
mov eax, esi
mov ecx, edx
cmp rcx, rax
jb 0x14003d250
cmp rdi, r15
jae 0x14003d26c
movzx eax, byte [rbp + 0x31]
lea r9, str.________________________________________________456789:_________
mov r8b, byte [rax + r9]
movzx eax, byte [rbp + 0x30]
mov cl, byte [rax + r9]
mov al, r8b
shr al, 4
shl cl, 2
or cl, al
mov byte [rdi], cl
inc rdi
cmp edx, 2
jbe 0x14003d203
cmp rdi, r15
jae 0x14003d26c
movzx eax, byte [rbp + 0x32]
shl r8b, 4
mov cl, byte [rax + r9]
shr cl, 2
or cl, r8b
mov byte [rdi], cl
inc rdi
cmp edx, 3
jbe 0x14003d225
cmp rdi, r15
jae 0x14003d26c
movzx eax, byte [rbp + 0x32]
mov cl, byte [rax + r9]
movzx eax, byte [rbp + 0x33]
shl cl, 6
or cl, byte [rax + r9]
mov byte [rdi], cl
inc rdi
lea r8, [rbp - 0x10]
mov ecx, esi
call fcn.1400afa50
mov ebx, eax
test eax, eax
js 0x14003d02b
mov esi, dword [rbp - 0x10]
jmp 0x14003d17b
movzx eax, ax
cmp byte [rax + r8], 0x3f
jbe 0x14003d25a
add r14, 2
movzx eax, word [r14]
cmp r9w, ax
ja 0x14003d242
mov al, byte [r14]
add r14, 2
mov byte [rbp + rdx + 0x30], al
inc edx
jmp 0x14003d197
mov ecx, 0x8000ffff
jmp 0x14003d291
sub rdi, r13
mov rdx, r12
mov rcx, rdi
call fcn.14003a21c
mov ebx, eax
test eax, eax
jns 0x14003d298
jmp 0x14003d02b
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret