Function at 0x140074720
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 0x1400749dc
test r9, r9
je 0x1400749dc
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r14 + rcx*2], si
jne 0x140074762
lea rdx, [rbp + 0x30]
call fcn.140070c0c
mov ebx, eax
test eax, eax
jns 0x140074782
mov ecx, eax
jmp 0x1400749e3
cmp dword [rbp + 0x30], edi
lea rcx, str.________________________________________________456789:_________
mov dword [rbp - 0x10], esi
mov eax, 0x100
cmovb edi, dword [rbp + 0x30]
lea r15, [r14 + rdi*2]
mov rdi, r14
cmp r14, r15
jae 0x1400747f9
cmp word [rdi], ax
jae 0x1400749dc
movzx eax, word [rdi]
cmp byte [rax + rcx], 0x3f
jbe 0x140074874
cmp word [rdi], 0x20
ja 0x1400747d7
movzx eax, word [rdi]
movabs rcx, 0x100002600
bt rcx, rax
jb 0x140074891
test esi, esi
je 0x1400749dc
mov eax, esi
and eax, 3
je 0x1400747f9
cmp word [rdi], 0x3d
jne 0x1400749dc
cmp eax, 1
je 0x1400749dc
mov ecx, esi
lea r8, [rbp + 0x30]
shr ecx, 2
mov edx, 3
call fcn.14008e7a4
mov ebx, eax
test eax, eax
js 0x14007477b
mov eax, esi
and eax, 3
sub eax, 1
je 0x1400749dc
sub eax, 1
je 0x140074846
cmp eax, 1
jne 0x140074861
mov ecx, dword [rbp + 0x30]
lea r8, [rbp + 0x30]
mov edx, eax
call fcn.14008e650
mov ebx, eax
test eax, eax
js 0x14007477b
mov ecx, dword [rbp + 0x30]
lea r8, [rbp + 0x30]
mov edx, 1
call fcn.14008e650
mov ebx, eax
test eax, eax
js 0x14007477b
test r13, r13
jne 0x1400748af
mov eax, dword [rbp + 0x30]
xor ebx, ebx
mov dword [r12], eax
jmp 0x1400749e8
lea r8, [rbp - 0x10]
mov edx, 1
mov ecx, esi
call fcn.14008e650
mov ebx, eax
test eax, eax
js 0x14007477b
mov esi, dword [rbp - 0x10]
add rdi, 2
cmp rdi, r15
jae 0x1400747f9
lea rcx, str.________________________________________________456789:_________
mov eax, 0x100
jmp 0x1400747a4
mov eax, dword [rbp + 0x30]
cmp dword [r12], eax
jae 0x1400748c4
mov ebx, 0x8007007a
mov ecx, ebx
jmp 0x1400749e3
mov rdi, r13
lea r15, [rax + r13]
test esi, esi
je 0x1400749c3
xor eax, eax
lea r8, str.________________________________________________456789:_________
mov dword [rbp + 0x30], eax
xor edx, edx
mov r9d, 0x100
mov eax, 4
cmp esi, 4
ja 0x1400748f3
mov eax, esi
mov ecx, edx
cmp rcx, rax
jb 0x1400749a0
cmp rdi, r15
jae 0x1400749bc
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 0x140074953
cmp rdi, r15
jae 0x1400749bc
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 0x140074975
cmp rdi, r15
jae 0x1400749bc
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.14008e840
mov ebx, eax
test eax, eax
js 0x14007477b
mov esi, dword [rbp - 0x10]
jmp 0x1400748cb
movzx eax, ax
cmp byte [rax + r8], 0x3f
jbe 0x1400749aa
add r14, 2
movzx eax, word [r14]
cmp r9w, ax
ja 0x140074992
mov al, byte [r14]
add r14, 2
mov byte [rbp + rdx + 0x30], al
inc edx
jmp 0x1400748e7
mov ecx, 0x8000ffff
jmp 0x1400749e1
sub rdi, r13
mov rdx, r12
mov rcx, rdi
call fcn.140070bb8
mov ebx, eax
test eax, eax
jns 0x1400749e8
jmp 0x14007477b
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
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