Function at 0x140148d84
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12d, r8d
mov rbx, rcx
mov qword [rbp - 0x31], rcx
and dword [rbp - 0x41], 0
movaps xmm0, xmmword [0x140156920]
movaps xmmword [rbp - 0x29], xmm0
movaps xmm1, xmmword [0x140156930]
movaps xmmword [rbp - 0x19], xmm1
movaps xmm0, xmmword [0x140156940]
movaps xmmword [rbp - 9], xmm0
movaps xmm1, xmmword [0x140156950]
movaps xmmword [rbp + 7], xmm1
mov al, byte [0x140156960]
mov byte [rbp + 0x17], al
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov dword [rbp - 0x41], 1
xor esi, esi
test r8d, r8d
je 0x140148fe8
xor ecx, ecx
lea edi, [rsi + 3]
dec r12d
mov al, byte [rdx]
mov byte [rbp + rcx - 0x49], al
inc esi
inc rcx
inc rdx
mov qword [rbp - 0x39], rdx
mov r13b, byte [rbp - 0x47]
mov r14b, byte [rbp - 0x48]
mov r15b, byte [rbp - 0x49]
cmp rcx, rdi
jne 0x140148ed8
mov al, r15b
shr al, 2
mov byte [rbp - 0x45], al
mov cl, r15b
and cl, dil
shl cl, 4
mov al, r14b
shr al, 4
add cl, al
mov byte [rbp - 0x44], cl
mov cl, r14b
and cl, 0xf
shl cl, 2
mov al, r13b
shr al, 6
add cl, al
mov byte [rbp - 0x43], cl
mov al, r13b
and al, 0x3f
mov byte [rbp - 0x42], al
xor esi, esi
movzx eax, byte [rbp + rsi - 0x45]
mov r9b, byte [rbp + rax - 0x29]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140148eb8
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140148ead
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140148ec7
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c5e8
inc rsi
cmp rsi, 4
jl 0x140148e84
xor esi, esi
xor ecx, ecx
mov rdx, qword [rbp - 0x39]
test r12d, r12d
jne 0x140148e1f
test esi, esi
je 0x140148fe8
movsxd rax, esi
cmp rax, rdi
jge 0x140148f10
jae 0x140149018
mov byte [rbp + rax - 0x49], 0
inc rax
cmp rax, rdi
jl 0x140148ef1
mov r13b, byte [rbp - 0x47]
mov r14b, byte [rbp - 0x48]
mov r15b, byte [rbp - 0x49]
mov al, r15b
shr al, 2
mov byte [rbp - 0x45], al
and r15b, dil
shl r15b, 4
mov al, r14b
shr al, 4
add r15b, al
mov byte [rbp - 0x44], r15b
and r14b, 0xf
shl r14b, 2
mov al, r13b
shr al, 6
add r14b, al
mov byte [rbp - 0x43], r14b
and r13b, 0x3f
mov byte [rbp - 0x42], r13b
lea eax, [rsi + 1]
movsxd r15, eax
test eax, eax
jle 0x140148fa3
xor r14d, r14d
movzx eax, byte [rbp + r14 - 0x45]
mov r9b, byte [rbp + rax - 0x29]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140148f8c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140148f81
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140148f9b
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c5e8
inc r14
cmp r14, r15
jl 0x140148f57
cmp esi, edi
jge 0x140148fe8
sub edi, esi
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140148fd0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140148fc8
mov rax, qword [rbx]
mov word [rax + rcx], DriveType
jmp 0x140148fe2
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c5e8
sub rdi, 1
jne 0x140148fa9
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140051d60
lea r11, [rsp + 0xa0]
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.140051a30
int3