Function at 0x40e000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b19a
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push esi
push edi
mov eax, dword [0x45fc58]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0
call fcn.00406a50
push str._PROXY_DETECT__IE:_Determining_if_proxy_is_configured...
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0
call fcn.00406d90
push 0xc
call fcn.00418df4
mov esi, eax
add esp, 4
test esi, esi
je 0x40e092
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
jmp 0x40e094
xor esi, esi
mov dword [ebp - 0x28], esi
xorps xmm0, xmm0
movq qword [ebp - 0x44], xmm0
movq qword [ebp - 0x3c], xmm0
movq qword [ebp - 0x34], xmm0
movq qword [esi], xmm0
lea eax, [ebp - 0x20]
mov dword [esi + 8], 0
push eax
mov byte [ebp - 4], 2
movq qword [ebp - 0x20], xmm0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x40e22b
cmp dword [ebp - 0x18], 0
je 0x40e136
lea ecx, [ebp - 0x108]
call fcn.00406a50
push str._PROXY_DETECT__IE:_IE_Proxy_set_to_use_a_user_specified_proxy_server
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406d90
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [esi], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e12f
push eax
call ebx
mov dword [edi], esi
jmp 0x40e304
cmp dword [ebp - 0x1c], 0
je 0x40e280
lea ecx, [ebp - 0x108]
call fcn.00406a50
push str._PROXY_DETECT__IE:_proxy_config_has_auto_config_URL
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406d90
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
push esi
lea eax, [ebp - 0x44]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x44], 2
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x10]
push eax
call fcn.00402590
sub esp, 0x18
mov ecx, esp
push 0x44e25c
mov byte [ebp - 4], 5
call fcn.00401580
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040dbe0
test eax, eax
je 0x40e205
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x40e1e2
push eax
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e1ec
push eax
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e1f6
push eax
call ebx
lea ecx, [ebp + 0x10]
mov dword [edi], esi
call fcn.00401710
jmp 0x40e315
lea ecx, [ebp - 0x108]
call fcn.00406a50
push str._PROXY_DETECT__IE:_Failed_to_detect_proxy_using_auto_config_URL
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
jmp 0x40e267
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 2
je 0x40e276
lea ecx, [ebp - 0x108]
call fcn.00406a50
push dword [ebp - 0x10]
mov ecx, eax
push str._PROXY_DETECT__IE:_Failed_to_get_IE_proxy_settings_for_current_user:_lastError_
mov byte [ebp - 4], 7
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
mov ecx, eax
call fcn.00404570
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406d90
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40e280
push eax
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e28a
push eax
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e294
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x40e2ab
push eax
call fcn.004195d4
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x40e2c2
push eax
call fcn.004195d4
add esp, 4
mov dword [esi + 4], 0
lea ecx, [ebp - 0x108]
call fcn.00406a50
push str.Done_freeing_IE_Proxy_Config
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406d90
push esi
mov dword [edi], 0
call fcn.00418e43
add esp, 4
cmp dword [ebp + 0x24], 8
jb 0x40e315
push dword [ebp + 0x10]
call fcn.00418e43
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20