Function at 0x10056f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b7318
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
call fcn.1005c940
mov ebp, eax
test ebp, ebp
je 0x1005716b
add ebx, 0x34
mov ecx, ebx
call fcn.1007edb0
test eax, eax
jne 0x1005716b
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
push 0
mov ecx, ebp
call edx
test eax, eax
mov dword [esp + 0x20], eax
je 0x10056fa4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe4]
call eax
mov esi, eax
test esi, esi
jne 0x10056fb5
push 0x178
push str..FtpProfile.cpp
push 0
jmp 0x1005717d
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28c]
push 1
mov ecx, esi
call eax
mov edi, dword [esi]
mov ecx, ebx
call fcn.1007ee00
mov edx, dword [edi + 0x58]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
push 1
mov ecx, esi
call edx
mov ecx, esi
call fcn.10039ac0
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc4]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
mov ecx, esi
call edx
test edi, edi
mov dword [esp + 0x24], eax
je 0x1005714e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005714e
test ebx, ebx
je 0x1005714e
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1005714e
lea esi, [esi + eax + 0xc]
lea eax, [esp + 0x17]
push eax
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f], 0
call fcn.1002a810
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0
call fcn.1002a5d0
push 4
lea ecx, [esp + 0x30]
mov dword [eax], 1
call fcn.1002a5d0
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
push 8
lea ecx, [esp + 0x30]
call fcn.1002a5d0
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
push eax
push edi
push 0xc
lea ecx, [esp + 0x38]
call fcn.1002a5d0
push eax
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0xc
push ecx
add eax, 0xc
push ebx
push eax
lea ecx, [esp + 0x38]
call fcn.1002a5d0
push eax
call sub.MSVCR80.dll_memcpy
mov edi, dword [esp + 0x34]
add edi, 0x14
add esp, 0xc
mov ecx, edi
call fcn.10056830
push 0
push esi
mov ecx, edi
call fcn.10056c20
push esi
push 0
lea ecx, [esp + 0x34]
call fcn.1002a5d0
push eax
push 0
mov ecx, edi
call fcn.1002a5d0
push eax
call sub.MSVCR80.dll_memcpy
mov edx, dword [ebp]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x40]
add esp, 0xc
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x2c]
call fcn.1002a750
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp]
mov edx, dword [eax + 0x40]
push ecx
mov ecx, ebp
call edx
push 0x193
push str..FtpProfile.cpp
push 0
jmp 0x1005717d
xor eax, eax
test ebp, ebp
setne al
push 0x170
push str..FtpProfile.cpp
push eax
call fcn.10001230
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret