Function at 0x14008e110
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 [0x140304470]
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 0x14008e16a
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.140032db0
nop
mov esi, 5
mov dword [rsp + 0x30], esi
cmp qword [rbp + 0x28], 0
jne 0x14008e1c2
mov rdx, qword [rdi + 0x30]
add rdx, 0x160
lea rcx, [rbp + 0x78]
call fcn.140032db0
mov esi, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x30], esi
cmp qword [rbp + 0x88], 0
jne 0x14008e1c2
xor r14b, r14b
jmp 0x14008e1c5
mov r14b, 1
test sil, 2
je 0x14008e214
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14008e214
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e20e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e20e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
nop
test sil, 1
je 0x14008e255
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14008e255
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e250
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008e54b
call fcn.14021962c
mov r15d, 1
test r14b, r14b
je 0x14008e55a
mov rdx, qword [rdi + 0x30]
add rdx, 0x160
lea rcx, [rbp + 0xb8]
call fcn.140032db0
nop
mov rdx, qword [rdi + 0x30]
add rdx, 0x140
lea rcx, [rbp - 8]
call fcn.140032db0
nop
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x14008e2c5
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 0x14008e2e0
mov qword [rsp + 0x20], r15
lea r9, [0x1402b38e8]
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.14003dd40
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.1400424a0
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14008e352
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e34c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e34c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14008e390
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e38b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e38b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
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 0x14008e3e4
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e3df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e3df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
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.1400329b0
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 0x14008e42c
mov rbx, qword [rbx]
mov rax, r14
mul rsi
shr rdx, 1
mov r10, rdx
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
je 0x14008e4a5
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 0x14008e441
lea rax, [rdx + rdx*2]
sub rsi, rax
sub rsi, 1
je 0x14008e4f9
cmp rsi, 1
jne 0x14008e520
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 0x14008e520
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 0x14008e55a
lea rdx, [r11 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x14008e552
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.14021962c
xor eax, eax
lock cmpxchg byte [rdi + 0x288], r15b
jne 0x14008ea5e
lea rcx, [rdi + 0x580]
call fcn.14002fe40
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.1402192c8
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.14006eee0
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14008e5d0
sub rax, 1
jne 0x14008e5c0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r13
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
test rbx, rbx
je 0x14008e608
nop
dec rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
je 0x14008e5fe
mov edx, 0x1c
mov rcx, rax
call fcn.14021962c
mov rcx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14008e5e0
mov rbx, qword [rsp + 0x60]
test rcx, rcx
je 0x14008e642
lea rdx, [rbx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e63d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e63d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
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.14021962c
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 0x14008e81d
movzx r14d, word [rdx + 0x1c2]
add rdx, 0xc0
lea rcx, [rbp + 0x38]
call fcn.140032db0
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, [0x1402b2d00]
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.1400241c0
test eax, eax
jg 0x14008e708
xorps xmm6, xmm6
mov esi, r13d
jmp 0x14008e710
mov esi, dword [rsp + 0x30]
movups xmm6, xmmword [rbp + 0x78]
cmp dword [rbp + 0x18], 0
jne 0x14008e71b
mov ebx, r13d
jmp 0x14008e755
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.1400241c0
mov ebx, dword [rsp + 0x48]
test eax, eax
cmovle ebx, r13d
cmp dword [rbp + 0x18], 0
jne 0x14008ea93
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 0x14008e792
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 0x14008e7ba
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 0x14008ea9d
movups xmmword [rbp], xmm6
mov dword [rbp + 0x10], esi
lea rdx, [rbp - 8]
lea rcx, [rdi + 0x3c8]
call fcn.14007af90
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14008e809
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e804
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e804
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
lea rdx, [rdi + 0x530]
mov rcx, rdi
call fcn.140092420
jmp 0x14008ea5e
lea rdx, [0x140311f78]
lea rcx, [rbp - 0x30]
call fcn.14007c680
lea rsi, [rdi + 0x3a0]
mov rdx, rax
mov rcx, rsi
call fcn.14007b780
lea rcx, [rbp - 0x30]
call fcn.14007bf00
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.14007c780
mov rbx, rax
mov rdx, qword [rdi + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0xd8]
call fcn.140032db0
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.140032db0
nop
mov rdx, rbx
lea rcx, [rbp + 0x150]
call fcn.140032db0
movdqa xmm0, xmmword [0x1402c57c0]
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 0x14008e92d
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e927
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e927
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14008e971
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e96c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e96c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
lea rax, [0x140090fe0]
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, 0x108
call fcn.1400227f0
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 0x14008ea01
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.14007fc90
mov qword [rbp - 0x78], rax
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.14006c3a0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r13
lea rcx, [rsp + 0x78]
call fcn.140080130
nop
lea rcx, [rbp + 0x150]
call fcn.140034440
lea rcx, [rbp + 0x130]
call fcn.140034440
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140219010
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.140022670
nop
lea rcx, [rbp + 0x58]
call fcn.14006c020
lea rcx, [rbp + 0x58]
call fcn.14007c410
int3