Function at 0x406de0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x41501c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push 0x3f2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40713f
push 0x406da0
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x415574], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x110
push 0x2b4
lea ecx, [ebp - 0x2c8]
push ecx
push 0x80
push str.file.txt
mov dword [esi + 0x28], eax
call ebx
mov edx, dword [ebp - 0x2c8]
mov eax, dword [esi + 0x28]
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x110
push 0x2b4
lea ecx, [ebp - 0x2c8]
push ecx
push 0x80
push str.file.dmp
call ebx
mov edx, dword [ebp - 0x2c8]
mov eax, dword [esi + 0x28]
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea ecx, [ebp - 0x2f8]
push ecx
push eax
push 0x1061
mov dword [ebp - 0x2ec], eax
push edi
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2f8], 4
mov dword [ebp - 0x2ec], str.name
call ebx
mov edx, dword [esi + 0x28]
push edx
push 0
push 0x1003
push edi
call ebx
lea ecx, [esi + 0x2c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
test eax, eax
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jle 0x407032
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push 0x2f
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
add eax, 1
push eax
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
push eax
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 1
call dword [0x40f120]
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0
call ebx
push 0x5c
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
add eax, 1
push eax
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
push eax
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 2
call dword [0x40f120]
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0
call ebx
push 0x30
lea edx, [ebp - 0x35c]
push 0
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x360], 3
mov dword [ebp - 0x35c], 0
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x360]
push eax
push 0
push 0x104d
push edi
mov dword [ebp - 0x344], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 4], 0xffffffff
call ebx
add esi, 0x30
mov ecx, esi
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
test eax, eax
jle 0x40713f
push esi
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push 0x2f
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 3
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
add eax, 1
push eax
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
mov byte [ebp - 4], 4
mov esi, dword [reloc.Common.dll___4CTXStringW__QAEAAV0_ABV0__Z]
push eax
lea ecx, [ebp - 0x2cc]
call esi
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 3
call ebx
push 0x5c
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
add eax, 1
push eax
lea edx, [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
push eax
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 3
call ebx
push 0x30
lea eax, [ebp - 0x328]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, 1
add esp, 0xc
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x32c], 3
mov dword [ebp - 0x328], esi
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [ebp - 0x32c]
push ecx
push 0
push 0x104d
push edi
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x310], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 0xffffffff
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c926
mov esp, ebp
pop ebp
ret