Function at 0x4089f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x40eb02
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x417440]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417440]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
call dword [0x4174a4]
xor ebx, ebx
cmp dword [esi + 0x60], ebx
je 0x408b16
push 1
push str.Starting_Up_Sub_Job
call fcn.0040c580
mov ecx, dword [esi + 0x58]
add esp, 8
call fcn.00404b50
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0040b930
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408abb
mov ecx, dword [0x412fd8]
mov edx, dword [0x412fdc]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x412fe0]
mov dword [eax + 4], edx
mov edx, dword [0x412fe4]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.0040bb30
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
jmp 0x408b18
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x24]
push edx
push ebx
push str.Corel_Download_Manager_Job
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, 0x80010108
jne 0x408b39
mov eax, dword [esi + 0x20]
push ebx
push eax
mov byte [esi + 0x54], bl
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x408afa
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
call eax
push 1
push str.Service_Down___could_not_create_job
mov dword [esi + 0x64], ebx
call fcn.0040c580
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040ceac
add esp, 0x2c
ret 4
cmp eax, ebx
jl 0x408b0c
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x408b0c
lea ecx, [esp + 0x20]
push 0x412fd8
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
jne 0x408b0c
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push ebx
push esi
call eax
push 1
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call fcn.0040c580
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bec0
mov esi, eax
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push eax
call ecx
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x3c], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, ebx
jl 0x408b0c
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
jmp 0x408aa0