Function at 0x421870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4de2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.00447f10
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov dword [ebp], 0
mov dword [edi], 0
mov dword [eax], 0
push 0x20019
mov dword [ecx], 0
mov bl, 2
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.00447d60
test eax, eax
lea ecx, [esp + 0x18]
je 0x421949
lea edx, [esp + 0x14]
push edx
push str.ProxyEnable
call fcn.00447e20
test eax, eax
je 0x421945
mov eax, dword [esp + 0x14]
test eax, eax
lea ecx, [esp + 0x18]
je 0x421949
lea eax, [esp + 0xc]
push eax
push str.ProxyServer
call fcn.00447e70
test eax, eax
je 0x421945
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 5
jge 0x421979
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00447f30
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push esi
push 0
push 0x4b0090
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
lea ecx, [esp + 0x10]
push 0
jl 0x421b7c
push str.socks
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
jl 0x421a8a
push eax
push 0x4b0090
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov edi, eax
test edi, edi
jle 0x421a8a
inc edi
push edi
push 0x4b0084
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov esi, eax
mov ecx, esi
sub ecx, edi
push ecx
push edi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
mov ecx, dword [esp + 0x38]
push eax
mov byte [esp + 0x30], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
inc esi
push esi
push 0x4b0080
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
jge 0x421a38
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid]
mov byte [esp + 0x2c], 4
jmp 0x421a50
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
mov byte [esp + 0x2c], 5
lea ecx, [esp + 0x14]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
add esp, 4
mov dword [ebp], 1
push 0
push str.http
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
jl 0x421c22
push eax
push 0x4b0090
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov esi, eax
test esi, esi
jle 0x421c22
inc esi
push esi
push 0x4b0084
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov edi, eax
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
mov ecx, dword [esp + 0x44]
push eax
mov byte [esp + 0x30], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
inc edi
push edi
push 0x4b0080
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
lea ecx, [esp + 0x10]
jge 0x421b2d
push edi
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid]
mov byte [esp + 0x2c], 7
jmp 0x421b41
sub eax, edi
push eax
push edi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
mov byte [esp + 0x2c], 8
lea ecx, [esp + 0x14]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [ecx], eax
mov dword [edx], 1
jmp 0x421c1f
push 0x4b0084
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov esi, eax
test esi, esi
jle 0x421c22
push esi
lea eax, [esp + 0x44]
mov dword [edi], 1
push eax
lea ecx, [esp + 0x18]
mov dword [ebp], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
mov ecx, dword [esp + 0x44]
push eax
mov byte [esp + 0x30], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov ecx, dword [esp + 0x38]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
inc esi
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
mov dword [ecx], eax
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.00447f30
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x24]
pop esi
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret