Function at 0x18008d2a0
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 0x18008d2f6
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 0x18008d5b0
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 0x18008d38f
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 0x18008d370
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 0x18008d3d4
lea rdx, [rbp - 1]
cmp r15, 0x10
cmovae rdx, rsi
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18008d3b8
mov rcx, qword [rdi]
cmp r8, r13
jne 0x18008d3c6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18008d3cf
add rdi, 0x20
cmp rdi, r14
jmp 0x18008d399
cmp rdi, r14
jne 0x18008d445
cmp r14, qword [rbp - 0x31]
je 0x18008d41d
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 0x18008d448
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 0x18008d47f
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18008d477
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d5a9
mov rcx, rsi
call fcn.1800ef630
mov rax, qword [rbp - 0x59]
add rax, 0x20
mov qword [rbp - 0x59], rax
cmp rax, qword [rbp - 0x61]
jne 0x18008d330
mov rsi, qword [rbp - 0x39]
mov rax, r14
sub rax, r12
sar rax, 5
mov qword [rbp - 0x29], rax
cmp rax, 1
jbe 0x18008d70a
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], 0x1008782
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x54]
xor byte [rbp + rcx - 0x61], al
inc rcx
cmp rcx, 2
jb 0x18008d4f0
mov byte [rbp - 0x5e], 0
lea rcx, [rbp - 0x61]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18008d510
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18008d526
mov rcx, qword [r15]
mov r8, qword [r15 + 0x10]
cmp r8, rax
jne 0x18008d540
lea rdx, [rbp - 0x61]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18008d6ae
test rdi, rdi
je 0x18008d5d5
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 0x18008d560
mov rcx, qword [rbp - 0x11]
mov rax, r13
sub rax, rcx
cmp rsi, rax
ja 0x18008d5b9
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 0x18008d5d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r12, qword [rbp - 0x51]
jmp 0x18008d499
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 0x18008d5e6
mov r9, qword [r15]
mov r12, qword [rbp - 0x11]
mov rax, r13
sub rax, r12
cmp rsi, rax
ja 0x18008d628
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 0x18008d63c
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 0x18008d4e0
mov rsi, qword [rbp - 0x39]
cmp byte [rsi + 0x94], 0
je 0x18008d6cb
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18008d6bb
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 0x18008d6cb
mov rsi, qword [rbp - 0x39]
mov byte [rsi + 0x94], 0
jmp 0x18008d659
lea r8, [rbp - 0x21]
mov rcx, rbx
call fcn.1800104d0
mov r13, qword [rbp - 9]
cmp r13, 0x10
jb 0x18008d706
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d701
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d701
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov r12, qword [rbp - 0x51]
mov rdi, r12
cmp r12, r14
je 0x18008d745
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x18008d72e
mov rdx, rdi
mov rcx, rax
call fcn.180009d20
add qword [rbx + 8], 0x20
jmp 0x18008d73c
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.180073d40
add rdi, 0x20
cmp rdi, r14
jne 0x18008d712
mov dword [rsi + 0x90], 0
test r12, r12
je 0x18008d7a2
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 0x18008d797
add rcx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d797
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.1800ef630
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ef750
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret