Function at 0x405ea0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40da20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.0040cb9a
lea ecx, [esp + 0x10]
call fcn.0040cbb2
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.0040cb9a
lea ecx, [esp + 0x24]
call fcn.004032f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00403380
push str.proxy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0
push ecx
mov bl, 3
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.useproxy
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00403630
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.type
mov dword [esi + 8], eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00403630
push ecx
mov dword [esi + 0xc], eax
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x413824
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push str.server
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
push ecx
lea ecx, [esp + 0x34]
call fcn.004033d0
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x38], 8
call fcn.0040cb9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.port
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x44], 9
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00403630
push ecx
mov dword [esi + 0x14], eax
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x413824
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x3c], 0xa
mov ecx, esp
mov dword [esp + 0x24], esp
push str.user
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x44], 0xb
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
push ecx
lea ecx, [esp + 0x34]
call fcn.004033d0
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0x38], 0xc
call fcn.0040cb9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x413824
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x3c], 0xd
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x412848
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x44], 0xe
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x44], bl
call fcn.004033d0
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x38], 0xf
call fcn.0040cb9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x413824
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x3c], 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push str.domain
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x44], bl
call fcn.004033d0
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0x38], 0x12
call fcn.0040cb9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push str.scroll
lea ecx, [esp + 0x10]
call fcn.0040cb88
push 0xff0000
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.colornew
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x44], 0x13
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00403630
mov dword [esi + 0x3c], eax
push 0x2aa5
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.colorold
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x44], 0x14
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00403630
push str.agent
lea ecx, [esp + 0x10]
mov dword [esi + 0x40], eax
call fcn.0040cb88
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x412814
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x3c], 0x15
mov ecx, esp
mov dword [esp + 0x24], esp
push str.name
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x44], 0x16
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x44], bl
call fcn.004033d0
push eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x38], 0x17
call fcn.0040cb9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 1
call fcn.00403370
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4