Function at 0x14004e310
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 rbp, rdx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov ecx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1401b9f00], eax
jle 0x14004e3f6
lea rcx, [0x1401b9f00]
call fcn.1400dae94
cmp dword [0x1401b9f00], 0xffffffff
jne 0x14004e3f6
xorps xmm0, xmm0
movups xmmword [0x1401b9d48], xmm0
mov qword [0x1401b9d58], rdi
mov qword [0x1401b9d60], rdi
mov ecx, 0x50
call fcn.1400daf0c
mov qword [0x1401b9d48], rax
mov qword [0x1401b9d58], 0x40
mov qword [0x1401b9d60], 0x4f
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140106a20]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140106a30]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140106a40]
movups xmmword [rax + 0x30], xmm1
mov byte [rax + 0x40], dil
lea rcx, [0x1400e5780]
call fcn.1400db240
nop
lea rcx, [0x1401b9f00]
call fcn.1400dae28
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov esi, edi
mov r14, rbp
cmp qword [rbp + 0x18], 0xf
jbe 0x14004e423
mov r14, qword [rbp]
mov rbp, qword [rbp + 0x10]
test rbp, rbp
je 0x14004e76a
mov rcx, rdi
dec rbp
movzx eax, byte [r14]
lea r14, [r14 + 1]
mov byte [rsp + rcx + 0x88], al
inc esi
inc rcx
movzx edx, byte [rsp + 0x8a]
movzx r15d, byte [rsp + 0x89]
movzx r12d, byte [rsp + 0x88]
cmp rcx, 3
jne 0x14004e60c
movzx eax, r12b
shr al, 2
movzx ecx, al
movzx esi, r12b
and sil, 3
shl sil, 4
movzx eax, r15b
shr al, 4
add sil, al
movzx r13d, r15b
and r13b, 0xf
shl r13b, 2
movzx eax, dl
shr al, 6
add r13b, al
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x80], al
lea rax, [0x1401b9d48]
cmp qword [0x1401b9d60], 0xf
cmova rax, qword [0x1401b9d48]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14004e4f7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14004e4ec
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004e4ff
mov rcx, rbx
call fcn.14007c2f0
lea rcx, [0x1401b9d48]
cmp qword [0x1401b9d60], 0xf
cmova rcx, qword [0x1401b9d48]
movzx eax, sil
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14004e54b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14004e540
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004e553
mov rcx, rbx
call fcn.14007c2f0
lea rcx, [0x1401b9d48]
cmp qword [0x1401b9d60], 0xf
cmova rcx, qword [0x1401b9d48]
movzx eax, r13b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14004e59f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14004e594
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004e5a7
mov rcx, rbx
call fcn.14007c2f0
lea rcx, [0x1401b9d48]
cmp qword [0x1401b9d60], 0xf
cmova rcx, qword [0x1401b9d48]
movzx eax, byte [rsp + 0x80]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14004e5f7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14004e5ec
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004e5ff
mov rcx, rbx
call fcn.14007c2f0
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x8a]
test rbp, rbp
jne 0x14004e433
test esi, esi
je 0x14004e76a
mov r14d, 3
cmp esi, r14d
jge 0x14004e65f
mov eax, r14d
sub eax, esi
movsxd r8, eax
movsxd rax, esi
lea rcx, [rsp + 0x88]
add rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movzx edx, byte [rsp + 0x8a]
movzx r15d, byte [rsp + 0x89]
movzx r12d, byte [rsp + 0x88]
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x80], al
and r12b, r14b
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rsp + 0x81], r12b
and r15b, 0xf
shl r15b, 2
movzx eax, dl
shr al, 6
add r15b, al
mov byte [rsp + 0x82], r15b
and dl, 0x3f
mov byte [rsp + 0x83], dl
lea eax, [rsi + 1]
movsxd rbp, eax
test eax, eax
jle 0x14004e71c
lea r15, [0x1401b9d48]
nop word [rax + rax]
mov rcx, r15
cmp qword [0x1401b9d60], 0xf
cmova rcx, qword [0x1401b9d48]
movzx eax, byte [rsp + rdi + 0x80]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14004e70c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14004e701
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004e714
mov rcx, rbx
call fcn.14007c2f0
inc rdi
cmp rdi, rbp
jl 0x14004e6c0
cmp esi, r14d
jge 0x14004e76a
sub r14d, esi
movsxd rdi, r14d
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14004e759
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14004e751
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14004e764
mov r9b, 0x3d
mov rcx, rbx
call fcn.14007c2f0
sub rdi, 1
jne 0x14004e730
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