Function at 0x140018cb0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14008f080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 0x58], rcx
xor r13d, r13d
mov r12, qword [rdx + 0x10]
test r12, r12
jne 0x140018d09
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rcx + 0x18], rdx
mov byte [rcx], r13b
jmp 0x140019172
test r8b, r8b
je 0x140018e2f
lea rcx, [rbp - 0x30]
call fcn.140010870
nop
lea rdi, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
cmova rdi, r8
add rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp rdx, 0xf
cmova rbx, r8
add rbx, qword [rbp - 0x20]
lea rcx, [rbp - 0x30]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0xa
mov rdx, rbx
call fcn.14006f9b0
mov r8, rax
cmp rax, rbx
je 0x140018d86
inc rax
cmp rax, rbx
je 0x140018d86
nop dword [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140018d7e
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x140018d70
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
mov r9, r8
sub r9, rax
sub rdi, r8
mov rbx, qword [rbp - 0x20]
mov rax, rbx
sub rax, r9
cmp rax, rdi
cmovb rdi, rax
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
add rcx, r9
sub rbx, rdi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x20], rbx
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.140018c90
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140019172
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018e25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018e25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006fab0
jmp 0x140019172
mov rax, r12
shr rax, 2
lea rcx, [rax + rax*2]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov r8, r13
mov qword [rbp - 0x40], r13
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rdx
mov byte [rbp - 0x50], r8b
cmp rcx, 0x10
jb 0x140018e72
mov rdx, rcx
lea rcx, [rbp - 0x50]
call fcn.1400191b0
mov r8, r13
mov qword [rbp - 0x40], r13
mov rdx, qword [rbp - 0x38]
test r12, r12
je 0x140019161
mov esi, 2
mov r10, qword [rbx + 0x10]
lea rax, [rsi - 1]
cmp r10, rax
jbe 0x14001919c
mov rcx, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 0xf
jbe 0x140018ea1
mov rcx, qword [rbx]
movzx ecx, byte [rax + rcx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140018eb2
lea rax, [rcx - 0x41]
jmp 0x140018eee
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140018ebf
lea rax, [rcx - 0x47]
jmp 0x140018eee
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140018ecc
lea rax, [rcx + 4]
jmp 0x140018eee
lea eax, [rcx - 0x2b]
test al, 0xfd
je 0x140018ee9
cmp cl, 0x2f
je 0x140018ee2
cmp cl, 0x5f
je 0x140018ee2
mov rax, r13
jmp 0x140018eee
mov eax, 0x3f
jmp 0x140018eee
mov eax, 0x3e
mov r14d, eax
lea rax, [rsi - 2]
cmp r10, rax
jbe 0x14001919c
mov rcx, rbx
cmp r9, 0xf
jbe 0x140018f0a
mov rcx, qword [rbx]
movzx ecx, byte [rcx + rax]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140018f1a
sub cl, 0x41
jmp 0x140018f4d
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140018f26
sub cl, 0x47
jmp 0x140018f4d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140018f32
add cl, 4
jmp 0x140018f4d
lea eax, [rcx - 0x2b]
test al, 0xfd
je 0x140018f4b
cmp cl, 0x2f
je 0x140018f47
cmp cl, 0x5f
je 0x140018f47
xor cl, cl
jmp 0x140018f4d
mov cl, 0x3f
jmp 0x140018f4d
mov cl, 0x3e
movzx r9d, r14b
shr r9b, 4
and r9b, 3
shl cl, 2
add r9b, cl
cmp r8, rdx
jae 0x140018f85
lea rax, [r8 + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x50]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x140018f8e
lea rcx, [rbp - 0x50]
call fcn.140012d30
cmp rsi, r12
jae 0x140019147
cmp qword [rbx + 0x10], rsi
jbe 0x14001919c
mov rcx, rbx
mov rax, qword [rbx + 0x18]
cmp rax, 0xf
jbe 0x140018fb1
mov rcx, qword [rbx]
cmp byte [rsi + rcx], 0x3d
je 0x140019147
mov rcx, rbx
cmp rax, 0xf
jbe 0x140018fc7
mov rcx, qword [rbx]
cmp byte [rsi + rcx], 0x2e
je 0x140019147
mov rcx, rbx
cmp rax, 0xf
jbe 0x140018fdd
mov rcx, qword [rbx]
movzx ecx, byte [rsi + rcx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140018fed
lea edi, [rcx - 0x41]
jmp 0x140019027
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140018ff9
lea edi, [rcx - 0x47]
jmp 0x140019027
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140019005
lea edi, [rcx + 4]
jmp 0x140019027
lea eax, [rcx - 0x2b]
test al, 0xfd
je 0x140019022
cmp cl, 0x2f
je 0x14001901b
cmp cl, 0x5f
je 0x14001901b
mov edi, r13d
jmp 0x140019027
mov edi, 0x3f
jmp 0x140019027
mov edi, 0x3e
mov r9d, edi
shr r9d, 2
and r9b, 0xf
shl r14b, 4
add r9b, r14b
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
jae 0x140019066
lea rax, [rcx + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001906f
lea rcx, [rbp - 0x50]
call fcn.140012d30
lea rax, [rsi + 1]
cmp rax, r12
jae 0x140019147
cmp qword [rbx + 0x10], rax
jbe 0x14001919c
mov rdx, rbx
mov rcx, qword [rbx + 0x18]
cmp rcx, 0xf
jbe 0x140019096
mov rdx, qword [rbx]
cmp byte [rdx + rax], 0x3d
je 0x140019147
mov rax, rbx
cmp rcx, 0xf
jbe 0x1400190ac
mov rax, qword [rbx]
cmp byte [rax + rsi + 1], 0x2e
je 0x140019147
mov rax, rbx
cmp rcx, 0xf
jbe 0x1400190c3
mov rax, qword [rbx]
movzx eax, byte [rax + rsi + 1]
lea ecx, [rax - 0x41]
cmp cl, 0x19
ja 0x1400190d4
sub al, 0x41
jmp 0x140019106
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x1400190e0
sub al, 0x47
jmp 0x140019106
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x1400190ec
add al, 4
jmp 0x140019106
lea ecx, [rax - 0x2b]
test cl, 0xfd
je 0x140019104
cmp al, 0x2f
je 0x140019100
cmp al, 0x5f
je 0x140019100
xor al, al
jmp 0x140019106
mov al, 0x3f
jmp 0x140019106
mov al, 0x3e
shl dil, 6
add dil, al
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
jae 0x14001913a
lea rax, [rcx + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x50]
mov byte [rax + rcx], dil
mov byte [rax + rcx + 1], 0
jmp 0x140019147
movzx r9d, dil
lea rcx, [rbp - 0x50]
call fcn.140012d30
add rsi, 4
lea rax, [rsi - 2]
cmp rax, r12
jae 0x140019161
mov rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x40]
jmp 0x140018e80
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r15 + 0x10], xmm1
mov rax, r15
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14006fa90
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140011a20
nop
int3