Function at 0x49ff60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4beb70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x4e01dc
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.004ac198
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.0049a7a0
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 0x4e094c
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.004ac198
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.0049a7a0
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.004ac198
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.0049a7a0
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.004ac198
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.0049a7a0
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.004ac198
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.0049a7a0
lea eax, [esp + 0x1c]
push 0x47
push eax
call fcn.004749a0
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x18
test eax, eax
jne 0x4a0142
mov eax, dword [esi + 0x20]
mov byte [esp + 0x30], 0
test eax, eax
je 0x4a0147
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x30]
test al, al
je 0x4a018d
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4e6998
call fcn.004ac198
push ecx
mov byte [esp + 0x2c], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Pass
call fcn.004ac198
push ecx
mov byte [esp + 0x30], 0xd
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x4a01ce
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.00424f00
add esp, 4
mov byte [esp + 0x2c], 0xe
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Pass
call fcn.004ac198
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.0049a7a0
mov eax, dword [esi + 0x18]
add esp, 0xc
inc eax
lea ecx, [esp + 0xc]
push eax
push 0x4e094c
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.004ac198
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.0049a7a0
mov eax, dword [esi + 0x1c]
add esp, 0xc
test eax, eax
mov eax, 0x4e3acc
jne 0x4a0254
mov eax, 0x4e2eb8
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.004ac198
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.0049a7a0
mov eax, dword [esi + 0x20]
add esp, 0xc
test eax, eax
mov eax, 0x4e3acc
jne 0x4a02b8
mov eax, 0x4e2eb8
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.004ac198
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.0049a7a0
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x18]
push ecx
push 0x4e094c
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
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.004ac198
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.0049a7a0
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push eax
push 0x4e094c
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
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.004ac198
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
mov byte [esp + 0x30], 0x19
push eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049a7a0
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x18]
push ecx
push 0x4e094c
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
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.004ac198
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.0049a7a0
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0x18]
push eax
push 0x4e094c
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
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.004ac198
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.0049a7a0
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 0x4e61dc
call fcn.004ac198
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
mov byte [esp + 0x30], 0x1f
push edx
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.0049a7a0
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