Function at 0x1400adc00
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov word [str.X:Program_FilesWindowsApps], cx
xor r15d, r15d
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
call fcn.14005c1f0
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
call fcn.14005c1f0
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x37], r15
mov r14d, r15d
lea rcx, str.X:Program_FilesWindowsApps
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400ae07e
lea rcx, str.X:Program_FilesWindowsApps
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x1400ae07e
mov rcx, qword [0x1404602e8]
sub rcx, qword [0x1404602e0]
movabs rax, 0x1fc07f01fc07f02
imul rcx
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400ae07e
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
lea r8d, [r15 + 0xd]
lea rdx, [0x140339ef0]
lea rcx, [rbp - 0x39]
call fcn.14004dd70
lea rcx, [rbp - 0x39]
call fcn.140082440
lea edx, [r15 + 1]
lea r8d, [r15 + 3]
lea rcx, str.X:Program_FilesWindowsApps
call fcn.1400526c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400add2b
lea r9, [rbp + 0x27]
lea r8, str.X:Program_FilesWindowsApps
lea rdx, [0x140081dd0]
mov rcx, rax
call fcn.140052980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x2f], r15
jbe 0x1400ae07e
cmp dword [0x14045e968], r15d
jne 0x1400ae07e
mov rax, qword [rbp + 0x27]
mov rdi, qword [rax]
cmp rdi, rax
je 0x1400adeb8
cmp dword [0x14045e968], 0
jne 0x1400ae07e
cmp qword [rdi + 0x38], 8
jb 0x1400add6c
mov rdx, qword [rdi + 0x20]
jmp 0x1400add70
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x19]
call fcn.14004dad0
mov rcx, rax
call fcn.140082440
mov rbx, qword [0x1404602e0]
cmp rbx, qword [0x1404602e8]
je 0x1400ade61
nop word [rax + rax]
cmp dword [0x14045e968], 0
jne 0x1400ae07e
cmp qword [rbx + 0x3c], 8
jb 0x1400addba
mov rdx, qword [rbx + 0x24]
jmp 0x1400addbe
lea rdx, [rbx + 0x24]
cmp qword [rdi + 0x38], 8
jb 0x1400addcb
mov rcx, qword [rdi + 0x20]
jmp 0x1400addcf
lea rcx, [rdi + 0x20]
xor r8d, r8d
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x1400addee
add rbx, 0x81
cmp rbx, qword [0x1404602e8]
jne 0x1400adda0
jmp 0x1400ade61
mov rcx, qword [rdi + 0x40]
call fcn.1400528a0
mov rbx, rax
mov qword [rbp - 1], 7
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x19]
call fcn.14004e350
mov qword [rbp + 7], rbx
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.140056980
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x17]
call fcn.140056a00
nop
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1400ade61
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.14004e2e0
cmp byte [rdi + 0x19], 0
jne 0x1400adeae
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400ade8e
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400adeae
nop dword [rax]
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400ade80
jmp 0x1400adeae
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1400adeab
cmp rdi, qword [rax + 0x10]
jne 0x1400adeab
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400ade98
mov rdi, rax
cmp rdi, qword [rbp + 0x27]
jne 0x1400add52
cmp qword [rbp + 0x1f], 0
jbe 0x1400ae07e
mov rax, qword [rbp + 0x17]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400adff8
cmp dword [0x14045e968], 0
jne 0x1400adff8
mov qword [rbp + 0x37], r15
lea rdi, [rbx + 0x20]
cmp qword [rdi + 0x18], 8
jb 0x1400adef4
mov rdx, qword [rdi]
jmp 0x1400adef7
mov rdx, rdi
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
cmp word [rdx], 0
jne 0x1400adf13
mov r8, r15
jmp 0x1400adf2b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400adf20
lea rcx, [rbp - 0x39]
call fcn.14004dd70
lea rcx, [rbp - 0x39]
call fcn.140082440
cmp qword [rdi + 0x18], 8
jb 0x1400adf47
mov rdi, qword [rdi]
mov edx, 1
lea r8d, [rdx + 2]
mov rcx, rdi
call fcn.1400526c0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400adf86
lea r9, [rbp + 0x37]
mov r8, rdi
lea rdx, [0x140082180]
mov rcx, rax
call fcn.140052980
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400adf9b
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x1400adf9b
mov rax, qword [rbx + 0x40]
mov qword [rax + 0x28], rcx
add r14, qword [rbp + 0x37]
cmp byte [rbx + 0x19], 0
jne 0x1400adfee
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400adfce
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400adfee
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400adfc0
jmp 0x1400adfee
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400adfeb
cmp rbx, qword [rax + 0x10]
jne 0x1400adfeb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400adfd8
mov rbx, rax
cmp rbx, qword [rbp + 0x17]
jne 0x1400aded3
lea rcx, [rbp + 0x27]
call fcn.140083790
test r14, r14
je 0x1400ae07e
call fcn.140083550
mov rdi, rax
mov qword [rax + 0x64], r14
mov dword [rax + 0x6d], r15d
lea rcx, [rax + 0x44]
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.WindowsApps
call fcn.14004dd70
lea rbx, [rdi + 0x71]
lea rax, [rbp + 0x17]
cmp rbx, rax
je 0x1400ae071
mov rdx, qword [rbx]
mov rdx, qword [rdx + 8]
mov rcx, rbx
call fcn.140068c10
mov rax, qword [rbx]
mov qword [rax + 8], rax
mov rax, qword [rbx]
mov qword [rax], rax
mov rax, qword [rbx]
mov qword [rax + 0x10], rax
mov qword [rbx + 8], r15
movzx r8d, byte [rbp - 0x49]
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.140068d50
mov byte [rdi + 0x6c], 1
mov rcx, rdi
call fcn.1400831f0
nop
mov r8, qword [rbp + 0x17]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x17]
call fcn.140068630
mov rcx, qword [rbp + 0x17]
call fcn.14012a654
nop
mov r8, qword [rbp + 0x27]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x27]
call fcn.140068630
mov rcx, qword [rbp + 0x27]
call fcn.14012a654
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret