Function at 0x4365aa
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x57be6c
call fcn.004890c6
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str.AdobeInstallers_
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], eax
call fcn.00404d55
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x65], bl
mov dword [ebp - 0x30], 7
call fcn.00401848
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x2b
mov byte [ebp - 4], 1
call fcn.00420128
add esp, 0xc
test al, al
je 0x4367c8
mov eax, dword [ebp - 0x34]
dec eax
push eax
lea ecx, [ebp - 0x48]
call fcn.00401b57
cmp word [eax], 0x5c
je 0x43661f
push 0x5b0788
lea ecx, [ebp - 0x48]
call fcn.00404570
or esi, 0xffffffff
push esi
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040414a
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x43663c
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436663
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x436653
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x4366f3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00418dde
pop ecx
pop ecx
push esi
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00404046
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004031b4
push esi
push ebx
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.00403eb5
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004190eb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x4366b9
lea eax, [ebp - 0x28]
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, esi
je 0x4366df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x65], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
cmp byte [ebp - 0x65], bl
jne 0x4367c8
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.00401848
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0x23
mov byte [ebp - 4], 3
call fcn.00420128
add esp, 0xc
test al, al
je 0x4367bd
mov eax, dword [ebp - 0x18]
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401b57
cmp word [eax], 0x5c
je 0x43673e
push 0x5b0788
lea ecx, [ebp - 0x2c]
call fcn.00404570
push esi
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040414a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x436758
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43677b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x43676f
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x4367bd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00418dde
pop ecx
pop ecx
push esi
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00404046
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.004031b4
push esi
push ebx
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.00403eb5
mov byte [ebp - 0x65], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040321f
mov al, byte [ebp - 0x65]
call fcn.00489149
ret