Function at 0x180029480
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 - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rbp - 8], rax
mov dword [rsp + 0x40], 0xd3d3d89c
mov dword [rsp + 0x44], 0xfca7d6d8
mov word [rsp + 0x48], 0x100
xor edi, edi
mov eax, edi
lea ecx, [rax - 0x46]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, 8
jb 0x1800294d0
mov byte [rsp + 0x49], dil
movdqa xmm0, xmmword [0x180139630]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x68], 0xf7
mov byte [rsp + 0x6a], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0x11
jb 0x180029510
mov byte [rsp + 0x6a], dil
mov rdx, qword [0x1801809b0]
lea rax, [rsp + 0x58]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], dil
jne 0x180029540
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rdx
cmp rax, rcx
jb 0x18002975c
lea r9, [0x1801809a0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x1801809a0]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x1801809a0]
movzx edx, byte [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1800522c0
nop
lea rdx, [0x1801809e0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801809e0]
mov r8, qword [0x1801809f0]
lea rcx, [rbp - 0x68]
call fcn.18003f1c0
mov qword [rsp + 0x78], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rdi
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rsi
mov byte [rax], 0
lea rax, [rsp + 0x40]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180029600
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.18003f1c0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x28], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rsi
mov byte [rax], 0
lea rcx, [rsp + 0x78]
call fcn.180040e40
nop
lea rcx, [rbp - 0x68]
call fcn.180040e40
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
lea r14, [rbp - 0x28]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r14, rcx
movq rbx, xmm7
cmp rbx, 0x10
jae 0x18002968d
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
jmp 0x1800296f8
mov rsi, rbx
or rsi, 0xf
cmp rsi, r15
cmova rsi, r15
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1800296d7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180029756
mov rcx, rax
call fcn.180113264
test rax, rax
je 0x1800296d0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800296e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800296e4
call fcn.180113264
mov rdi, rax
mov qword [rsp + 0x58], rdi
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.180018a90
lea rcx, [rbp - 0x48]
call fcn.180040e40
nop
lea rcx, [rbp - 0x28]
call fcn.180040e40
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180112f90
lea r11, [rsp + 0x120]
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.18000c8c0
nop
call fcn.18000c960
int3