Function at 0x403ad0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4400b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x58]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x462140
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.00422b90
test bl, bl
je 0x403b58
push 0x462140
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push 0x4626c8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x403caf
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov bl, 6
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::GetFilePath
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 4
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::GetFileTitle
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::Replace
mov edx, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
call dword [edx + 0x40]
test eax, eax
je 0x403c36
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x403c36
push eax
mov eax, dword [esp + 0x14]
push eax
call ebp
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x5c], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x58], bl
call fcn.00403ad0
jmp 0x403c7d
mov edx, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
call dword [edx + 0x40]
test eax, eax
jne 0x403c7d
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x403c7d
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x1c]
call fcn.00422b90
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 5
call fcn.00422b90
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 4
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 3
call fcn.00422b90
test esi, esi
jne 0x403b86
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call fcn.00422c44
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 0
call fcn.00422b90
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00422b90
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8