Function at 0x40cb50
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x448d59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
mov eax, dword [0x468a18]
push ebx
push ebp
push esi
mov dword [esp + 0x31c], eax
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x32c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
mov eax, dword [esi + 0x9c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1004
push eax
mov byte [esp + 0x33c], 1
call ebp
mov ebx, eax
test ebx, ebx
jle 0x40cc0e
push 3
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x7c]
call sub.MFC71U.DLL_COleClientItem::GetItemStorageFlat
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x32c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp + 0x334]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
je 0x40ce32
inc edi
cmp edi, ebx
jl 0x40cbb4
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
push 0x4c00
mov dword [esp + 0x38], edx
push 0x2b4
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
lea eax, [esp + 0x74]
push eax
push edx
push edx
lea ecx, [esp + 0x348]
mov dword [esp + 0x54], edx
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 1
push 0
lea ecx, [esp + 0x33c]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x20]
push ecx
call fcn.004264d0
add esp, 0xc
mov edi, dword [esp + 0x338]
lea ecx, [esp + 0x18]
mov byte [esp + 0x32c], 3
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esi + 0x9c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104d
push ecx
mov dword [esp + 0x48], edx
call ebp
mov edx, dword [esi + 0x9c]
push 0
push edi
push 0x1013
push edx
call ebp
mov eax, dword [esp + 0x33c]
mov edx, dword [esi + 0x9c]
lea ecx, [esp + 0x44]
push ecx
push edi
inc eax
push 0x102b
shl eax, 0xc
push edx
mov dword [esp + 0x64], 0xf000
mov dword [esp + 0x60], eax
call ebp
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40cda1
push eax
lea ecx, [esp + 0x338]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esi + 0xd7c]
call fcn.00408b10
lea ecx, [esp + 0x10]
mov ebx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
cmp ebx, 0xffffffff
mov byte [esp + 0x32c], 4
je 0x40cd66
test ebx, ebx
je 0x40cd62
cmp ebx, 1
jne 0x40cd75
push 0x72
jmp 0x40cd6b
push 0x65
jmp 0x40cd6b
push 0x124
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_CWinApp::LoadStdProfileSettings]
lea ecx, [esp + 0x10]
lea ebx, [esi + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 1
push edi
mov ecx, ebx
call sub.MFC71U.DLL_CTabCtrl::SetItemState
lea ecx, [esp + 0x10]
mov byte [esp + 0x32c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
jmp 0x40cdb3
push 0x44f7f4
push 1
lea ebx, [esi + 0x7c]
push edi
mov ecx, ebx
call sub.MFC71U.DLL_CTabCtrl::SetItemState
lea ecx, [esp + 0x280]
push ecx
push 2
push edi
mov ecx, ebx
call sub.MFC71U.DLL_CTabCtrl::SetItemState
push 0
lea ecx, [esp + 0x338]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
push 3
push edi
mov ecx, ebx
call sub.MFC71U.DLL_CTabCtrl::SetItemState
mov edx, dword [esi + 0xd78]
push 0
inc edx
push 1
mov dword [esi + 0xd78], edx
mov edx, dword [esi + 0x9c]
push 0xb
push edx
call ebp
mov eax, dword [esi + 0x9c]
push 0xfffe
push 3
push 0x101e
push eax
call ebp
mov ecx, dword [esi + 0x9c]
push 0
push 0
push 0x1004
push ecx
call ebp
lea ecx, [esp + 0x18]
mov dword [esi + 0xd78], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp + 0x334]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x320]
call fcn.0043cfa9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x320
ret 0xc