Function at 0x1400198e8
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r14d, r8d
mov r13, rdx
mov rbx, rcx
and dword [rbp - 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov dword [rbp - 0x10], 1
xor esi, esi
test r8d, r8d
je 0x140019b23
xor ecx, ecx
lea edi, [rsi + 3]
dec r14d
mov al, byte [r13]
mov byte [rbp + rcx + 0x50], al
inc esi
inc rcx
inc r13
mov dl, byte [rbp + 0x52]
mov r15b, byte [rbp + 0x51]
mov r12b, byte [rbp + 0x50]
cmp rcx, rdi
jne 0x140019a01
mov al, r12b
shr al, 2
mov byte [rbp + 0x58], al
mov cl, r12b
and cl, dil
shl cl, 4
mov al, r15b
shr al, 4
add cl, al
mov byte [rbp + 0x59], cl
mov cl, r15b
and cl, 0xf
shl cl, 2
mov al, dl
shr al, 6
add cl, al
mov byte [rbp + 0x5a], cl
mov al, dl
and al, 0x3f
mov byte [rbp + 0x5b], al
xor esi, esi
lea rcx, [0x140199010]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x140199010]
movzx eax, byte [rbp + rsi + 0x58]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400199e2
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400199d7
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400199f1
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c5e8
inc rsi
cmp rsi, 4
jl 0x140019998
xor esi, esi
xor ecx, ecx
mov dl, byte [rbp + 0x52]
test r14d, r14d
jne 0x140019938
test esi, esi
je 0x140019b23
movsxd rax, esi
cmp rax, rdi
jge 0x140019a38
jae 0x140019b3b
mov byte [rbp + rax + 0x50], 0
inc rax
cmp rax, rdi
jl 0x140019a1a
mov dl, byte [rbp + 0x52]
mov r15b, byte [rbp + 0x51]
mov r12b, byte [rbp + 0x50]
mov al, r12b
shr al, 2
mov byte [rbp + 0x58], al
and r12b, dil
shl r12b, 4
mov al, r15b
shr al, 4
add r12b, al
mov byte [rbp + 0x59], r12b
and r15b, 0xf
shl r15b, 2
mov al, dl
shr al, 6
add r15b, al
mov byte [rbp + 0x5a], r15b
and dl, 0x3f
mov byte [rbp + 0x5b], dl
lea eax, [rsi + 1]
movsxd r15, eax
test eax, eax
jle 0x140019ade
xor r14d, r14d
lea rcx, [0x140199010]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x140199010]
movzx eax, byte [rbp + r14 + 0x58]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140019ac7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140019abc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140019ad6
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c5e8
inc r14
cmp r14, r15
jl 0x140019a7c
cmp esi, edi
jge 0x140019b23
sub edi, esi
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140019b0b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140019b03
mov rax, qword [rbx]
mov word [rax + rcx], DriveType
jmp 0x140019b1d
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c5e8
sub rdi, 1
jne 0x140019ae4
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140051a30
int3