Function at 0x4418f0
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 4
push 0x3ff
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x40f]
push 0
push eax
mov dword [ebp - 0x424], 0
mov byte [ebp - 0x410], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x441baf
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x420]
push edx
mov edx, dword [ebp - 0x418]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x41c]
push ecx
push 0
push str.ProxyEnable
push edx
call esi
test eax, eax
jne 0x441a23
cmp dword [ebp - 0x424], eax
jbe 0x441a23
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x41c]
push edx
push 0
push str.ProxyServer
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x3ff
call esi
test eax, eax
jne 0x441a23
cmp byte [ebp - 0x410], al
je 0x441a23
push edi
mov edx, str.ProxyServer:
call fcn.00409f10
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call fcn.0040a540
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x441bb1
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x3ff
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x41c]
push eax
push 0
push str.AutoConfigURL
push ecx
call esi
test eax, eax
jne 0x441ac4
cmp byte [ebp - 0x410], al
je 0x441ac4
push 0xa
push str.ConfigURL:
mov ecx, edi
call fcn.00405360
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441a95
sub eax, edx
push eax
lea edx, [ebp - 0x410]
push edx
mov ecx, edi
call fcn.0040e4c0
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x441bb1
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
lea edx, [ebp - 0x410]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 3
push 0x400
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.WININET.dll_DetectAutoProxyUrl]
cmp eax, 1
jne 0x441baf
call dword [sym.imp.MSVCP100.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov esi, eax
mov dword [ebp - 0x428], esi
call dword [sym.imp.MSVCP100.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
push ecx
mov eax, esp
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x42c], esp
mov dword [eax], esi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
lea ecx, [ebp - 0x410]
call fcn.00447700
add esp, 4
mov byte [ebp - 0x411], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x441b6f
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_public:_class_std::locale::facet____thiscall_std::locale::facet::_Decref_void_]
test eax, eax
je 0x441b6f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp byte [ebp - 0x411], 0
je 0x441baf
push 5
push str.Wpad:
mov ecx, edi
call fcn.00405360
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441b90
sub eax, edx
push eax
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call fcn.0040e4c0
mov eax, 1
jmp 0x441bb1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret