Function at 0x180023f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1801471e0]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
movdqa xmm0, xmmword [0x18012c7e0]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x100e1be
mov ecx, r15d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x12
jb 0x180023f90
mov byte [rbp - 0x15], r15b
mov rdx, qword [0x180171970]
lea rax, [rbp - 0x28]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r15b
jne 0x180023fb6
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rdx
cmp rax, rcx
jb 0x18002442a
lea r9, [0x180171960]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x180171960]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x180171960]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0x78]
call fcn.180046aa0
nop
lea rdx, [0x1801719a0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801719a0]
mov r8, qword [0x1801719b0]
lea rcx, [rsp + 0x78]
call fcn.180036f60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18002409e
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180024099
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180024099
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180109380
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
lea rdi, [rbp + 0x18]
mov rsi, qword [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdi, rsi
mov r14, qword [rbp + 0x28]
cmp r14, 0x10
jae 0x1800240e8
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x58], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180024158
mov rbx, r14
or rbx, 0xf
cmp rbx, r12
cmova rbx, r12
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180024135
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180024424
mov rcx, rax
call fcn.180108ef4
mov rcx, rax
test rax, rax
je 0x18002412e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180024144
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180024141
call fcn.180108ef4
jmp 0x180024144
mov rax, r15
mov qword [rsp + 0x58], rax
lea r8, [r14 + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.180012de0
nop
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180015730
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1800241bc
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800241b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800241b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180109380
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov dword [rsp + 0x40], 0x100b1b0
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x1800241e0
mov byte [rsp + 0x43], 0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov r8d, 2
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.180038d80
nop
mov r15d, 0x3d
lea rdx, [rbp - 0x28]
mov r14, qword [rbp - 0x28]
mov r13, qword [rbp - 0x10]
cmp r13, 0x10
cmovae rdx, r14
lea rcx, [rbp - 8]
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp + 0x10]
cmp rdi, 0x10
cmovae rcx, rbx
mov r12, qword [rbp + 8]
cmp r12, qword [rbp - 0x18]
jne 0x180024270
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180024270
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x78]
xor r12b, r12b
jmp 0x18002428e
xor eax, eax
mov word [rsp + 0x44], ax
xor ecx, ecx
mov qword [rbp - 0x78], rax
lea edx, [rax + 0xf]
mov r15d, 0xff
test r12, r12
je 0x18002428e
mov r12b, 1
test r15b, 2
je 0x1800242d6
and r15d, 0xfffffffd
cmp rdx, 0x10
jb 0x1800242d6
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800242c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800242c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180109380
mov rdi, qword [rbp + 0x10]
mov rbx, qword [rbp - 8]
test r15b, 1
je 0x18002431e
cmp r13, 0x10
jb 0x18002431e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18002430e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002430e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180109380
mov rdi, qword [rbp + 0x10]
mov rbx, qword [rbp - 8]
test r12b, r12b
je 0x18002436b
mov qword [rbp - 0x50], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.18003f9c0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x48]
call fcn.180035440
mov rcx, rax
call fcn.18001a270
nop
movzx edx, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.180038280
nop
mov rdi, qword [rbp + 0x10]
mov rbx, qword [rbp - 8]
cmp rdi, 0x10
jb 0x1800243a5
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18002439d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002439d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180109380
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rax, qword [rbp + 0x30]
cmp rax, 0x10
jb 0x1800243f7
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800243ef
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800243ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180109380
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180108c20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180008220
nop
call fcn.1800082c0
int3