Function at 0x40ce60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 4], 0
call fcn.00405d70
mov dword [ebp - 0x18], eax
push 0x4a6370
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
push 0x4a6374
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp + 8]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x18]
call fcn.0044a937
cmp dword [ebp - 0x1c], 0
jle 0x40cef8
push 0x4775a8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
jmp 0x40d27a
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp + 8]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x18]
call fcn.0043ecaa
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x40cf6e
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045dfd8
mov eax, dword [ebp - 0x8c]
jmp 0x40d40b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045e12e
cmp dword [ebp - 0x58], 0
jne 0x40cfc8
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea edx, [ebp + 8]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x18]
call fcn.0043f1b6
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045e12e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.0045dfd8
lea ecx, [ebp - 0x14]
push ecx
push 0x4775ac
push 0x4775b0
push 0x4775c0
mov edx, dword [ebp - 0x18]
add edx, 0x61c
push edx
lea eax, [ebp - 0x94]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0x98]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0x9c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xec]
push edx
lea eax, [ebp - 0x7c]
push eax
call sub.MFC42.DLL_operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x9c]
call fcn.0045dfd8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x98]
call fcn.0045dfd8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x94]
call fcn.0045dfd8
cmp dword [ebp - 0x58], 0
jne 0x40d1a5
lea ecx, [ebp - 0x14]
push ecx
push 0x4775cc
push 0x4775d0
push 0x4775e0
mov edx, dword [ebp - 0x18]
add edx, 0x61c
push edx
lea eax, [ebp - 0xa0]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xf4]
push edx
lea eax, [ebp - 0xa4]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xfc]
push edx
lea eax, [ebp - 0xa8]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x104]
push edx
lea eax, [ebp - 0xac]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0045e12e
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xac]
call fcn.0045dfd8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.0045dfd8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.0045dfd8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa0]
call fcn.0045dfd8
push 0
lea ecx, [ebp - 0x7c]
call fcn.00412270
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::CFileFind
mov byte [ebp - 4], 0xf
push 0
push 0x4775ec
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x114]
call fcn.00412270
push eax
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb0]
call fcn.0045dfd8
cmp dword [ebp - 0x5c], 0
je 0x40d238
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
jmp 0x40d21c
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::Close
cmp dword [ebp - 0x54], 0
jle 0x40d255
push 0x4775f4
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
jmp 0x40d262
push 0x4775f8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x78]
call fcn.0045e1a6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0045dfd8
push 0x14
push 0
lea ecx, [ebp - 0x30]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x1f
push 0
lea edx, [ebp - 0x50]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x4775fc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x477600
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405cf0
and eax, 0xff
test eax, eax
je 0x40d2f7
lea edx, [ebp - 0x30]
push edx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a8
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x477604
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x40d31e
lea ecx, [ebp - 0x30]
push ecx
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a4
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x47760c
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x8000
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.0040a23c
test eax, eax
jne 0x40d372
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045dfd8
mov eax, dword [ebp - 0xb4]
jmp 0x40d40b
push 1
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xbc]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 0x11
push ecx
mov eax, esp
mov dword [ebp - 0xb8], esp
mov ecx, dword [ebp - 0x11c]
push ecx
push 0x477614
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0xc4]
call fcn.0040ccff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.0045dfd8
mov dword [ebp - 0xc0], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045dfd8
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4