Function at 0x4069c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 1
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00405a90
cmp dword [ebp - 0x30], 0
jbe 0x406bc5
lea ecx, [ebp - 0x40]
call fcn.004035b0
cmp dword [0x4cd428], 0
jne 0x406a41
push 0xb
push str.1.3.36.5011
mov ecx, 0x4cd418
call fcn.00407620
push 0x4cd418
lea ecx, [ebp - 0x58]
call fcn.00407240
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xb
mov dword [ebp - 0x28], 0
push str.1.3.36.5011
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00407620
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
call fcn.0041cc50
test eax, eax
je 0x406b4f
mov ecx, esi
call fcn.00405830
test eax, eax
jne 0x406abe
push str.UpgradePackChromeSvc
push str._s:DownloadFileChromeSvcUpdate___failed
call fcn.00401620
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x406ac6
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x406b03
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c13
push edx
push ecx
call fcn.0044235d
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x406bc7
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c13
push edx
push ecx
call fcn.0044235d
add esp, 8
jmp 0x406bc7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x406b83
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c13
push edx
push ecx
call fcn.0044235d
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x406bc5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406bbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c13
push edx
push ecx
call fcn.0044235d
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x406bf7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406bed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c18
push edx
push ecx
call fcn.0044235d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
call fcn.004452a7
int3