Function at 0x18008cd60
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 0x18008cdc0
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 0x18008ce29
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], r14b
jmp 0x18008ceb2
lea rsi, [rbp - 0x13]
sub rsi, rdi
cmp rsi, r15
ja 0x18008d292
cmp rsi, 0x10
jae 0x18008ce62
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 0x18008ceb2
mov r14, rsi
or r14, 0xf
cmp r14, r15
jbe 0x18008ce73
mov r14, r15
jmp 0x18008ce7a
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], 0xc6c88e8f
mov dword [rsp + 0x64], 0xc1d0d4dc
mov dword [rsp + 0x68], 0xd2c5c2db
mov dword [rsp + 0x6c], 0x100e6ca
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x54]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xe
jb 0x18008cee0
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 0x18008cf06
mov rax, r15
sub rax, rdx
cmp rax, rcx
jb 0x18008d298
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18008cf2d
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 0x18008cfb6
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008cfb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008cfb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x18008cff5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008cfef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008cfef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18008d034
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d02f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d02f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
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 0x18008d050
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 0x18008d0a8
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], dl
jmp 0x18008d132
lea rdi, [rbp + 5]
sub rdi, rsi
cmp rdi, r15
ja 0x18008d28c
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x18008d0e1
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 0x18008d132
mov rax, rdi
or rax, 0xf
cmp rax, r15
ja 0x18008d0fd
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 [0x180125180]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0xe3
mov byte [rsp + 0x72], 1
mov rcx, r14
nop
lea eax, [rcx - 0x54]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x11
jb 0x18008d150
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 0x18008d1c5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d1c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d1c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
movdqa xmm0, xmmword [0x180103e70]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18008d216
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d210
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d210
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x18008d24d
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x18008d248
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008d285
mov rcx, r8
call fcn.1800ef630
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.1800ef750
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