Function at 0x40aa24
Capabilities:
Create directory
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp - 0x40], ecx
push 1
mov ecx, dword [ebp - 0x40]
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [ebp - 0x40]
add eax, 0x6d0
push eax
lea ecx, [ebp - 0x14]
call fcn.00430aaa
mov dword [ebp - 4], 0
push 0x44d114
mov ecx, dword [ebp - 0x40]
add ecx, 0x6e0
push ecx
call fcn.00407d90
and eax, 0xff
test eax, eax
je 0x40abf4
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x700], 0
je 0x40aab1
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x700], 0
je 0x40abf4
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x6fc], 0
je 0x40abf4
push 0x44d118
mov edx, dword [ebp - 0x40]
add edx, 0x6d0
push edx
call fcn.00407d90
and eax, 0xff
test eax, eax
je 0x40abf4
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.00402c80
sub eax, 1
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.00407d70
movsx eax, al
cmp eax, 0x5c
jne 0x40ab98
push 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x6e0
call fcn.00407d70
movsx ecx, al
cmp ecx, 0x5c
jne 0x40ab7f
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.00402c80
sub eax, 1
push eax
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x40]
add edx, 0x6e0
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::operator_1
jmp 0x40ab96
mov eax, dword [ebp - 0x40]
add eax, 0x6e0
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::operator_1
jmp 0x40abf4
push 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x6e0
call fcn.00407d70
movsx ecx, al
cmp ecx, 0x5c
jne 0x40abca
mov edx, dword [ebp - 0x40]
add edx, 0x6e0
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::operator_1
jmp 0x40abf4
push 0x4477ec
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.00430b04
mov eax, dword [ebp - 0x40]
add eax, 0x6e0
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::operator_1
push 0x44d11c
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
push ecx
call fcn.0040be20
and eax, 0xff
test eax, eax
je 0x40ac41
push 0
push 0
push 0x4477f0
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [ebp - 0x40]
add ecx, 0x330
call sub.MFC42.DLL_CWnd::SetFocus
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x40af05
mov ecx, dword [ebp - 0x40]
add ecx, 0x330
call sub.MFC42.DLL_CWnd::GetStyle
and eax, 0x800
test eax, eax
jne 0x40acfa
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40acfa
push 2
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0x40acfa
push 0
push 0
push 0x447800
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [ebp - 0x40]
add ecx, 0x330
call sub.MFC42.DLL_CWnd::SetFocus
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x40af05
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40adf8
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.00402c80
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x1c]
push edx
push 0x5c
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x40ad51
jmp 0x40adf8
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x30], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x30]
and eax, 0xff
test eax, eax
je 0x40ade3
push 0
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
call fcn.004081e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jl 0x40ad2f
push 2
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x68]
call fcn.004081e0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], 4
je 0x40ae49
cmp dword [ebp - 0x10], 5
je 0x40ae49
cmp dword [ebp - 0x10], 6
jne 0x40ae79
push 0
push 0
push 0x44780c
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [ebp - 0x40]
add ecx, 0x330
call sub.MFC42.DLL_CWnd::SetFocus
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x40af05
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x6f8], 0
je 0x40aed1
push 0x44d120
mov eax, dword [ebp - 0x40]
add eax, 0x6e0
push eax
call fcn.00407d90
and eax, 0xff
test eax, eax
je 0x40aeb6
lea ecx, [ebp - 0x14]
call fcn.004081e0
push eax
call fcn.00407e10
mov ecx, eax
call fcn.00412d06
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.004081e0
push eax
call fcn.00407e10
mov ecx, eax
call fcn.00412d2b
mov ecx, dword [ebp - 0x40]
add ecx, 0x6d0
call fcn.004081e0
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x6e8]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x6e8]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret