Function at 0x140083670
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 - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13d, r8d
mov rbx, rdx
mov r12, rcx
mov qword [rbp - 0x10], rcx
xor r15d, r15d
mov dword [rbp - 0x24], r15d
call fcn.140008c80
mov dword [rbp - 0x24], 1
mov esi, r15d
test r13d, r13d
je 0x140083967
mov ecx, r15d
nop word [rax + rax]
dec r13d
movzx eax, byte [rbx]
mov byte [rbp + rcx - 0x30], al
inc esi
inc rcx
inc rbx
mov qword [rbp - 0x20], rbx
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
cmp rcx, 3
jne 0x1400837e8
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 rsi, r15
lea rcx, [0x140136580]
call fcn.140002370
mov r14, rax
mov rcx, r12
call fcn.140002370
mov rbx, rax
nop dword [rax + rax]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14008376d
mov rcx, qword [r14]
movzx eax, byte [rbp + rsi - 0x2c]
movzx r9d, byte [rax + rcx]
mov byte [rbp - 8], r9b
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400837bf
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14008379c
mov rax, qword [rbx]
lea rdi, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140002f30
mov byte [rbp - 8], 0
lea rcx, [rdi + 1]
lea rdx, [rbp - 8]
call fcn.140002f30
jmp 0x1400837c7
mov rcx, r12
call fcn.14002a600
inc rsi
cmp rsi, 4
jl 0x140083760
mov esi, r15d
mov rcx, r15
mov rbx, qword [rbp - 0x20]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
movzx r9d, byte [rbp - 0x2e]
test r13d, r13d
jne 0x1400836d0
test esi, esi
je 0x140083967
movsxd rax, esi
cmp rax, 3
jge 0x140083824
jae 0x140083988
mov byte [rbp + rax - 0x30], 0
inc rax
cmp rax, 3
jl 0x140083802
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
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 eax, [rsi + 1]
movsxd r13, eax
test eax, eax
jle 0x1400838f5
lea rcx, [0x140136580]
call fcn.140002370
mov r14, rax
mov rcx, r12
call fcn.140002370
mov rdi, rax
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140083892
mov rcx, qword [r14]
movzx eax, byte [rbp + r15 - 0x2c]
movzx r9d, byte [rax + rcx]
mov byte [rbp - 8], r9b
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400838e5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400838c2
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140002f30
mov byte [rbp - 8], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 8]
call fcn.140002f30
jmp 0x1400838ed
mov rcx, r12
call fcn.14002a600
inc r15
cmp r15, r13
jl 0x140083885
cmp esi, 3
jge 0x140083967
mov byte [rbp - 8], 0x3d
mov rcx, r12
call fcn.140002370
mov rdi, rax
mov eax, 3
sub eax, esi
mov esi, eax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140083956
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140083933
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140002f30
mov byte [rbp - 0x28], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 0x28]
call fcn.140002f30
jmp 0x140083961
mov r9b, 0x3d
mov rcx, r12
call fcn.14002a600
sub rsi, 1
jne 0x140083912
mov rax, r12
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
call fcn.1400a5b88
int3