Function at 0x416d00
Capabilities:
Get common file path
Get disk information
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x41e51f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x1a0]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x426404
push eax
mov dword [esp + 0x19c], 2
call ebp
add esp, 8
test eax, eax
je 0x416ddd
mov ecx, dword [esp + 0x1a0]
push 0x427178
push ecx
call ebp
add esp, 8
test eax, eax
je 0x416ddd
mov edx, dword [esp + 0x1a0]
push 0x42716c
push edx
call ebp
add esp, 8
test eax, eax
je 0x416ddd
push ecx
lea eax, [esp + 0x1a4]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00418b30
test eax, eax
jne 0x416ddd
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x194], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x194], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x194], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4173e5
mov ecx, dword [esp + 0x19c]
lea edi, [esi + 0x6c]
lea edx, [esp + 0x1a8]
mov dword [esi + 0x68], ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::MakeLower
push 1
push 0x2a
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x19c], 3
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x416e63
push 1
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::Delete
mov edx, dword [esi + 0x20]
push 0xffff0000
push 0
push 0x1101
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esi + 0x4c]
call sub.MFC42.DLL_CMapStringToString::RemoveAll
mov eax, dword [esi + 0x48]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push eax
call edi
test eax, eax
jle 0x416ea9
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov ecx, dword [esi + 0x48]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x48]
push edx
call edi
test eax, eax
jg 0x416e97
lea eax, [esi + 0x44]
test eax, eax
je 0x416eb3
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x1109
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, 0x57
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1a0]
mov edi, 0xffff0000
push 0x426404
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
call ebp
add esp, 8
test eax, eax
jne 0x416faf
lea edx, [esp + 0x10]
push edx
push eax
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x10]
push 0x109
lea eax, [esp + 0x30]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x416f5c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x48]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push edx
push 0xffffffffffffffff
push eax
call ebx
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push eax
push eax
push 0x426404
push 0x23
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::InsertItem
push 1
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CTreeCtrl::SetItem
mov edi, dword [esp + 0x24]
jmp 0x416fb5
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [esp + 0x1a0]
push 0x426404
push ecx
call ebp
add esp, 8
test eax, eax
je 0x416fe5
mov edx, dword [esp + 0x1a0]
push 0x427178
push edx
call ebp
add esp, 8
test eax, eax
jne 0x417066
push 0x101
lea eax, [esp + 0x30]
push 0x160
push eax
push 0
push str.::450D8FBA_AD25_11D0_98A8_0800361B1103
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x48]
push ecx
push 0xffffffffffffffff
push edx
call ebx
push 0xffff0002
push edi
push 0
push 0
push 0
push eax
push eax
push 0x427178
push 0x23
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov ebp, eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.00418bc0
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x19c], 4
call fcn.00417700
lea ecx, [esp + 0x28]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x1a0]
push 0x426404
push ecx
call ebp
add esp, 8
test eax, eax
je 0x417096
mov edx, dword [esp + 0x1a0]
push 0x42716c
push edx
call ebp
add esp, 8
test eax, eax
jne 0x417241
push 0x101
lea eax, [esp + 0x30]
push 0x160
push eax
push 0
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x48]
push ecx
push 0xffffffffffffffff
push edx
call ebx
push 0xffff0002
push edi
push 0
push 0
push 0
push eax
push eax
push 0x42716c
push 0x23
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::InsertItem
push 1
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CTreeCtrl::SetItem
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], ecx
je 0x417237
jmp 0x417135
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x101
lea ecx, [esp + 0x30]
push 0x160
push ecx
push 0
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x48]
push edx
push 0xffffffffffffffff
push eax
call ebx
push ebp
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0041befe
push 1
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 6
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4171db
mov eax, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
dec eax
push eax
call sub.MFC42.DLL_CString::Delete
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0xffff0002
push ecx
push 0
push 0
push 0
push edi
push edi
push edx
push 0x23
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::InsertItem
push eax
push ebp
mov ecx, esi
call fcn.00417700
mov eax, dword [esp + 0x28]
or ecx, 0xffffffff
mov byte [esp + 0x194], 2
lea ebp, [eax + ebp + 1]
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString
test edi, edi
ja 0x41712f
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x1a0]
push 0x426404
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4172b0
mov edx, dword [esp + 0x1a0]
push 0x427178
push edx
call ebp
add esp, 8
test eax, eax
je 0x4172b0
mov eax, dword [esp + 0x1a0]
push 0x42716c
push eax
call ebp
add esp, 8
test eax, eax
je 0x4172b0
push ecx
lea edx, [esp + 0x1a4]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00417400
push eax
mov eax, dword [esi + 0x20]
push 2
push 0x1102
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1a0]
push 0x426404
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x41730c
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00418ce0
mov eax, dword [eax]
push edi
push eax
mov ecx, esi
mov byte [esp + 0x19c], 7
call fcn.00417920
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0x1102
push eax
call edi
jmp 0x417312
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1a0]
push 0x427178
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x41733a
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
push edx
push 2
push 0x1102
push eax
call edi
mov ecx, dword [esp + 0x1a0]
push 0x426404
push ecx
call ebp
add esp, 8
test eax, eax
je 0x417366
mov edx, dword [esp + 0x1a0]
push 0x42716c
push edx
call ebp
add esp, 8
test eax, eax
jne 0x417378
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
push eax
push 2
push 0x1102
push ecx
call edi
mov edx, dword [esp + 0x1a4]
mov eax, dword [edx - 8]
test eax, eax
je 0x4173a1
push ecx
lea eax, [esp + 0x1a8]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00418200
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x194], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x194], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x194], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x188
ret 0x10