Function at 0x1400298a0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x2a0
movaps xmmword [r11 - 0x28], xmm6
mov rax, qword [0x140050080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14d, dword [0x1400500c8]
lea rsi, [rcx + 0x10]
mov dword [rsp + 0x70], 0xb8d18b4c
mov ebp, 0xd
mov ebx, dword [rsp + 0x70]
xor r15d, r15d
mov qword [r11 + 0x10], rdi
mov rcx, qword [rsi - 8]
cmp dword [rcx], ebx
je 0x140029b52
cmp byte [rcx], 0xe9
jne 0x140029948
mov edi, dword [rcx + 1]
add rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x200
lea r8, [rsp + 0x80]
mov rcx, rax
lea rdx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_K32GetMappedFileNameA]
lea rcx, [rsi + 1]
mov byte [rsi], 1
lea r8, [rsp + 0x80]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x140029b52
mov eax, dword [0x1400430c0]
mov ecx, r15d
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400430c4]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x1400430c6]
mov byte [rsp + 0x4e], al
movups xmm0, xmmword [0x140043098]
movups xmm1, xmmword [0x1400430a8]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400430b8]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
cmp r14d, 2
jl 0x140029ad4
movdqa xmm0, xmmword [0x140043780]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400436f0]
movdqa xmm4, xmmword [0x1400437b0]
movdqa xmm6, xmmword [0x140043720]
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140043750]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140043750]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x1400299d0
cmp ecx, 0x2f
jge 0x140029b0d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x2f
jl 0x140029ae0
xorps xmm0, xmm0
mov qword [rsp + 0x60], r15
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140029b30
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140010dc0
lea rcx, [rsp + 0x50]
call fcn.14001fc30
add rsi, 0x218
sub rbp, 1
jne 0x1400298f1
mov rdi, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14003d6b0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rsi
ret