Function at 0x404500
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e10e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x455440]
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 ecx, [ebp - 0xc4]
call fcn.00407790
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 1
sub esp, 0x10
lea ecx, [ebp - 0x64]
call fcn.0040db50
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.job_name
mov ecx, esi
call fcn.0040d770
test eax, eax
jne 0x4045c4
cmp dword [esi], eax
jne 0x4045b2
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.004070b0
test al, al
jne 0x4045b2
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.0040bca0
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push str.job_name
mov ecx, esi
call fcn.0040d870
push dword [eax + 4]
mov ecx, edi
call fcn.0040ac00
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push str.local_path
mov ecx, esi
call fcn.0040d770
test eax, eax
jne 0x40462f
cmp dword [esi], eax
jne 0x40461d
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.004070b0
test al, al
jne 0x40461d
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.0040bca0
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push str.local_path
mov ecx, esi
call fcn.0040d870
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.00405c60
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00405110
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x404678
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 7
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x1c]
test eax, eax
jne 0x4046a5
push str.Local_path_is_empty_or_file_does_not_exist___ls_
push 0xdb
push str.EndDownloaded
push str.browser_downloader.cpp
call fcn.0040bd70
push str.Local_path:__ls
push 0xe0
push str.EndDownloaded
call fcn.004110a0
add esp, 0x10
xor edi, edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 9
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0xa
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4046f1
call fcn.00401380
jmp 0x4046f8
mov edi, eax
mov dword [ebp - 0x30], edi
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
jne 0x40471a
call fcn.00401380
test eax, eax
js 0x404723
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x40473f
push eax
push 0xe5
mov edx, str.EndDownloaded
mov ecx, str.browser_downloader.cpp
call fcn.0040bca0
lea ecx, [ebp - 0x1c]
call fcn.004112f0
test al, al
je 0x404974
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x16]
call fcn.00409be0
cmp byte [ebp - 0x16], 0
je 0x404833
push str.__fixer.needToFix_is_true__lets_fix
push 0xf1
push str.EndDownloaded
call fcn.004110a0
add esp, 0xc
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x16]
call fcn.00409cb0
mov edx, 0x44aaec
mov ecx, 0x44aaf0
test al, al
cmove edx, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push edx
call fcn.004051f0
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.fix2707
call fcn.004051f0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc4]
call fcn.00408940
cmp byte [ebp - 0x15], 0
je 0x404833
push str.do_not_launch_browser
mov ecx, esi
call fcn.0040d650
test al, al
jne 0x404833
push 0x44a8b5
push str.do_not_launch_browser
mov ecx, esi
call fcn.0040d5e0
mov ecx, eax
call fcn.00405300
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x44aaec
call fcn.004051f0
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.fix2707dnl
call fcn.004051f0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc4]
call fcn.00408940
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0040d440
mov esi, eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00401cd0
mov byte [ebp - 4], 0x11
push 0
push ecx
push dword [esi]
mov ecx, eax
call fcn.0040e980
test al, al
sete bl
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x11c]
call fcn.00403240
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
call fcn.00404ef0
test bl, bl
je 0x4048a2
push 0x44ab08
lea ecx, [ebp - 0x4c]
call fcn.004051f0
push 0x4535b8
lea eax, [ebp - 0x4c]
push eax
call fcn.00429b78
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040de40
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x64]
call fcn.00405660
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.00402a50
mov dword [ebp - 4], 0xa
or ebx, 0xffffffff
jmp 0x404982
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x20], 2
sub esp, 0x10
mov dword [ebp - 0x34], esp
mov ecx, esp
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x64]
push eax
call fcn.004055b0
mov byte [ebp - 4], 0x15
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.004088a0
mov byte [ebp - 4], 7
test edi, edi
je 0x4049ce
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4049f6
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x404a14
push eax
call fcn.00422f1c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00404210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret