Function at 0x40e2e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c1aa
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push esi
push edi
mov eax, dword [0x461c88]
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.004066b0
push str._PROXY_DETECT__IE:_Determining_if_proxy_is_configured...
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00407fa0
push eax
call fcn.004038c0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0
call fcn.00406a00
push 0xc
call fcn.00419def
mov esi, eax
add esp, 4
test esi, esi
je 0x40e372
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
jmp 0x40e374
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 0x40e50b
cmp dword [ebp - 0x18], 0
je 0x40e416
lea ecx, [ebp - 0x108]
call fcn.004066b0
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.00407fa0
push eax
call fcn.004038c0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406a00
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 0x40e40f
push eax
call ebx
mov dword [edi], esi
jmp 0x40e5e4
cmp dword [ebp - 0x1c], 0
je 0x40e560
lea ecx, [ebp - 0x108]
call fcn.004066b0
push str._PROXY_DETECT__IE:_proxy_config_has_auto_config_URL
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00407fa0
push eax
call fcn.004038c0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406a00
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 0x4502b4
mov byte [ebp - 4], 5
call fcn.00401590
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040dec0
test eax, eax
je 0x40e4e5
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x40e4c2
push eax
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e4cc
push eax
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e4d6
push eax
call ebx
lea ecx, [ebp + 0x10]
mov dword [edi], esi
call fcn.00401720
jmp 0x40e5f5
lea ecx, [ebp - 0x108]
call fcn.004066b0
push str._PROXY_DETECT__IE:_Failed_to_detect_proxy_using_auto_config_URL
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00407fa0
push eax
call fcn.004038c0
add esp, 8
jmp 0x40e547
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 2
je 0x40e556
lea ecx, [ebp - 0x108]
call fcn.004066b0
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.00407fa0
push eax
call fcn.004038c0
add esp, 8
mov ecx, eax
call fcn.004044e0
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406a00
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40e560
push eax
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e56a
push eax
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e574
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x40e58b
push eax
call fcn.0041a5c4
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x40e5a2
push eax
call fcn.0041a5c4
add esp, 4
mov dword [esi + 4], 0
lea ecx, [ebp - 0x108]
call fcn.004066b0
push str.Done_freeing_IE_Proxy_Config
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00407fa0
push eax
call fcn.004038c0
add esp, 8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00406a00
push esi
mov dword [edi], 0
call fcn.00419e3e
add esp, 4
cmp dword [ebp + 0x24], 8
jb 0x40e5f5
push dword [ebp + 0x10]
call fcn.00419e3e
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