Function at 0x18008d100
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 - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x39], rcx
xor r13d, r13d
lea rbx, [rcx + 0x78]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rcx, rdx
je 0x18008d156
mov r8, rbx
call fcn.18000b940
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov rax, r13
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
mov qword [rbp - 0x59], rax
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x61], rcx
mov r14, qword [rbp - 0x49]
cmp rax, rcx
je 0x18008d410
nop word [rax + rax]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.180009d20
lea rdi, [rbp - 1]
mov r15, qword [rbp + 0x17]
cmp r15, 0x10
setae cl
mov rsi, qword [rbp - 1]
cmovae rdi, rsi
lea r12, [rbp - 1]
test cl, cl
cmovne r12, rsi
mov r13, qword [rbp + 0xf]
add r12, r13
cmp rdi, r12
je 0x18008d1ef
nop dword [rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi], al
inc rdi
cmp rdi, r12
jne 0x18008d1d0
mov r15, qword [rbp + 0x17]
mov r13, qword [rbp + 0xf]
mov rsi, qword [rbp - 1]
mov r12, qword [rbp - 0x51]
mov rdi, r12
cmp r12, r14
je 0x18008d234
lea rdx, [rbp - 1]
cmp r15, 0x10
cmovae rdx, rsi
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18008d218
mov rcx, qword [rdi]
cmp r8, r13
jne 0x18008d226
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18008d22f
add rdi, 0x20
cmp rdi, r14
jmp 0x18008d1f9
cmp rdi, r14
jne 0x18008d2a5
cmp r14, qword [rbp - 0x31]
je 0x18008d27d
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor r13d, r13d
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
movups xmm0, xmmword [rbp - 1]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0xf]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp + 0xf], r13
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x17], r15
mov byte [rbp - 1], r13b
add r14, 0x20
mov qword [rbp - 0x49], r14
mov rsi, qword [rbp - 1]
jmp 0x18008d2a8
lea r8, [rbp - 1]
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.1800104d0
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x31], rax
mov r14, qword [rbp - 0x49]
mov r12, qword [rbp - 0x51]
mov r15, qword [rbp + 0x17]
mov rsi, qword [rbp - 1]
xor r13d, r13d
cmp r15, 0x10
jb 0x18008d2df
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18008d2d7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d409
mov rcx, rsi
call fcn.1800ef5a0
mov rax, qword [rbp - 0x59]
add rax, 0x20
mov qword [rbp - 0x59], rax
cmp rax, qword [rbp - 0x61]
jne 0x18008d190
mov rsi, qword [rbp - 0x39]
mov rax, r14
sub rax, r12
sar rax, 5
mov qword [rbp - 0x29], rax
cmp rax, 1
jbe 0x18008d56a
mov byte [rsi + 0x94], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r13
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r13
mov byte [rbp - 0x21], 0
xor edi, edi
mov qword [rbp - 0x59], rdi
mov r15, r12
nop word [rax + rax]
mov dword [rbp - 0x61], 0x1005a41
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x6f]
xor byte [rbp + rcx - 0x61], al
inc rcx
cmp rcx, 2
jb 0x18008d350
mov byte [rbp - 0x5e], 0
lea rcx, [rbp - 0x61]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18008d370
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18008d386
mov rcx, qword [r15]
mov r8, qword [r15 + 0x10]
cmp r8, rax
jne 0x18008d3a0
lea rdx, [rbp - 0x61]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18008d50e
test rdi, rdi
je 0x18008d435
mov word [rbp - 0x69], Ordinal_46
mov byte [rbp - 0x67], 0
lea rax, [rbp - 0x69]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x18008d3c0
mov rcx, qword [rbp - 0x11]
mov rax, r13
sub rax, rcx
cmp rsi, rax
ja 0x18008d419
lea rax, [rcx + rsi]
mov qword [rbp - 0x11], rax
lea rdi, [rbp - 0x21]
cmp r13, 0x10
cmovae rdi, qword [rbp - 0x21]
add rdi, rcx
mov r8, rsi
lea rdx, [rbp - 0x69]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
mov rdi, qword [rbp - 0x59]
jmp 0x18008d431
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r12, qword [rbp - 0x51]
jmp 0x18008d2f9
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x69]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.18000b590
mov r13, qword [rbp - 9]
mov rsi, qword [r15 + 0x10]
mov r9, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18008d446
mov r9, qword [r15]
mov r12, qword [rbp - 0x11]
mov rax, r13
sub rax, r12
cmp rsi, rax
ja 0x18008d488
lea rax, [r12 + rsi]
mov qword [rbp - 0x11], rax
lea rdi, [rbp - 0x21]
cmp r13, 0x10
cmovae rdi, qword [rbp - 0x21]
lea rcx, [rdi + r12]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rdi]
mov byte [rax + r12], 0
mov rdi, qword [rbp - 0x59]
jmp 0x18008d49c
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.18000b590
inc rdi
mov qword [rbp - 0x59], rdi
add r15, 0x20
mov r13, qword [rbp - 9]
cmp rdi, qword [rbp - 0x29]
jb 0x18008d340
mov rsi, qword [rbp - 0x39]
cmp byte [rsi + 0x94], 0
je 0x18008d52b
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18008d51b
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x11], 0
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r13
mov byte [rbp - 0x21], 0
add qword [rbx + 8], 0x20
jmp 0x18008d52b
mov rsi, qword [rbp - 0x39]
mov byte [rsi + 0x94], 0
jmp 0x18008d4b9
lea r8, [rbp - 0x21]
mov rcx, rbx
call fcn.1800104d0
mov r13, qword [rbp - 9]
cmp r13, 0x10
jb 0x18008d566
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d561
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d561
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov r12, qword [rbp - 0x51]
mov rdi, r12
cmp r12, r14
je 0x18008d5a5
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x18008d58e
mov rdx, rdi
mov rcx, rax
call fcn.180009d20
add qword [rbx + 8], 0x20
jmp 0x18008d59c
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.180073e30
add rdi, 0x20
cmp rdi, r14
jne 0x18008d572
mov dword [rsi + 0x90], 0
test r12, r12
je 0x18008d602
lea r8, [rbp - 0x51]
mov rdx, r14
mov rcx, r12
call fcn.18000b940
mov rcx, qword [rbp - 0x31]
sub rcx, r12
and rcx, 0xffffffffffffffe0
mov rax, r12
cmp rcx, 0x1000
jb 0x18008d5f7
add rcx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d5f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, r12
call fcn.1800ef5a0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ef6c0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret