Function at 0x40672d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad212
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa8], 0
call fcn.0040f900
push 0x1d
push str.HttpDownloader::getURL:_url:
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00401a40
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 4], 0
jb 0x4064ea
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.004018f0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 2
push 0x4b177c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004018f0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x94], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0040fbf0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4065bb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4065b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eab
push edx
push ecx
call fcn.00483e09
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x406605
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4065fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb0
push edx
push ecx
call fcn.00483e09
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x406652
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406648
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb5
push edx
push ecx
call fcn.00483e09
add esp, 8
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x406e25
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x406e25
call fcn.00411690
mov edi, eax
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x406e8e
cmp dword [esi + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xac], 0
mov eax, esi
movups xmmword [ebp - 0xbc], xmm0
jb 0x4066bd
mov eax, dword [esi]
mov dword [ebp - 0xcc], eax
call fcn.0040ac20
movzx ecx, byte [ebp - 0xc0]
test al, al
lea eax, [ebp - 0xbc]
mov edx, 1
push eax
lea eax, [ebp - 0xcc]
cmovne ecx, edx
push eax
mov byte [ebp - 0xc0], cl
call sym.AdApplicationManager_WebInstaller.exe_adskGetProxyInfo
add esp, 8
mov dword [ebp - 0x98], eax
cmp eax, 1
je 0x406978
test eax, eax
jne 0x406804
push eax
push 0x65
push edi
call fcn.00415c30
add esp, 0xc
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0
push 0x4b1470
call fcn.00401a40
mov edx, dword [ebp - 0xb4]
mov ecx, edx
mov dword [ebp - 4], 4
lea eax, [ecx + 1]
mov dword [ebp - 0x90], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406751
sub ecx, dword [ebp - 0x90]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004018f0
push 1
push 0x4b1c50
mov ecx, eax
call fcn.004018f0
mov edx, dword [ebp - 0xb0]
mov ecx, edx
mov dword [ebp - 0x98], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x90], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406790
sub ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x98]
push edx
call fcn.004018f0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0x2714
push edi
call fcn.00415c30
push 0xffffffffffffffeb
push 0x6f
push edi
call fcn.00415c30
push dword [ebp - 0xbc]
push 0x27bf
push edi
call fcn.00415c30
push dword [ebp - 0xb8]
push 0x27c0
push edi
call fcn.00415c30
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401340
jmp 0x406978
cmp eax, 6
jne 0x40684f
push 0x2b
push str.Adsk_proxy_manager_setup_is_in_silent_mode
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00401a40
mov dword [ebp - 4], 5
call fcn.0040f900
lea eax, [ebp - 0x58]
push eax
call fcn.0040fbf0
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.00401340
jmp 0x406e8e
push 0x19
push str.adskGetProxyInfo_return:
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00401a40
movzx eax, byte [ebp - 0xc0]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 6
push eax
call fcn.00407550
mov esi, eax
push dword [ebp - 0x98]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
call fcn.00407550
add esp, 0x10
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00405620
push esi
push 0xd
push str._with_silent
mov ecx, eax
call fcn.004018f0
mov ecx, eax
call fcn.00405620
lea ecx, [ebp - 0x70]
call fcn.00401340
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00401340
push dword [ebp - 0xac]
lea eax, [ebp - 0x13]
push eax
call fcn.00402e50
mov ecx, eax
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x13]
mov dword [ebp - 0x5c], 0xf
add esp, 8
mov byte [ebp - 0x70], 0
cmp ecx, eax
je 0x406910
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a40
mov dword [ebp - 0x94], 0xf
push 8
push str._schema
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.004018f0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00405620
push 2
push 0x4b177c
mov ecx, eax
call fcn.004018f0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00401340
call fcn.0040f900
lea eax, [ebp - 0x40]
push eax
call fcn.0040fbf0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401340
mov esi, dword [ebp - 0x9c]
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
jb 0x40698c
mov esi, dword [esi]
push esi
push 0x2712
push edi
call fcn.00415c30
push 1
push 0x29
push edi
call fcn.00415c30
push 1
push 0x2b
push edi
call fcn.00415c30
push 0x407680
push 0x4e2b
push edi
call fcn.00415c30
add esp, 0x30
call fcn.0040d200
test al, al
je 0x4069cf
push 0x384
jmp 0x4069d4
push 0x708
push 0xd
push edi
call fcn.00415c30
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
call fcn.0040e130
add esp, 4
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406ae0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + eax*2]
lea ecx, [ebp - 0x88]
mov eax, esi
cmovae ecx, dword [ebp - 0x88]
sub eax, ecx
mov dword [ebp - 0x98], ecx
sar eax, 1
cmp eax, 0xf
jbe 0x406aab
cmp eax, 0x7fffffff
ja 0x406eba
mov edi, eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x406a7b
mov edi, closesocket
jmp 0x406a85
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401840
mov ecx, eax
mov dword [ebp - 0x14], edi
mov al, byte [ebp - 0x28]
mov byte [ecx], al
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x18], 0
push dword [ebp - 0xa0]
push esi
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402c60
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0xa4]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x2751
push edi
call fcn.00415c30
add esp, 0xc
lea ecx, [ebp - 0x28]
jmp 0x406b1d
call fcn.0040f900
push 0x33
push str.HttpDownloader::getURL:_CA_certificates_not_found_r_n
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00401a40
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xb
push eax
call fcn.0040fa10
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00401340
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x14], 8
jb 0x406b30
mov eax, dword [eax]
push 0x4b1cec
push eax
call fcn.00489846
mov esi, eax
add esp, 8
mov dword [ebp - 0xa4], esi
test esi, esi
je 0x406df2
push esi
push 0x2711
push edi
call fcn.00415c30
push edi
call fcn.004116d0
add esp, 0x10
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x406dd3
mov dword [ebp - 0x164], 0x4b1bf8
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
or dword [ebp - 0x94], 0x10
lea eax, [ebp - 0x160]
push 0
push 0
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xc
call fcn.00403160
mov eax, dword [ebp - 0x164]
push 8
mov dword [ebp - 4], 0xd
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x168], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00483dd9
mov esi, eax
push 1
mov byte [ebp - 4], 0xe
call fcn.0046ef02
mov dword [esi + 4], eax
add esp, 8
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x148]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 4
mov esi, dword [ebp - 0xa0]
push 0x4b1cf4
push esi
mov byte [ebp - 4], 0xf
call fcn.004120c0
add esp, 4
push eax
push 0x4b1cf8
push esi
lea eax, [ebp - 0x164]
push str.curl_easy_perform___failed:
push eax
call fcn.004029d0
add esp, 8
mov ecx, eax
call fcn.00403f30
push eax
call fcn.004029d0
add esp, 8
push eax
call fcn.004029d0
add esp, 8
push eax
call fcn.004029d0
add esp, 8
call fcn.0040f900
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x124]
or eax, 0x50
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x94], eax
test cl, 2
jne 0x406d4f
mov eax, dword [ebp - 0x140]
mov edx, dword [eax]
test edx, edx
je 0x406d4f
mov eax, dword [ebp - 0x150]
cmp edx, dword [ebp - 0x128]
cmovb edx, dword [ebp - 0x128]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x406d72
test cl, 4
jne 0x406d7c
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
test edx, edx
je 0x406d7c
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x134]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a40
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x11
push eax
call fcn.0040fa10
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00401340
push dword [ebp - 0xa4]
call fcn.004898eb
push edi
call fcn.00411670
add esp, 8
lea ecx, [ebp - 0x164]
call fcn.004041c0
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x89], 0
call fcn.00401390
mov al, byte [ebp - 0x89]
jmp 0x406e90
push 2
push 0
push esi
call fcn.00489c17
push esi
call fcn.0048a232
push esi
mov dword [ebp - 0xa8], eax
call fcn.004898eb
add esp, 0x14
push edi
call fcn.00411670
add esp, 4
mov byte [ebp - 0x89], 1
cmp dword [ebp - 0xa8], 0
jne 0x406e12
mov byte [ebp - 0x89], 0
lea ecx, [ebp - 0x88]
call fcn.00401390
mov al, byte [ebp - 0x89]
jmp 0x406e90
call fcn.0040f900
push 0x2e
push str.HttpDownloader::getURL:_network_disconnected_r_n
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00401a40
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push eax
call fcn.0040fbf0
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 0x10
jb 0x406e8e
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406e84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406ebf
push edx
push ecx
call fcn.00483e09
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483e17
mov esp, ebp
pop ebp
ret
call fcn.0048969c
call fcn.0048969c
call fcn.0048969c
call fcn.00401830
call fcn.0048969c
int3