Function at 0x4364a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3448
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], ecx
call fcn.00435bf0
add esp, 4
test al, al
je 0x43667a
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelRepositoryPackages
lea ecx, [ebp - 0x30]
call fcn.00426f30
push 1
push 0x5c2f84
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00427cf0
cmp dword [ebp - 0x14], 8
jb 0x43652c
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x43652f
xor eax, eax
jmp 0x436543
lea edx, [ebp - 0x28]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436534
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x30]
call fcn.00427cf0
mov eax, dword [0x5f22b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f22b0
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.PackageRootFolder
call fcn.00426f30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x40], esp
mov esi, esp
push eax
call fcn.00427bb0
add esp, 4
add eax, 0x10
mov dword [esi], eax
push SysReAllocString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00426160
push eax
mov byte [ebp - 4], 4
call fcn.004352d0
add esp, 8
test eax, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4365e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4365ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43660f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
jmp 0x43663e
push 0x5c2f84
lea ecx, [ebp - 0x34]
call fcn.00427070
push str.MicrosoftEdge.exe
lea ecx, [ebp - 0x34]
call fcn.00427070
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436690
mov byte [ebp - 4], 1
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436657
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43667a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x14], 8
jb 0x43668c
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0055dfce
add esp, 4
xor al, al
jmp 0x436705
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436695
mov ecx, dword [ebp - 0x38]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.004252e0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4366ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4366f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x14], 8
jb 0x436703
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0055dfce
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret