Function at 0x18008cbc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 8], rax
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rdx
lea r12, [rcx + 0x10]
mov rcx, r12
call fcn.180009c50
lea rdi, [rbp - 0x13]
mov r8, rbx
movabs r14, 0xcccccccccccccccd
nop word [rax + rax]
dec rdi
mov rax, r14
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rdi], r8b
mov r8, rdx
test rdx, rdx
jne 0x18008cc20
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea rax, [rbp - 0x13]
lea ecx, [rdx + 0x16]
movabs r15, 0x7fffffffffffffff
cmp rdi, rax
jne 0x18008cc89
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], r14b
jmp 0x18008cd12
lea rsi, [rbp - 0x13]
sub rsi, rdi
cmp rsi, r15
ja 0x18008d0f2
cmp rsi, 0x10
jae 0x18008ccc2
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rsi + 0x78], r14b
jmp 0x18008cd12
mov r14, rsi
or r14, 0xf
cmp r14, r15
jbe 0x18008ccd3
mov r14, r15
jmp 0x18008ccda
cmp r14, rcx
cmovb r14, rcx
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x78]
call fcn.18000aa80
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], r14
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rbx, qword [rsp + 0x48]
xor r14d, r14d
mov dword [rsp + 0x60], 0x1b17534c
mov dword [rsp + 0x64], 0x417111f
mov dword [rsp + 0x68], 0x1f0a0f18
mov dword [rsp + 0x6c], 0x1002309
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x6f]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xe
jb 0x18008cd40
mov byte [rsp + 0x6f], 0
mov rdx, qword [r12 + 0x10]
lea rax, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x18008cd66
mov rax, r15
sub rax, rdx
cmp rax, rcx
jb 0x18008d0f8
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18008cd8d
mov r9, qword [r12]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r12
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.18000cd40
nop
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x48]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.18000cb50
lea rcx, [rbx + 0x30]
lea rdx, [rbp - 0x68]
call fcn.180009c50
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18008ce16
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008ce10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008ce10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x18008ce55
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008ce4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008ce4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18008ce94
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008ce8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008ce8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
lea rsi, [rbp + 5]
mov r8, rbx
movabs r9, 0xcccccccccccccccd
nop word [rax + rax]
dec rsi
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rsi], r8b
mov r8, rdx
test rdx, rdx
jne 0x18008ceb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea rax, [rbp + 5]
cmp rsi, rax
jne 0x18008cf08
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], dl
jmp 0x18008cf92
lea rdi, [rbp + 5]
sub rdi, rsi
cmp rdi, r15
ja 0x18008d0ec
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x18008cf41
mov qword [rbp - 0x78], rdi
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x78], 0
jmp 0x18008cf92
mov rax, rdi
or rax, 0xf
cmp rax, r15
ja 0x18008cf5d
mov r15, rax
cmp rax, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb r15, rax
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x78]
call fcn.18000aa80
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], r15
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x48]
movdqa xmm0, xmmword [0x180125050]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_32
mov byte [rsp + 0x72], 1
mov rcx, r14
nop
lea eax, [rcx + 0x6f]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x11
jb 0x18008cfb0
mov byte [rsp + 0x72], 0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.18000b0d0
lea rcx, [rbx + 0xe8]
mov rdx, rax
call fcn.180009c50
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18008d025
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d020
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
movdqa xmm0, xmmword [0x180103e90]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18008d076
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d070
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d070
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x18008d0ad
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x18008d0a8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008d0e5
mov rcx, r8
call fcn.1800ef5a0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1800ef6c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800025d0
nop
call fcn.1800025d0
nop
call fcn.1800025d0
int3