Function at 0x1808e3b1
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebx + 0x10]
push esi
mov dword [ebp - 0xe8], ecx
xor ecx, ecx
push edi
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], ecx
lea ecx, [ebp - 0x100]
push eax
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0x20], 0xf
call fcn.1805020d
push 0xc
pop eax
push eax
call fcn.1800a7bf
mov esi, eax
lea edi, [ebp - 0x100]
pop ecx
mov dword [ebp - 0xe0], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 0xd8], ecx
push edi
mov ecx, esi
call fcn.1805020d
push 0xc
pop eax
add esi, eax
add edi, eax
lea eax, [ebp - 0xf4]
cmp edi, eax
jne 0x1808e44d
mov edi, dword [ebp - 0xcc]
lea eax, [ebp - 0xbc]
push 3
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xc0], eax
push dword [edi]
call fcn.180389cd
mov ecx, dword [ebp - 0xc0]
xor eax, eax
push 0xf
pop esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
lea edx, [ecx + 1]
mov dword [ebp - 8], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1808e4a4
sub ecx, edx
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x1c]
call fcn.18031953
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x1c]
call fcn.180a24ca
add esp, 0x10
test eax, eax
mov eax, dword [ebp - 8]
setne byte [ebp - 0xcd]
cmp eax, 0x10
jb 0x1808e532
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], ecx
cmp eax, 0x1000
jb 0x1808e529
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.18003b3c
mov eax, dword [ebp - 0xc8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc4]
push eax
push ecx
call fcn.180a66f3
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xc0], eax
je 0x1808e557
push dword [ebp - 0xc0]
call fcn.180ac054
pop ecx
mov esi, dword [ebp - 0xe0]
test esi, esi
je 0x1808e5d9
mov edi, esi
cmp edi, dword [ebp - 0xdc]
je 0x1808e585
push 0xc
pop esi
mov ecx, edi
call fcn.1800e30b
add edi, esi
cmp edi, dword [ebp - 0xdc]
jne 0x1808e56e
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xd8]
sub eax, esi
mov dword [ebp - 0xc8], esi
push 0xc
cdq
pop ecx
idiv ecx
imul eax, eax, 0xc
mov dword [ebp - 0xc4], eax
cmp eax, 0x1000
jb 0x1808e5ca
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.18003b3c
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xc8]
pop ecx
pop ecx
push eax
push esi
call fcn.180a66f3
mov edi, dword [ebp - 0xcc]
pop ecx
pop ecx
lea ecx, [ebp - 0x100]
call fcn.1800e30b
mov ecx, dword [ebp - 0xf4]
test ecx, ecx
je 0x1808e633
mov eax, dword [ebp - 0xec]
sub eax, ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xcc], eax
cmp eax, 0x1000
jb 0x1808e62a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.18003b3c
mov eax, dword [ebp - 0xcc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc4]
push eax
push ecx
call fcn.180a66f3
pop ecx
pop ecx
cmp byte [ebp - 0xcd], 0
je 0x1808e648
mov dword [ebp - 0xd4], 0x80092009
jmp 0x1808e6c1
mov esi, dword [ebp - 0xe4]
mov ecx, edi
mov edx, esi
call fcn.180a2750
test al, al
jne 0x1808e667
mov dword [ebp - 0xd4], 0x8000ffff
jmp 0x1808e6c1
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.180060dc
add eax, 0x10
lea ecx, [ebp - 0xc8]
push str.GoogleUpdateSetup.exe
mov dword [ebp - 0xc8], eax
call fcn.18005a55
mov esi, dword [ebp - 0xc8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1808e6a7
mov dword [ebp - 0xd4], 0x80070002
jmp 0x1808e6b9
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0xc8]
push eax
call fcn.18005b84
lea ecx, [esi - 0x10]
call fcn.18003140
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1808e70a
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], ecx
cmp eax, 0x1000
jb 0x1808e701
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.18003b3c
mov eax, dword [ebp - 0xcc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc4]
push eax
push ecx
call fcn.180a66f3
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xd4]
xor ecx, ebp
pop edi
pop esi
call fcn.180a61d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret