Function at 0x4140b0
Capabilities:
Get disk information
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x41e337
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x80]
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [esp + 0x1bc]
lea ecx, [esp + 0x10]
push ebp
mov ebx, eax
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x1c0]
mov dword [esp + 0x1b4], 0
test edi, edi
je 0x414128
push 0x425850
lea ecx, [esp + 0x14]
call fcn.004193de
push edi
lea ecx, [esp + 0x14]
call fcn.004193de
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push 2
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 1
call sub.MFC42.DLL_CString::Left
push 0x4256d0
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x1c0], 2
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b4], 2
call fcn.004193cc
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 1
call fcn.004193cc
mov eax, dword [esi + 0xb8]
mov edi, dword [esp + 0x1c4]
test dword [eax + 0x4ec], 0x20000
jne 0x4141f0
cmp edi, 4
je 0x4141c4
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x4141f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 0
call fcn.004193cc
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.004193cc
mov eax, ebx
jmp 0x414383
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x28], ebx
cmp ecx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edi
je 0x41422d
mov dword [esp + 0x24], 0xf0f
mov dword [esp + 0x30], 0x100
cmp dword [esp + 0x1cc], eax
jne 0x41423a
cmp ebx, eax
jne 0x414244
mov eax, dword [esp + 0x30]
or al, 1
mov dword [esp + 0x30], eax
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
push 0x4256d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], 4
call fcn.004193de
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4142bb
mov ecx, dword [esp + 0x18]
push 0x4001
lea eax, [esp + 0x50]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4142bb
mov edx, dword [esp + 0x50]
push 0
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov ebp, eax
mov eax, dword [esi + 0xc0]
push ebp
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebp
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x414321
cmp edi, 3
jne 0x4142ca
mov dword [esp + 0x40], 0xa
jmp 0x414321
cmp edi, 4
jne 0x4142d9
mov dword [esp + 0x40], 1
jmp 0x414321
cmp edi, 2
jne 0x4142e8
mov dword [esp + 0x40], 8
jmp 0x414321
cmp edi, 5
jne 0x4142f7
mov dword [esp + 0x40], 2
jmp 0x414321
cmp edi, 6
jne 0x414306
mov dword [esp + 0x40], 0xb
jmp 0x414321
test edi, edi
jne 0x414314
mov dword [esp + 0x40], 5
jmp 0x414321
cmp edi, 1
jne 0x414321
mov dword [esp + 0x40], 0
mov edx, dword [esi + 0x80]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x1007
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
mov eax, dword [esi + edi*4 + 0xc4]
inc eax
lea ecx, [esp + 0x18]
mov dword [esi + edi*4 + 0xc4], eax
mov byte [esp + 0x1b4], 1
call fcn.004193cc
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 0
call fcn.004193cc
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.004193cc
mov eax, ebp
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret 0x14