Function at 0x477e90
Capabilities:
Access peb ldr_data
Gather filezilla information
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4bb020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Server.Host
call fcn.004ac728
mov esi, dword [esp + 0x30]
push esi
call fcn.00477700
add esp, 0xc
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Server.Port
call fcn.004ac728
push esi
call fcn.00477790
add esp, 0xc
lea eax, [edi + 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Server.User
call fcn.004ac728
push esi
call fcn.00477700
add esp, 0xc
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Server.Pass
call fcn.004ac728
push esi
call fcn.00477700
add esp, 8
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x2c]
push eax
call fcn.00424b70
add esp, 8
push eax
lea ecx, [edi + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Firewall_bypass
call fcn.004ac728
push esi
call fcn.00477790
add esp, 0xc
lea edx, [edi + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Dont_Remember_Pass
call fcn.004ac728
push esi
call fcn.00477790
add esp, 0xc
lea eax, [edi + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Server_Type
call fcn.004ac728
push esi
call fcn.00477790
add esp, 0xc
lea ecx, [edi + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Path
call fcn.004ac728
push esi
call fcn.00477700
add esp, 0xc
lea ebp, [edi + 0x24]
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Pasv_Mode
call fcn.004ac728
push esi
call fcn.00477790
add esp, 0xc
lea ebx, [edi + 0x28]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Time_Zone_Offset
call fcn.004ac728
push esi
call fcn.00477790
mov eax, dword [ebp]
add esp, 0xc
test eax, eax
jl 0x478038
cmp eax, 2
jle 0x47803f
mov dword [ebp], 0
mov eax, dword [ebx]
cmp eax, 0xffffffe8
jl 0x47804b
cmp eax, 0x18
jle 0x478051
mov dword [ebx], 0
mov edi, dword [edi]
push 0x4e59d8
push edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4780a1
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, 1
jl 0x4780a1
cmp eax, 0xffff
jg 0x4780a1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret