Function at 0x14008ad40
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 - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
lea rbx, [rcx + 0x5e8]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14008ad9a
mov rax, qword [rbx]
mov qword [rbx + 0x10], r13
mov byte [rax], r13b
mov rdx, qword [rcx + 0x30]
add rdx, 0x140
lea rcx, [rbp + 0x18]
call fcn.1400316d0
nop
mov esi, 5
mov dword [rsp + 0x30], esi
cmp qword [rbp + 0x28], 0
jne 0x14008adf2
mov rdx, qword [rdi + 0x30]
add rdx, 0x160
lea rcx, [rbp + 0x78]
call fcn.1400316d0
mov esi, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x30], esi
cmp qword [rbp + 0x88], 0
jne 0x14008adf2
xor r14b, r14b
jmp 0x14008adf5
mov r14b, 1
test sil, 2
je 0x14008ae44
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14008ae44
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ae3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ae3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
nop
test sil, 1
je 0x14008ae85
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14008ae85
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ae80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b17b
call fcn.1401ec5cc
mov r15d, 1
test r14b, r14b
je 0x14008b18a
mov rdx, qword [rdi + 0x30]
add rdx, 0x160
lea rcx, [rbp + 0xb8]
call fcn.1400316d0
nop
mov rdx, qword [rdi + 0x30]
add rdx, 0x140
lea rcx, [rbp - 8]
call fcn.1400316d0
nop
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x14008aef5
lea rax, [rcx + 1]
mov qword [rbp + 8], rax
lea rax, [rbp - 8]
cmp rdx, 0x10
cmovae rax, qword [rbp - 8]
mov word [rax + rcx], 0x3a
lea rax, [rbp - 8]
jmp 0x14008af10
mov qword [rsp + 0x20], r15
lea r9, [0x140276030]
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.14003c1f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0xb8]
lea r8, [rbp + 0x38]
lea rcx, [rbp + 0x58]
call fcn.140040950
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14008af82
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008af7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008af7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14008afc0
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008afbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008afbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x14008b014
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b00f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b00f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov rsi, qword [rbp + 0x68]
lea rcx, [rsi + 2]
movabs r14, 0xaaaaaaaaaaaaaaab
mov rax, r14
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rbx
call fcn.1400312f0
lea r8, [rbp + 0x58]
mov r9, qword [rbp + 0x58]
mov r11, qword [rbp + 0x70]
cmp r11, 0x10
cmovae r8, r9
cmp qword [rbx + 0x18], 0x10
jb 0x14008b05c
mov rbx, qword [rbx]
mov rax, r14
mul rsi
shr rdx, 1
mov r10, rdx
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
je 0x14008b0d5
movzx eax, byte [r8]
shr rax, 2
movzx eax, byte [rax + r14]
mov byte [rbx], al
movsx ecx, byte [r8]
and ecx, 3
shl ecx, 4
movzx eax, byte [r8 + 1]
shr eax, 4
add ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rbx + 1], al
movsx ecx, byte [r8 + 1]
and ecx, 0xf
movzx eax, byte [r8 + 2]
shr eax, 6
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r14]
mov byte [rbx + 2], al
movsx rax, byte [r8 + 2]
and eax, 0x3f
movzx eax, byte [rax + r14]
mov byte [rbx + 3], al
add rbx, 4
add r8, 3
sub r10, 1
jne 0x14008b071
lea rax, [rdx + rdx*2]
sub rsi, rax
sub rsi, 1
je 0x14008b129
cmp rsi, 1
jne 0x14008b150
movzx eax, byte [r8]
shr rax, 2
movzx eax, byte [rax + r14]
mov byte [rbx], al
movsx ecx, byte [r8]
and ecx, 3
shl ecx, 4
movzx eax, byte [r8 + 1]
shr eax, 4
add ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rbx + 1], al
movsx rax, byte [r8 + 1]
and eax, 0xf
movzx eax, byte [r14 + rax*4]
mov byte [rbx + 2], al
mov byte [rbx + 3], 0x3d
jmp 0x14008b150
movzx eax, byte [r8]
shr rax, 2
movzx eax, byte [rax + r14]
mov byte [rbx], al
movsx rax, byte [r8]
and eax, 3
add rax, rax
movzx eax, byte [r14 + rax*8]
mov byte [rbx + 1], al
mov word [rbx + 2], 0x3d3d
cmp r11, 0x10
jb 0x14008b18a
lea rdx, [r11 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x14008b182
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b182
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1401ec5cc
xor eax, eax
lock cmpxchg byte [rdi + 0x288], r15b
jne 0x14008b68e
lea rcx, [rdi + 0x580]
call fcn.14002e880
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401ec268
mov qword [rax + 8], r13
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x3c8]
call fcn.14006bac0
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14008b200
sub rax, 1
jne 0x14008b1f0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r13
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
test rbx, rbx
je 0x14008b238
nop
dec rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
je 0x14008b22e
mov edx, 0x1c
mov rcx, rax
call fcn.1401ec5cc
mov rcx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14008b210
mov rbx, qword [rsp + 0x60]
test rcx, rcx
je 0x14008b272
lea rdx, [rbx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b26d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b26d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], r13
mov edx, reloc.WS2_32.dll_recv
call fcn.1401ec5cc
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov dword [rbp - 0x58], r13d
mov qword [rbp - 0x70], 2
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rdi + 0x14], xmm0
unpckhpd xmm1, xmm1
movsd qword [rdi + 0x24], xmm1
mov dword [rdi + 0x2c], r13d
mov rdx, qword [rdi + 0x30]
mov eax, dword [rdx + 0x1c8]
dec eax
cmp eax, 1
jbe 0x14008b44d
movzx r14d, word [rdx + 0x1c2]
add rdx, 0xc0
lea rcx, [rbp + 0x38]
call fcn.1400316d0
nop
lea rbx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rbx, qword [rbp + 0x38]
mov dword [rbp + 0x18], r13d
mov byte [rbp + 0x1c], 0
lea rax, [0x140275440]
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x30], r13d
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x78]
mov rdx, rbx
mov ecx, 0x17
call fcn.140023960
test eax, eax
jg 0x14008b338
xorps xmm6, xmm6
mov esi, r13d
jmp 0x14008b340
mov esi, dword [rsp + 0x30]
movups xmm6, xmmword [rbp + 0x78]
cmp dword [rbp + 0x18], 0
jne 0x14008b34b
mov ebx, r13d
jmp 0x14008b385
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
lea ecx, [r9 + 2]
call fcn.140023960
mov ebx, dword [rsp + 0x48]
test eax, eax
cmovle ebx, r13d
cmp dword [rbp + 0x18], 0
jne 0x14008b6c3
mov r15d, r13d
xorps xmm6, xmm6
mov esi, r13d
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov dword [rbp + 0x10], r13d
movzx ecx, r14w
test r15d, r15d
jne 0x14008b3c2
mov eax, 2
mov word [rbp - 8], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 6], ax
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 4], eax
jmp 0x14008b3ea
mov eax, 0x17
mov word [rbp - 8], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 6], ax
mov dword [rbp - 4], r13d
cmp r15d, 1
jne 0x14008b6cd
movups xmmword [rbp], xmm6
mov dword [rbp + 0x10], esi
lea rdx, [rbp - 8]
lea rcx, [rdi + 0x3c8]
call fcn.140077b70
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14008b439
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b434
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
lea rdx, [rdi + 0x530]
mov rcx, rdi
call fcn.14008f060
jmp 0x14008b68e
lea rdx, [0x1402c5cc8]
lea rcx, [rbp - 0x30]
call fcn.140079260
lea rsi, [rdi + 0x3a0]
mov rdx, rax
mov rcx, rsi
call fcn.140078360
lea rcx, [rbp - 0x30]
call fcn.140078ae0
mov rax, qword [rdi + 0x30]
movzx ecx, word [rax + 0x1c2]
mov word [rsp + 0x34], cx
lea rdx, [rsp + 0x34]
lea rcx, [rbp + 0x98]
call fcn.140079360
mov rbx, rax
mov rdx, qword [rdi + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0xd8]
call fcn.1400316d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x130]
call fcn.1400316d0
nop
mov rdx, rbx
lea rcx, [rbp + 0x150]
call fcn.1400316d0
movdqa xmm0, xmmword [0x140280520]
movdqa xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r13
mov qword [rbp + 0x118], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x14008b55d
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14008b5a1
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b59c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b59c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
lea rax, [0x14008dc20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
movups xmm0, xmmword [rdi + 0x318]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x40], xmm1
mov rbx, qword [rsi]
lea rdi, [rsi + 0x18]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x40]
mov ecx, pe_nt_image_headers64
call fcn.140021f90
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r13
mov r9, qword [rbx + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14008b631
mov rax, qword [rsi + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
lock inc dword [rcx + 0xc]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rdi
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14007c890
mov qword [rbp - 0x78], rax
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.140068f80
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r13
lea rcx, [rsp + 0x78]
call fcn.14007cd30
nop
lea rcx, [rbp + 0x150]
call fcn.140032e40
lea rcx, [rbp + 0x130]
call fcn.140032e40
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp + 0x18]
call fcn.140021e10
nop
lea rcx, [rbp + 0x58]
call fcn.140068c00
lea rcx, [rbp + 0x58]
call fcn.140078ff0
int3