Function at 0x140102d10
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14029ba50]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x20], rdx
mov rsi, qword [rdx + 0x10]
lea rcx, [rsi + 2]
movabs r8, 0xaaaaaaaaaaaaaaab
mov rax, r8
mul rcx
mov rcx, rdx
shr rcx, 1
movabs rax, 0xe38e38e38e38e38f
mul rsi
shr rdx, 4
mov rax, r8
mul rdx
shr rdx, 1
lea rdx, [rdx + rcx*4]
mov qword [rdi], 0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
xor r8d, r8d
mov rcx, rdi
call fcn.140100900
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140102da9
mov rcx, qword [rdi]
xor r9d, r9d
lea r10, [rsi - 2]
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_p
test r10, r10
je 0x140102ea6
movabs rbp, 0x97b425ed097b425f
nop word [rax + rax]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140102ddd
mov rax, qword [rbx]
movzx eax, byte [rax + r9]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
cmp qword [rbx + 0x18], 0x10
jb 0x140102dfd
mov rdx, qword [rbx]
lea r8, [r9 + rdx]
jmp 0x140102e04
lea r8, [rbx + r9]
mov rdx, rbx
movzx edx, byte [rdx + r9 + 1]
shr rdx, 4
movsx rax, byte [r8]
and eax, 3
shl rax, 4
or rdx, rax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
cmp qword [rbx + 0x18], 0x10
jb 0x140102e34
mov rdx, qword [rbx]
lea r8, [rdx + 1]
jmp 0x140102e3b
lea r8, [rbx + 1]
mov rdx, rbx
add r8, r9
movzx edx, byte [rdx + r9 + 2]
shr rdx, 6
movsx rax, byte [r8]
and eax, 0xf
shl rax, 2
or rdx, rax
movzx eax, byte [rdx + r11]
mov byte [rcx + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140102e6b
mov rax, qword [rbx]
movsx rax, byte [rax + r9 + 2]
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 3], al
add rcx, 4
add r9, 3
mov rax, rbp
mul r9
shr rdx, 5
imul r8, rdx, 0x36
cmp r9, r8
jne 0x140102e9d
mov byte [rcx], 0xa
inc rcx
cmp r9, r10
jb 0x140102dd0
cmp r9, rsi
jae 0x140102f5b
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140102ebc
mov rax, qword [rbx]
movzx eax, byte [rax + r9]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
mov rdx, qword [rbx + 0x18]
lea rax, [rsi - 1]
cmp r9, rax
jne 0x140102f00
mov rax, rbx
cmp rdx, 0x10
jb 0x140102ee5
mov rax, qword [rbx]
movsx rax, byte [rax + r9]
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [rcx + 1], al
mov al, 0x3d
add rcx, 2
jmp 0x140102f55
cmp rdx, 0x10
jb 0x140102f0f
mov rdx, qword [rbx]
lea r8, [r9 + rdx]
jmp 0x140102f16
lea r8, [rbx + r9]
mov rdx, rbx
movzx edx, byte [rdx + r9 + 1]
shr rdx, 4
movsx rax, byte [r8]
and eax, 3
shl rax, 4
or rdx, rax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
add rcx, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140102f47
mov rax, qword [rbx]
movsx rax, byte [rax + r9 + 1]
and eax, 0xf
movzx eax, byte [r11 + rax*4]
mov byte [rcx], al
mov byte [rcx + 1], 0x3d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140102f91
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140102f8c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140102fc1
mov rcx, r8
call fcn.1401a78c8
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a75d0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3