Function at 0x14003efc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1401c10c0]
xor rax, rsp
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [0x14019da00]
xor ebx, ebx
movups xmm1, xmmword [0x14019da10]
mov r8d, ebx
mov eax, dword [0x14019da88]
mov edi, dword [0x1401c10a0]
movdqa xmm6, xmmword [0x1401a3ea0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x14019da20]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x14019da40]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x14019da30]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x14019da60]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x14019da50]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x14019da80]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x14019da70]
mov dword [rbp - 0x18], eax
movzx eax, word [0x14019da8c]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x14], ax
cmp edi, 2
jl 0x14003f19f
movdqa xmm0, xmmword [0x1401a3ef0]
lea rcx, [rsp + 0x64]
movdqa xmm4, xmmword [0x1401a3dc0]
movdqa xmm3, xmmword [0x1401a41a0]
movdqa xmm5, xmmword [0x1401a3e40]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x88
jl 0x14003f0b0
cmp r8d, 0x8e
jge 0x14003f1e4
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x8e
jl 0x14003f1b0
lea rcx, [rsp + 0x60]
call qword [0x140133cb8]
mov ecx, 0x1770
call qword [0x1401332a0]
movzx eax, byte [0x14019d390]
mov r8d, ebx
mov byte [rsp + 0x58], al
movups xmm0, xmmword [0x14019d368]
movups xmm1, xmmword [0x14019d378]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x14019d388]
movsd qword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm1
cmp edi, 2
jl 0x14003f359
movdqa xmm0, xmmword [0x1401a3ef0]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1401a3dc0]
movdqa xmm3, xmmword [0x1401a41a0]
movdqa xmm5, xmmword [0x1401a3e40]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x14003f270
cmp r8d, 0x29
jge 0x14003f3a1
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x14003f370
lea rcx, [rsp + 0x30]
call qword [0x140133cb8]
mov eax, dword [0x14019dc10]
mov r8d, ebx
mov dword [rsp + 0x58], eax
movzx eax, byte [0x14019dc14]
mov byte [rsp + 0x5c], al
movups xmm0, xmmword [0x14019dbe8]
movups xmm1, xmmword [0x14019dbf8]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x14019dc08]
movsd qword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm1
cmp edi, 2
jl 0x14003f50b
movdqa xmm0, xmmword [0x1401a3ef0]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1401a3dc0]
movdqa xmm3, xmmword [0x1401a41a0]
movdqa xmm5, xmmword [0x1401a3e40]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x14003f422
cmp r8d, 0x2d
jge 0x14003f551
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x2d
jl 0x14003f520
lea rcx, [rsp + 0x30]
call qword [0x140133cb8]
movups xmm0, xmmword [0x14019db40]
mov r8d, ebx
movups xmm1, xmmword [0x14019db50]
mov eax, dword [0x14019dba8]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x14019db60]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x14019db80]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x14019db70]
movups xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x14019dba0]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x14019db90]
movsd qword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x38], eax
cmp edi, 2
jl 0x14003f6da
movdqa xmm0, xmmword [0x1401a3ef0]
lea rcx, [rsp + 0x64]
movdqa xmm4, xmmword [0x1401a3dc0]
movdqa xmm3, xmmword [0x1401a41a0]
movdqa xmm5, xmmword [0x1401a3e40]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x68
jl 0x14003f5f1
cmp r8d, 0x6c
jge 0x14003f721
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x6c
jl 0x14003f6f0
lea rcx, [rsp + 0x60]
call qword [0x140133cb8]
mov ecx, 0x30
mov qword [rbp - 8], rbx
call fcn.14012ca60
movdqa xmm0, xmmword [0x1401a3d70]
mov rcx, rax
movdqu xmmword [rbp], xmm0
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [str.C:WindowsGameBarPresenceWriterhvr0hq.bat]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1401a01a8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1401a01b8]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x1401a01c0]
mov word [rcx + 0x28], ax
movzx eax, byte [0x1401a01c2]
mov byte [rcx + 0x2a], al
mov byte [rcx + 0x2b], bl
call qword [0x140133cb8]
lea rcx, [rsp + 0x20]
call fcn.1400337c0
mov rax, qword [rsp + 0x20]
movabs r8, 0x7fffffff4d2fa1ff
cmp rax, r8
je 0x14003f7cc
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14003f7cc
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rsp + 0x20], rcx
jmp 0x14003f7db
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140036cc0
movups xmm0, xmmword [0x14019d4d8]
movups xmm1, xmmword [0x14019d4e8]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x14019d4f8]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x14003f931
movdqa xmm0, xmmword [0x1401a3ef0]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1401a3dc0]
movdqa xmm3, xmmword [0x1401a41a0]
movdqa xmm5, xmmword [0x1401a3e40]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x14003f850
jmp 0x14003f96e
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x2f684bdb
lea r8, [r8 + 1]
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x30
jl 0x14003f940
lea rcx, [rsp + 0x30]
call qword [0x140133cb8]
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14003f9b7
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f9b2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f9b2
call qword [0x140133ce8]
int3
call fcn.14012cdb4
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14012c680
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret