Function at 0x140050980
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor r14b, r14b
mov r8, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400509ca
mov r8, qword [rcx]
lea rdx, str.GetAUMIDFromPath__._wstrPath__s
mov rcx, qword [0x140132990]
call fcn.140011f10
mov rbx, 0xffffffffffffffff
mov r8, rbx
lea rdx, [0x14010058c]
mov rcx, rdi
call fcn.1400189f0
mov r8, rax
xor r12d, r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
cmp qword [rdi + 0x10], rax
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140050a27
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.140011160
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005113e
mov r8, rbx
lea rdx, [0x14010058c]
lea rcx, [rbp - 0x28]
call fcn.1400189f0
lea rcx, [rax + 1]
mov qword [rbp + 0x90], r12
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
mov rax, qword [rbp - 0x18]
cmp rax, rcx
jb 0x140051236
sub rax, rcx
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x90]
call fcn.140011160
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
mov qword [rbp + 0x48], r12
lea rax, [rbp + 0x18]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 7
mov r8d, 1
lea r13, [0x14010af48]
mov rdx, r13
lea rcx, [rbp + 0x18]
call fcn.140011160
nop
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x70]
call fcn.140012240
nop
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.140017960
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
sub rax, rdx
sar rax, 5
cmp rax, 4
jne 0x1400510ca
lea rcx, [rbp + 0x18]
call fcn.140012240
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0x60
lea rcx, [rbp + 0xb0]
call fcn.140012240
nop
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r12w
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rcx, qword [rbp - 0x18]
sub rax, rcx
cmp rax, 1
jb 0x14005123c
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r9, qword [rbp - 0x28]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ff634]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.140012680
nop
mov r8d, 0x10
lea rdx, str.AppxManifest.xml
lea rcx, [rsp + 0x40]
call fcn.140012440
mov qword [rbp - 8], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140050c3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051242
call fcn.1400a59a4
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov r8, rbx
lea rdx, [0x14010058c]
mov rcx, rdi
call fcn.1400189f0
inc rax
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r12w
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
jb 0x140051248
sub rcx, rax
cmp rcx, 0xffffffffffffffff
cmovb rbx, rcx
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140050ca8
mov rcx, qword [rdi]
lea rdx, [rcx + rax*2]
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.140011160
nop
lea rax, [rbp - 0x70]
mov qword [rbp - 0x78], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140012240
mov rbx, rax
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x50]
call fcn.140012240
nop
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, rax
call fcn.140050240
test al, al
je 0x140050f49
mov rax, qword [rbp + 0x28]
sub rsi, rax
cmp rsi, 1
jb 0x14005124e
lea r9, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae r9, qword [rbp + 0x18]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x70]
call fcn.140012680
nop
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rbp - 0x70]
call fcn.140012440
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r8d, 1
lea rdx, [0x14010af4c]
lea rcx, [rsp + 0x40]
call fcn.140012440
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140012440
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.1400121a0
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140050e58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051254
call fcn.1400a59a4
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140050e9a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005125a
call fcn.1400a59a4
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140050ef0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051260
call fcn.1400a59a4
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140050f44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050f3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051266
call fcn.1400a59a4
mov r14b, 1
jmp 0x140050f6b
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r8, qword [rbp - 8]
lea rdx, str.GetAUMIDFromPath__._Failed_to_get_AppId_Manifest_Xml__s.
mov rcx, qword [0x140132990]
call fcn.140011f10
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140050faf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050fa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005126c
call fcn.1400a59a4
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140050fef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050fea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051272
call fcn.1400a59a4
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x140051041
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005103b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051278
call fcn.1400a59a4
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x140051088
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051082
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005127e
call fcn.1400a59a4
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x1400510ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400510c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051284
call fcn.1400a59a4
jmp 0x1400510ec
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
lea rdx, str.GetAUMIDFromPath__._Failed_to_get_FmailyId_from_path__s.
mov rcx, qword [0x140132990]
call fcn.140011f10
nop
lea rcx, [rbp + 0x38]
call fcn.140037dc0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140051160
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051137
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005128a
call fcn.1400a59a4
jmp 0x140051160
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
lea rdx, str.GetAUMIDFromPath__._Path__s_not_exists
mov rcx, qword [0x140132990]
call fcn.140011f10
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400511a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005119b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005122a
call fcn.1400a59a4
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400511ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400511e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051230
mov rcx, r8
call fcn.1400a59a4
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
movzx eax, r14b
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400068e0
nop
call fcn.140003f10
nop
call fcn.1400b4704
int3
call fcn.1400068e0
nop
call fcn.140003f10
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
int3