Function at 0x18002b6b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x160
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1801491e0]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
movdqa xmm0, xmmword [0x18012db80]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x1007e27
mov eax, r15d
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rax + 0x32]
xor byte [rbp + rax - 0x28], cl
inc rax
cmp rax, 0x12
jb 0x18002b710
mov byte [rbp - 0x15], r15b
mov rdx, qword [0x180173790]
lea rax, [rbp - 0x28]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r15b
jne 0x18002b736
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x18002ba2f
lea r9, [0x180173780]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x180173780]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x180173780]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0x78]
call fcn.180046950
nop
lea rdx, [0x1801737c0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801737c0]
mov r8, qword [0x1801737d0]
lea rcx, [rsp + 0x78]
call fcn.18003ed70
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x18], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm7
mov qword [rax + 0x10], r15
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rsp + 0x78]
call fcn.18003fed0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
lea rsi, [rbp + 0x18]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rsi, rcx
movq rdi, xmm7
cmp rdi, 0x10
jae 0x18002b82d
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
jmp 0x18002b89d
mov rbx, rdi
or rbx, 0xf
cmp rbx, r14
cmova rbx, r14
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18002b87a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002ba29
mov rcx, rax
call fcn.180107f04
mov rcx, rax
test rax, rax
je 0x18002b873
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18002b889
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x18002b886
call fcn.180107f04
jmp 0x18002b889
mov rax, r15
mov qword [rsp + 0x58], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.18001e8b0
nop
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180020dc0
nop
lea rcx, [rbp - 0x48]
call fcn.18003fed0
mov dword [rsp + 0x40], 0x1004e49
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x32]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x18002b8e0
mov byte [rsp + 0x43], 0
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [0x18012c790]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov r8d, 2
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.18003ff30
nop
mov ebx, 0x3d
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rcx, qword [rbp - 8]
mov rdi, qword [rbp + 8]
cmp rdi, qword [rbp - 0x18]
jne 0x18002b956
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18002b979
xor eax, eax
mov word [rsp + 0x44], ax
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [0x18012c790]
movdqu xmmword [rbp - 0x78], xmm0
mov ebx, 0xff
test rdi, rdi
jne 0x18002b97e
xor dil, dil
jmp 0x18002b981
mov dil, 1
test bl, 2
je 0x18002b994
and ebx, 0xfffffffd
lea rcx, [rsp + 0x78]
call fcn.18003fed0
nop
test bl, 1
je 0x18002b9a2
lea rcx, [rbp - 0x28]
call fcn.18003fed0
test dil, dil
je 0x18002b9e3
mov qword [rbp - 0x50], r15
lea r8, [rsp + 0x78]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.180043490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x48]
call fcn.18003d070
mov rcx, rax
call fcn.1800244d0
nop
movzx edx, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.18003f710
nop
lea rcx, [rbp - 8]
call fcn.18003fed0
nop
lea rcx, [rbp + 0x18]
call fcn.18003fed0
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180107c30
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180013f80
nop
call fcn.180014020
int3