Function at 0x42b030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6afd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x10], ecx
mov ecx, 0x51ca1c
call fcn.004c108d
mov ecx, dword [ebp - 0x10]
add ecx, 0x77c
call fcn.0040a600
movzx eax, al
test eax, eax
jne 0x42b123
mov ecx, dword [ebp - 0x10]
add ecx, 0x77c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00407fd0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp - 0x10]
add edx, 0x780
push edx
call fcn.00407390
lea eax, [ebp - 0x48]
push eax
call fcn.0040be60
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00410030
mov cl, byte [eax]
movzx edx, cl
push edx
call fcn.0040d590
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 0x42b10f
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00408170
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.004038c0
jmp 0x42b31a
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4f12b4
call fcn.00407470
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0042a390
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040a600
movzx ecx, al
test ecx, ecx
jne 0x42b22e
lea ecx, [ebp - 0x14]
call fcn.00408170
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b22e
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00407fd0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x79c], 0
jl 0x42b1c8
jg 0x42b1a8
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x798], 0x128c5680
jbe 0x42b1c8
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 0x42b1e6
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 0x42b21a
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00408170
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.00407d20
jmp 0x42b31a
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040d740
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 0x42b28e
jg 0x42b261
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x798], 0x128c5680
jbe 0x42b28e
push str.D:Program_Files_
lea ecx, [ebp - 0x18]
call fcn.00408090
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 0x42b2ac
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.004084d0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00407fd0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x7b0], 0
je 0x42b2ff
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00408170
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.00407d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407d20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret