Function at 0x40d040
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x41d3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x48]
mov bl, 2
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x40d0dc
mov ecx, dword [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
test edi, edi
je 0x40d0e0
lea edx, [esp + 0x48]
lea eax, [esp + 0x10]
push edx
push str.Made_Dir:
push eax
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x48], 3
call fcn.0041b7f4
mov ecx, dword [ebp + 0x68]
call fcn.00411280
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
jmp 0x40d0e0
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::Close
push 0x429044
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
test esi, esi
jle 0x40d1ba
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
push 0x429044
push ecx
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 6
call fcn.0041b82a
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0041b7f4
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x4c], 7
call fcn.0041b7f4
mov ecx, ebp
mov byte [esp + 0x48], bl
call fcn.0040d040
mov edi, eax
jmp 0x40d230
jge 0x40d230
mov ecx, dword [esp + 0x4c]
push 0x42a438
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40d230
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x42a438
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x4c]
push 0x429044
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_operator
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
push eax
push ecx
mov byte [esp + 0x54], 9
call sub.MFC42.DLL_operator_2
mov ecx, ebp
mov byte [esp + 0x48], 0xa
call fcn.0040d040
lea ecx, [esp + 0x14]
mov edi, eax
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.0041ba10
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8