Function at 0x180073d70
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r12d, r8d
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rcx
xor r15d, r15d
mov dword [rbp - 0x28], r15d
call fcn.180007e70
mov dword [rbp - 0x28], 1
mov edi, r15d
test r12d, r12d
je 0x180074031
mov ecx, r15d
nop word [rax + rax]
dec r12d
movzx eax, byte [r13]
mov byte [rbp + rcx - 0x30], al
inc edi
inc rcx
lea r13, [r13 + 1]
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
cmp rcx, 3
jne 0x180073ec1
movzx eax, r8b
shr al, 2
mov byte [rbp - 0x2c], al
movzx ecx, r8b
and cl, 3
shl cl, 4
movzx eax, dl
shr al, 4
add cl, al
mov byte [rbp - 0x2b], cl
movzx ecx, dl
and cl, 0xf
shl cl, 2
movzx eax, r9b
shr al, 6
add cl, al
mov byte [rbp - 0x2a], cl
movzx eax, r9b
and al, 0x3f
mov byte [rbp - 0x29], al
mov rbx, r15
nop dword [rax]
lea rcx, [0x180161a98]
call fcn.180002f80
movzx ecx, byte [rbp + rbx - 0x2c]
movzx edi, byte [rax + rcx]
mov rcx, qword [rsi + 0x10]
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x180073ecb
lea r14, [rcx + 1]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.1800034a0
test al, al
je 0x180073ea4
mov byte [rbp - 0x10], dil
mov rdi, qword [rsi + 0x10]
mov rcx, rsi
call fcn.180002f80
lea rcx, [rdi + rax]
lea rdx, [rbp - 0x10]
call fcn.1800024c0
mov rdx, r14
mov rcx, rsi
call fcn.180003430
inc rbx
cmp rbx, 4
jl 0x180073e40
mov edi, r15d
mov rcx, r15
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
movzx r9d, byte [rbp - 0x2e]
test r12d, r12d
je 0x180073ed4
jmp 0x180073dd0
mov rcx, rsi
call fcn.180003660
int3
test edi, edi
je 0x180074031
movsxd rax, edi
cmp rax, 3
jge 0x180073f0b
jae 0x180073f05
mov byte [rbp + rax - 0x30], 0
inc rax
cmp rax, 3
jl 0x180073ee5
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
jmp 0x180073f0b
call fcn.1800b3960
int3
movzx eax, r8b
shr al, 2
mov byte [rbp - 0x2c], al
and r8b, 3
shl r8b, 4
movzx eax, dl
shr al, 4
add r8b, al
mov byte [rbp - 0x2b], r8b
and dl, 0xf
shl dl, 2
movzx eax, r9b
shr al, 6
add dl, al
mov byte [rbp - 0x2a], dl
and r9b, 0x3f
mov byte [rbp - 0x29], r9b
lea r13d, [rdi + 1]
test r13d, r13d
jle 0x180073fc9
lea r14, [rbp - 0x2c]
lea rcx, [0x180161a98]
call fcn.180002f80
movzx ecx, byte [r14]
movzx ebx, byte [rax + rcx]
mov rcx, qword [rsi + 0x10]
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x180073fc0
lea r12, [rcx + 1]
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.1800034a0
test al, al
je 0x180073fb3
mov byte [rbp - 0x10], bl
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.180002f80
lea rcx, [rbx + rax]
lea rdx, [rbp - 0x10]
call fcn.1800024c0
mov rdx, r12
mov rcx, rsi
call fcn.180003430
inc r15d
inc r14
cmp r15d, r13d
jl 0x180073f51
jmp 0x180073fc9
mov rcx, rsi
call fcn.180003660
int3
cmp edi, 3
jge 0x180074031
nop
inc edi
mov rcx, qword [rsi + 0x10]
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x180074028
lea r14, [rcx + 1]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.1800034a0
test al, al
je 0x180074021
mov byte [rbp - 0x10], 0x3d
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.180002f80
lea rcx, [rbx + rax]
lea rdx, [rbp - 0x10]
call fcn.1800024c0
mov rdx, r14
mov rcx, rsi
call fcn.180003430
cmp edi, 3
jl 0x180073fd0
jmp 0x180074031
mov rcx, rsi
call fcn.180003660
int3
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret