Function at 0x140084820
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.140008d90
mov dword [rbp - 0x24], 1
mov esi, r15d
test r13d, r13d
je 0x140084b17
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 0x140084998
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, [0x140137590]
call fcn.140002540
mov r14, rax
mov rcx, r12
call fcn.140002540
mov rbx, rax
nop dword [rax + rax]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14008491d
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 0x14008496f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14008494c
mov rax, qword [rbx]
lea rdi, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140003040
mov byte [rbp - 8], 0
lea rcx, [rdi + 1]
lea rdx, [rbp - 8]
call fcn.140003040
jmp 0x140084977
mov rcx, r12
call fcn.14002a320
inc rsi
cmp rsi, 4
jl 0x140084910
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 0x140084880
test esi, esi
je 0x140084b17
movsxd rax, esi
cmp rax, 3
jge 0x1400849d4
jae 0x140084b38
mov byte [rbp + rax - 0x30], 0
inc rax
cmp rax, 3
jl 0x1400849b2
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 0x140084aa5
lea rcx, [0x140137590]
call fcn.140002540
mov r14, rax
mov rcx, r12
call fcn.140002540
mov rdi, rax
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140084a42
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 0x140084a95
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140084a72
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140003040
mov byte [rbp - 8], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 8]
call fcn.140003040
jmp 0x140084a9d
mov rcx, r12
call fcn.14002a320
inc r15
cmp r15, r13
jl 0x140084a35
cmp esi, 3
jge 0x140084b17
mov byte [rbp - 8], 0x3d
mov rcx, r12
call fcn.140002540
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 0x140084b06
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140084ae3
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140003040
mov byte [rbp - 0x28], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 0x28]
call fcn.140003040
jmp 0x140084b11
mov r9b, 0x3d
mov rcx, r12
call fcn.14002a320
sub rsi, 1
jne 0x140084ac2
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.1400a6d38
int3