Function at 0x4012df
Capabilities:
Create directory

Disassembly:
jmp 0x4089a0
push 0xffffffffffffffff
push 0x410488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x4c]
mov dword [esp + 0x70], 0
call sub.MFC42.DLL_CFileFind::CFileFind
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x10]
push edi
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x30]
mov esi, eax
call sub.MFC42.DLL_CFileFind::Close
test esi, esi
jne 0x408c55
mov cl, byte [0x416394]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x408a74
lea edx, [esp + 0x78]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.0040ddd4
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call fcn.0040dc54
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x30]
mov esi, eax
call sub.MFC42.DLL_CFileFind::Close
test esi, esi
jne 0x408c55
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString_1
mov bl, 5
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], bl
call fcn.0040dd80
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CStringArray::SetSize
push 0x416394
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x408b3c
lea ecx, [esp + 0x78]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 6
call fcn.0040ddd4
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], bl
call fcn.0040dc54
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CStringArray::SetAtGrow
inc esi
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 7
call fcn.0040ddd4
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.0040dc54
push 0x416394
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
jne 0x408abd
mov eax, dword [esp + 0x24]
test eax, eax
mov ebp, eax
jg 0x408b96
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 4
call fcn.0040dc54
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.0040dc5a
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0040dc54
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0
call fcn.0040dd86
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call fcn.0040dd86
xor eax, eax
jmp 0x408c87
push 0x4186ec
lea ecx, [esp + 0x14]
call fcn.0040dd80
xor esi, esi
test ebp, ebp
jle 0x408c39
lea edx, [esp + 0x78]
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.004010e1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], bl
call fcn.0040dc54
test esi, esi
je 0x408c22
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x4c]
mov edi, eax
call sub.MFC42.DLL_CFileFind::Close
test edi, edi
jne 0x408c22
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x4169b4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
inc esi
cmp esi, ebp
jl 0x408bae
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 4
call fcn.0040dc54
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.0040dc5a
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0040dc54
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0
call fcn.0040dd86
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call fcn.0040dd86
mov eax, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4