Function at 0x180025470
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 [0x1801491e0]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
movdqa xmm0, xmmword [0x18012ef80]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x100217e
mov ecx, r15d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0xb]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x12
jb 0x1800254d0
mov byte [rbp - 0x15], r15b
mov rdx, qword [0x180173980]
lea rax, [rbp - 0x28]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r15b
jne 0x1800254f6
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rdx
cmp rax, rcx
jb 0x18002596a
lea r9, [0x180173970]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x180173970]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x180173970]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0x78]
call fcn.1800486f0
nop
lea rdx, [0x1801739b0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801739b0]
mov r8, qword [0x1801739c0]
lea rcx, [rsp + 0x78]
call fcn.180038610
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 0x1800255de
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800255d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800255d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010acb0
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 0x180025628
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x58], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180025698
mov rbx, r14
or rbx, 0xf
cmp rbx, r12
cmova rbx, r12
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180025675
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180025964
mov rcx, rax
call fcn.18010a824
mov rcx, rax
test rax, rax
je 0x18002566e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180025684
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180025681
call fcn.18010a824
jmp 0x180025684
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.180013840
nop
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180016190
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1800256fc
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800256f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800256f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010acb0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov dword [rsp + 0x40], 0x1007170
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0xb]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x180025720
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.18003a430
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 0x1800257b0
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800257b0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x78]
xor r12b, r12b
jmp 0x1800257ce
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 0x1800257ce
mov r12b, 1
test r15b, 2
je 0x180025816
and r15d, 0xfffffffd
cmp rdx, 0x10
jb 0x180025816
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025809
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180025809
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010acb0
mov rdi, qword [rbp + 0x10]
mov rbx, qword [rbp - 8]
test r15b, 1
je 0x18002585e
cmp r13, 0x10
jb 0x18002585e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18002584e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002584e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18010acb0
mov rdi, qword [rbp + 0x10]
mov rbx, qword [rbp - 8]
test r12b, r12b
je 0x1800258ab
mov qword [rbp - 0x50], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1800411b0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x48]
call fcn.180036c10
mov rcx, rax
call fcn.18001acd0
nop
movzx edx, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.180039930
nop
mov rdi, qword [rbp + 0x10]
mov rbx, qword [rbp - 8]
cmp rdi, 0x10
jb 0x1800258e5
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800258dd
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800258dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18010acb0
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 0x180025937
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18002592f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002592f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18010acb0
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.18010a550
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