Function at 0x404450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43acee
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x450440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.job_name
call fcn.0040b170
test eax, eax
jne 0x4044db
cmp dword [esi], eax
jne 0x4044c9
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.00406620
test al, al
jne 0x4044c9
push 0x8007000e
push 0x9a3
mov edx, str.ATL::CAtlMap_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t________class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_________::CreateNode
mov ecx, str.C:Program_FilesMicrosoft_Visual_Studio_12.0VC_atlmfcinclude_atlcoll.h
call fcn.004091e0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push str.job_name
mov ecx, esi
call fcn.0040b270
push dword [eax + 4]
mov ecx, edi
call fcn.00408140
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push str.local_path
mov ecx, esi
call fcn.0040b170
test eax, eax
jne 0x404546
cmp dword [esi], eax
jne 0x404534
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.00406620
test al, al
jne 0x404534
push 0x8007000e
push 0x9a3
mov edx, str.ATL::CAtlMap_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t________class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_________::CreateNode
mov ecx, str.C:Program_FilesMicrosoft_Visual_Studio_12.0VC_atlmfcinclude_atlcoll.h
call fcn.004091e0
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push str.local_path
mov ecx, esi
call fcn.0040b270
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.00405ab0
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00404e30
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x404595
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 5
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x14]
test eax, eax
jne 0x4045c5
push str.Local_path_is_empty_or_file_does_not_exist___ls_
push 0xb7
push str.EndDownloaded
push str.browser_downloader.cpp
call fcn.004092b0
push str.Local_path:__ls
push 0xb8
push str.EndDownloaded
call fcn.0040e8c0
add esp, 0x10
xor edi, edi
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 7
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x404628
call fcn.00401360
test eax, eax
jns 0x40462d
push eax
push 0xbc
mov edx, str.EndDownloaded
mov ecx, str.browser_downloader.cpp
call fcn.004091e0
mov edi, eax
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0040a990
mov esi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401cf0
mov byte [ebp - 4], 9
push ecx
push dword [esi]
mov ecx, eax
call fcn.0040c3b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40468c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4046ac
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x84]
call fcn.00406cf0
mov byte [ebp - 4], 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401440
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x14]
push eax
call fcn.0040b920
mov byte [ebp - 4], 0x11
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x84]
call fcn.00407860
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x84]
call fcn.00404220
mov dword [ebp - 4], 7
jmp 0x404752
mov byte [ebp - 4], 5
test edi, edi
je 0x404768
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x404796
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret