Function at 0x14004ab40
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
sub rsp, 0x30
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x24], esi
mov ecx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1401b5ebc], eax
jle 0x14004ac26
lea rcx, [0x1401b5ebc]
call fcn.1400e7044
cmp dword [0x1401b5ebc], 0xffffffff
jne 0x14004ac26
xorps xmm0, xmm0
movups xmmword [0x1401b5e98], xmm0
mov qword [0x1401b5ea8], rsi
mov qword [0x1401b5eb0], rsi
mov ecx, 0x50
call fcn.1400e70bc
mov qword [0x1401b5e98], rax
mov qword [0x1401b5ea8], 0x40
mov qword [0x1401b5eb0], 0x4f
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14010ece0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14010ecf0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14010ed00]
movups xmmword [rax + 0x30], xmm1
mov byte [rax + 0x40], sil
lea rcx, [0x1400eee00]
call fcn.1400e73f0
nop
lea rcx, [0x1401b5ebc]
call fcn.1400e6fd8
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
mov ebp, esi
mov r15, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14004ac52
mov r15, qword [r14]
mov r14, qword [r14 + 0x10]
test r14, r14
je 0x14004afd3
mov rcx, rsi
movzx ebx, byte [rsp + 0x80]
nop word [rax + rax]
dec r14
movzx eax, byte [r15]
lea r15, [r15 + 1]
mov byte [rsp + rcx + 0x20], al
inc ebp
inc rcx
movzx r8d, byte [rsp + 0x22]
movzx r12d, byte [rsp + 0x21]
movzx r13d, byte [rsp + 0x20]
cmp rcx, 3
jne 0x14004ae69
movzx eax, r13b
shr al, 2
movzx ecx, al
movzx ebp, r13b
and bpl, 3
shl bpl, 4
movzx eax, r12b
shr al, 4
add bpl, al
movzx edx, r12b
and dl, 0xf
shl dl, 2
movzx eax, r8b
shr al, 6
add dl, al
mov byte [rsp + 0x80], dl
movzx eax, r8b
and al, 0x3f
mov byte [rsp + 0x88], al
lea rax, [0x1401b5e98]
cmp qword [0x1401b5eb0], 0xf
cmova rax, qword [0x1401b5e98]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14004ad2f
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004ad24
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004ad40
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140075650
lea rcx, [0x1401b5e98]
cmp qword [0x1401b5eb0], 0xf
cmova rcx, qword [0x1401b5e98]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14004ad8c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004ad81
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004ad9d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140075650
lea rbp, [0x1401b5e98]
mov rcx, rbp
cmp qword [0x1401b5eb0], 0xf
cmova rcx, qword [0x1401b5e98]
movzx eax, byte [rsp + 0x80]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14004adf0
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004ade5
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004ae01
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140075650
mov rcx, rbp
cmp qword [0x1401b5eb0], 0xf
cmova rcx, qword [0x1401b5e98]
movzx eax, byte [rsp + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14004ae4d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004ae42
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004ae5e
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140075650
mov ebp, esi
mov rcx, rsi
movzx r8d, byte [rsp + 0x22]
test r14, r14
jne 0x14004ac70
test ebp, ebp
je 0x14004afd3
mov r15d, 3
cmp ebp, r15d
jge 0x14004aeb1
mov eax, r15d
sub eax, ebp
movsxd r8, eax
movsxd rax, ebp
lea rcx, [rsp + 0x20]
add rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movzx r8d, byte [rsp + 0x22]
movzx r12d, byte [rsp + 0x21]
movzx r13d, byte [rsp + 0x20]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x80], al
and r13b, r15b
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rsp + 0x81], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, r8b
shr al, 6
add r12b, al
mov byte [rsp + 0x82], r12b
and r8b, 0x3f
mov byte [rsp + 0x83], r8b
lea eax, [rbp + 1]
movsxd r14, eax
test eax, eax
jle 0x14004af79
movzx ebx, byte [rsp + 0x80]
lea rcx, [0x1401b5e98]
cmp qword [0x1401b5eb0], 0xf
cmova rcx, qword [0x1401b5e98]
movzx eax, byte [rsp + rsi + 0x80]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14004af60
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004af55
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004af71
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140075650
inc rsi
cmp rsi, r14
jl 0x14004af10
cmp ebp, r15d
jge 0x14004afd3
sub r15d, ebp
movsxd rsi, r15d
movzx ebx, byte [rsp + 0x80]
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14004afb9
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004afb1
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x14004afcd
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140075650
sub rsi, 1
jne 0x14004af90
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret