Function at 0x41ae20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499712
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 [0x49f754]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call dword [0x49f754]
push reloc.libdb43.dll_Ordinal_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0043c940
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.0043c760
test eax, eax
lea ecx, [esp + 0x18]
je 0x41aef9
lea edx, [esp + 0x14]
push edx
push str.ProxyEnable
call fcn.0043c850
test eax, eax
je 0x41aef5
mov eax, dword [esp + 0x14]
test eax, eax
lea ecx, [esp + 0x18]
je 0x41aef9
lea eax, [esp + 0xc]
push eax
push str.ProxyServer
call fcn.0043c8a0
test eax, eax
je 0x41aef5
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 5
jge 0x41af29
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.0043c960
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 0x4a3430
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
lea ecx, [esp + 0x10]
push 0
jl 0x41b12c
push str.socks
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
jl 0x41b03a
push eax
push 0x4a3430
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov edi, eax
test edi, edi
jle 0x41b03a
inc edi
push edi
push 0x4a3424
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]
mov ecx, dword [esp + 0x38]
push eax
mov byte [esp + 0x30], 3
call dword [0x49f214]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
inc esi
push esi
push 0x4a3420
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
jge 0x41afe8
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
mov byte [esp + 0x2c], 4
jmp 0x41b000
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]
mov byte [esp + 0x2c], 5
lea ecx, [esp + 0x14]
push eax
call dword [0x49f214]
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 0x41b1d2
push eax
push 0x4a3430
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov esi, eax
test esi, esi
jle 0x41b1d2
inc esi
push esi
push 0x4a3424
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]
mov ecx, dword [esp + 0x44]
push eax
mov byte [esp + 0x30], 6
call dword [0x49f214]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
inc edi
push edi
push 0x4a3420
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
test eax, eax
lea ecx, [esp + 0x10]
jge 0x41b0dd
push edi
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
mov byte [esp + 0x2c], 7
jmp 0x41b0f1
sub eax, edi
push eax
push edi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid]
mov byte [esp + 0x2c], 8
lea ecx, [esp + 0x14]
push eax
call dword [0x49f214]
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 0x41b1cf
push 0x4a3424
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov esi, eax
test esi, esi
jle 0x41b1d2
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 [0x49f214]
mov ecx, dword [esp + 0x38]
push eax
call dword [0x49f214]
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_1]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xa
call dword [0x49f214]
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.0043c960
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