Function at 0x42c520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6dad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x10], ecx
mov ecx, 0x536b43
call fcn.004c6d76
mov ecx, dword [ebp - 0x10]
add ecx, 0x77c
call fcn.0040a170
movzx eax, al
test eax, eax
jne 0x42c613
mov ecx, dword [ebp - 0x10]
add ecx, 0x77c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00408420
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp - 0x10]
add edx, 0x780
push edx
call fcn.004077b0
lea eax, [ebp - 0x48]
push eax
call fcn.0040b9d0
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.0040feb0
mov cl, byte [eax]
movzx edx, cl
push edx
call fcn.0040d100
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7b0], 0
je 0x42c5ff
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.004085c0
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7b0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x7b0]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004037a0
jmp 0x42c80a
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x501844
call fcn.00407890
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0042b880
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040a170
movzx ecx, al
test ecx, ecx
jne 0x42c71e
lea ecx, [ebp - 0x14]
call fcn.004085c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c71e
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00408420
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x79c], 0
jl 0x42c6b8
jg 0x42c698
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x798], 0x128c5680
jbe 0x42c6b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x798]
mov ecx, dword [ecx + 0x79c]
mov dword [eax + 0x788], edx
mov dword [eax + 0x78c], ecx
jmp 0x42c6d6
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x790]
mov eax, dword [eax + 0x794]
mov dword [edx + 0x788], ecx
mov dword [edx + 0x78c], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x7b0], 0
je 0x42c70a
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.004085c0
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7b0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x7b0]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408170
jmp 0x42c80a
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040d2b0
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x79c], 0
jl 0x42c77e
jg 0x42c751
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x798], 0x128c5680
jbe 0x42c77e
push str.D:Program_Files_
lea ecx, [ebp - 0x18]
call fcn.004084e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x798]
mov eax, dword [eax + 0x79c]
mov dword [edx + 0x788], ecx
mov dword [edx + 0x78c], eax
jmp 0x42c79c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x790]
mov edx, dword [edx + 0x794]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
push str.GptChrome
lea ecx, [ebp - 0x18]
call fcn.00408920
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00408420
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x7b0], 0
je 0x42c7ef
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.004085c0
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7b0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x7b0]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00408170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret