Function at 0x4390d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x445e5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
push edi
mov dword [esp + 0x14c], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x44]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
push str.root
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CString::CString_2
push str.root
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 2
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x158]
mov byte [esp + 0x14c], 3
cmp esi, 0x64
jle 0x439178
add esi, 0xffffff9c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push esi
lea edx, [esp + 0x10]
push 0x4500d4
push edx
mov byte [esp + 0x158], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov bl, 5
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.ProjectRun_
add eax, 0xc4
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x158], 6
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 6
call fcn.00440654
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], bl
call fcn.00440654
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea ecx, [esp + 0x44]
push 0
push 0
push 0
push 0
push 1
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CInternetSession::CInternetSession
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x154]
push 0
push 0x15
push edx
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x160], 8
call sub.MFC42.DLL_CInternetSession::GetFtpConnection
mov esi, eax
test esi, esi
jne 0x43927a
push eax
push eax
push 0x45370c
call sub.MFC42.DLL_AfxMessageBox
jmp 0x43934b
push str._PAS_data.pas
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
push str.Sysdb_
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x158], 9
call sub.MFC42.DLL_operator
lea ecx, [esp + 0xc]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x158], 0xa
call sub.MFC42.DLL_operator_1
push 0x45080c
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x154], 0xb
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 0xe
call fcn.00440654
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0xd
call fcn.00440654
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push 0
push 0x4000002
push 0x80
push 0
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CFtpConnection::GetFile
test eax, eax
jne 0x4393ce
push eax
push eax
push 0x4536e4
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 9
call fcn.00440654
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 8
call fcn.00440654
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], bl
call fcn.00440f72
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 4
call fcn.00440654
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 3
call fcn.00440654
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.00440654
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 1
call fcn.00440654
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0
call fcn.00440654
lea ecx, [esp + 0x154]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00440654
xor eax, eax
jmp 0x43948f
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CInternetSession::Close
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push 0
push 0
push 0x4536d0
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 9
call fcn.00440654
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 8
call fcn.00440654
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], bl
call fcn.00440f72
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 4
call fcn.00440654
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 3
call fcn.00440654
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.00440654
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 1
call fcn.00440654
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0
call fcn.00440654
lea ecx, [esp + 0x154]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00440654
mov eax, 1
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 8