Function at 0x4a0470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bebb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x4df1d8
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::TrimLeft
mov esi, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 1
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Host
call fcn.004ac728
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], 0
call fcn.0049acf0
add esp, 0xc
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push ecx
mov bl, 3
push 0x4df944
push edx
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Port
call fcn.004ac728
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
add esp, 8
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.User
call fcn.004ac728
mov byte [esp + 0x2c], 7
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
add esp, 8
lea eax, [esi + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Remote_Dir
call fcn.004ac728
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
add esp, 8
lea eax, [esi + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0xa
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Local_Dir
call fcn.004ac728
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 0xb
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
lea eax, [esp + 0x1c]
push 0x47
push eax
call fcn.00474c60
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x18
test eax, eax
jne 0x4a0652
mov eax, dword [esi + 0x20]
mov byte [esp + 0x30], 0
test eax, eax
je 0x4a0657
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x30]
test al, al
je 0x4a069d
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4e59d8
call fcn.004ac728
push ecx
mov byte [esp + 0x2c], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Pass
call fcn.004ac728
push ecx
mov byte [esp + 0x30], 0xd
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x4a06de
push ecx
lea eax, [esi + 0xc]
mov edi, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push edi
call fcn.00424a40
add esp, 4
mov byte [esp + 0x2c], 0xe
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Pass
call fcn.004ac728
push ecx
mov byte [esp + 0x30], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x38]
push edx
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov eax, dword [esi + 0x18]
add esp, 0xc
inc eax
lea ecx, [esp + 0xc]
push eax
push 0x4df944
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x10
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Logontype
call fcn.004ac728
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 0x11
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov eax, dword [esi + 0x1c]
add esp, 0xc
test eax, eax
mov eax, 0x4e2b10
jne 0x4a0764
mov eax, 0x4e1ef8
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x12
mov ecx, esp
mov dword [esp + 0x20], esp
push str.FW_Bypass
call fcn.004ac728
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 0x13
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov eax, dword [esi + 0x20]
add esp, 0xc
test eax, eax
mov eax, 0x4e2b10
jne 0x4a07c8
mov eax, 0x4e1ef8
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x14
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Dont_Save_Pass
call fcn.004ac728
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 0x15
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov ecx, dword [esi + 0x24]
add esp, 0xc
lea edx, [esp + 0xc]
push ecx
push 0x4df944
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x16
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Server_Type
call fcn.004ac728
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 0x17
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov eax, dword [esi + 0x30]
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
push 0x4df944
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x18
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Pasv_Mode
call fcn.004ac728
push ecx
mov byte [esp + 0x30], 0x19
mov ecx, esp
mov dword [esp + 0x20], esp
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov ecx, dword [esi + 0x34]
add esp, 0xc
lea edx, [esp + 0xc]
push ecx
push 0x4df944
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x1a
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Time_Zone_Offset
call fcn.004ac728
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 0x1b
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
mov eax, dword [esi + 0x38]
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
push 0x4df944
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x1c
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Time_Zone_Offset_Minutes
call fcn.004ac728
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 0x1d
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
add esp, 8
add esi, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 0x1e
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Comments
call fcn.004ac728
mov byte [esp + 0x2c], 0x1f
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049acf0
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret