Function at 0x140005810
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, 0x80
mov rax, qword [0x140034860]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x48], rcx
xor r14d, r14d
mov dword [rbp - 0x58], r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], r14b
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov dword [rbp - 0x58], 1
mov esi, r14d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea r8, [0x140034190]
lea rdx, [0x140034140]
lea rcx, [rbp - 0x40]
call fcn.140003810
nop
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
sub r8, rdx
dec r8
lea rcx, [rbp - 0x28]
call fcn.1400022e0
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x38], rcx
mov r13, qword [rbp - 0x28]
test r12d, r12d
je 0x140005af1
xor ecx, ecx
nop word [rax + rax]
dec r12d
movzx eax, byte [rbx]
inc rbx
mov qword [rbp - 0x50], rbx
mov byte [rbp + rcx - 0x60], al
inc esi
inc rcx
movzx edx, byte [rbp - 0x5e]
movzx r14d, byte [rbp - 0x5f]
movzx r15d, byte [rbp - 0x60]
cmp rcx, 3
jne 0x1400059be
movzx eax, r15b
shr al, 2
mov byte [rbp - 0x5c], al
movzx ecx, r15b
and cl, 3
shl cl, 4
movzx eax, r14b
shr al, 4
add cl, al
mov byte [rbp - 0x5b], cl
movzx ecx, r14b
and cl, 0xf
shl cl, 2
movzx eax, dl
shr al, 6
add cl, al
mov byte [rbp - 0x5a], cl
movzx eax, dl
and al, 0x3f
mov byte [rbp - 0x59], al
xor ebx, ebx
cmp qword [rbp - 0x10], 0x10
setae sil
nop word [rax + rax]
lea rcx, [rbp - 0x28]
test sil, sil
cmovne rcx, r13
movzx eax, byte [rbp + rbx - 0x5c]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400059a1
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140005996
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400059a9
mov rcx, rdi
call fcn.140011760
inc rbx
cmp rbx, 4
jl 0x140005960
xor esi, esi
xor ecx, ecx
mov rbx, qword [rbp - 0x50]
movzx edx, byte [rbp - 0x5e]
test r12d, r12d
jne 0x1400058e0
test esi, esi
je 0x140005aea
movsxd rax, esi
cmp rax, 3
jge 0x1400059fa
jae 0x140005ba0
mov byte [rbp + rax - 0x60], 0
inc rax
cmp rax, 3
jl 0x1400059d8
movzx edx, byte [rbp - 0x5e]
movzx r14d, byte [rbp - 0x5f]
movzx r15d, byte [rbp - 0x60]
movzx eax, r15b
shr al, 2
mov byte [rbp - 0x5c], al
and r15b, 3
shl r15b, 4
movzx eax, r14b
shr al, 4
add r15b, al
mov byte [rbp - 0x5b], r15b
and r14b, 0xf
shl r14b, 2
movzx eax, dl
shr al, 6
add r14b, al
mov byte [rbp - 0x5a], r14b
and dl, 0x3f
mov byte [rbp - 0x59], dl
lea eax, [rsi + 1]
movsxd r14, eax
test eax, eax
jle 0x140005aa1
xor ebx, ebx
cmp qword [rbp - 0x10], 0x10
setae r15b
nop word [rax + rax]
lea rcx, [rbp - 0x28]
test r15b, r15b
cmovne rcx, r13
movzx eax, byte [rbp + rbx - 0x5c]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140005a91
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140005a86
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005a99
mov rcx, rdi
call fcn.140011760
inc rbx
cmp rbx, r14
jl 0x140005a50
cmp esi, 3
jge 0x140005aea
mov ebx, 3
sub ebx, esi
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140005ad9
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140005ad1
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x140005ae4
mov r9b, 0x3d
mov rcx, rdi
call fcn.140011760
sub rbx, 1
jne 0x140005ab0
xor r14d, r14d
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140005b33
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ba6
call fcn.140012950
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x140005b6a
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140005b62
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005b9a
mov rcx, r13
call fcn.140012950
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140012330
lea r11, [rsp + 0x80]
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.140019e70
nop
call fcn.140012458
nop
call fcn.140019e70
int3