Function at 0x403b70
Capabilities:
Get disk information
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x417118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x403dab
push 0x422d40
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x403d97
lea ecx, [esp + 0x2c]
call fcn.004160f0
push 0
push 0x421334
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x403d87
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
mov ebp, eax
call dword [edx + 0x40]
cmp eax, 1
jne 0x403d7f
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov eax, dword [eax]
push 0x42128c
push eax
mov byte [esp + 0x58], 3
call edi
add esp, 8
test eax, eax
je 0x403c79
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::GetFileName
mov eax, dword [eax]
push 0x421330
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x403c79
mov bl, 1
jmp 0x403c7b
xor bl, bl
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x403d7f
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [0x422d60]
xor esi, esi
test eax, eax
jle 0x403d32
lea eax, [esp + 0x20]
push esi
push eax
mov ecx, 0x422d58
call fcn.00403e90
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
lea ecx, [esp + 0x20]
setne bl
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x403d28
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
call fcn.00403960
add esp, 4
mov eax, dword [0x422d60]
inc esi
cmp esi, eax
jl 0x403cd0
push str.PROGRAM_FILES
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x403d7f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.AUTODESK
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x60]
push edx
push eax
push ecx
mov byte [esp + 0x64], 6
call sub.MFC42.DLL_operator
mov byte [esp + 0x58], 2
call fcn.004034b0
add esp, 8
test ebp, ebp
jne 0x403c03
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CFileFind::CFileFind
jmp 0x403d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret