Function at 0x140003430
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rbp, qword [rdx + 0x10]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
mov dword [rsp + 0x20], 1
mov ebx, r15d
test rbp, rbp
je 0x14000359e
lea r12, [0x1400a60f0]
cmp rbx, rbp
jae 0x1400034e2
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000349e
mov rax, qword [rsi]
add rax, rbx
inc rbx
movzx r14d, byte [rax]
cmp rbx, rbp
jae 0x1400034e5
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400034ba
mov rax, qword [rsi]
add rax, rbx
inc rbx
mov rcx, rbx
movzx edx, byte [rax]
cmp rbx, rbp
jae 0x1400034e8
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400034d8
mov rax, qword [rsi]
inc rbx
movzx r8d, byte [rcx + rax]
jmp 0x1400034eb
mov r14, r15
mov rdx, r15
mov r8, r15
mov rax, r12
cmp qword [0x1400a6108], 7
cmova rax, qword [0x1400a60f0]
shl r14, 8
add r14, rdx
shl r14, 8
add r14, r8
mov rdx, r14
shr rdx, 0x12
movzx edx, word [rax + rdx*2]
mov rcx, rdi
call fcn.140022030
mov rax, r12
cmp qword [0x1400a6108], 7
cmova rax, qword [0x1400a60f0]
mov rdx, r14
shr rdx, 0xc
and edx, 0x3f
movzx edx, word [rax + rdx*2]
mov rcx, rdi
call fcn.140022030
mov rax, r12
cmp qword [0x1400a6108], 7
cmova rax, qword [0x1400a60f0]
mov rdx, r14
shr rdx, 6
and edx, 0x3f
movzx edx, word [rax + rdx*2]
mov rcx, rdi
call fcn.140022030
mov rdx, r12
cmp qword [0x1400a6108], 7
cmova rdx, qword [0x1400a60f0]
and r14d, 0x3f
movzx edx, word [rdx + r14*2]
mov rcx, rdi
call fcn.140022030
cmp rbx, rbp
jb 0x140003491
mov r12, r15
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, rcx
mul rbp
shr rdx, 1
inc rdx
lea r13, [rdx + rdx*2]
sub r13, rbp
mov rax, rcx
mul r13
shr rdx, 1
lea rax, [rdx + rdx*2]
sub r13, rax
je 0x1400036ff
mov ecx, 0x3d
movabs rdx, 0x7ffffffffffffffe
mov r14, qword [rdi + 0x10]
mov rsi, qword [rdi + 0x18]
cmp r14, rsi
jae 0x140003611
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rsi, 7
jbe 0x140003604
mov rax, qword [rdi]
mov dword [rax + r14*2], 0x3d
jmp 0x1400036f3
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x140003720
lea rbp, [r14 + 1]
mov rbx, rbp
or rbx, 7
cmp rbx, rdx
jbe 0x140003636
mov rbx, rdx
jmp 0x140003657
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x14000364c
mov rbx, rdx
jmp 0x140003657
lea rax, [rsi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 1]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140026230
mov r15, rax
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 7
jbe 0x1400036d2
mov rbx, qword [rdi]
mov rdx, rbx
call fcn.140080680
mov dword [r15 + r14], 0x3d
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1400036c3
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000371a
mov rbx, rcx
mov rcx, rbx
call fcn.140054120
mov ecx, 0x3d
jmp 0x1400036e3
mov rdx, rdi
call fcn.140080680
mov ecx, 0x3d
mov dword [r15 + r14], ecx
mov qword [rdi], r15
movabs rdx, 0x7ffffffffffffffe
xor r15d, r15d
inc r12
cmp r12, r13
jb 0x1400035e3
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a6c0
int3
call fcn.1400015e0
int3