Function at 0x58a253
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x679230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3b4], 0
push 0x226
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxshelllistctrl.cpp
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.00436a30
xor ecx, ecx
cmp dword [ebp + 0x14], 0
setne cl
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 0
jne 0x58a1cf
push 0x227
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxshelllistctrl.cpp
call fcn.00425be0
test eax, eax
je 0x58a1cf
int3
cmp dword [ebp - 0x280], 0
jne 0x58a1dd
call fcn.004259c0
xor eax, eax
jne 0x58a1a3
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3bc], ecx
cmp dword [ebp - 0x3bc], 3
ja case.default.0x58a1fd
mov edx, dword [ebp - 0x3bc]
jmp dword [edx*4 + 0x58a3e4]
push 0x208
push 0x160
lea eax, [ebp - 0x27c]
push eax
push 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x58a24e
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402250
mov ecx, dword [ebp - 0x3b4]
or ecx, 1
mov dword [ebp - 0x3b4], ecx
mov eax, dword [ebp + 8]
jmp 0x58a3c9
jmp 0x58a3aa
push 0x408
push 0x160
lea edx, [ebp - 0x27c]
push edx
push 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x58a29d
lea edx, [ebp - 0x16c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402250
mov eax, dword [ebp - 0x3b4]
or eax, 1
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp + 8]
jmp 0x58a3c9
jmp 0x58a3aa
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x58a390
lea ecx, [ebp - 0x3ac]
call fcn.0043b800
push 0
lea ecx, [ebp - 0x3ac]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.0050e040
test eax, eax
je 0x58a390
lea ecx, [ebp - 0x3b0]
call fcn.004021d0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 1
jne 0x58a337
movzx eax, byte [ebp - 0x38c]
and eax, 0x18
jne 0x58a335
lea ecx, [ebp - 0x3b0]
push ecx
mov edx, dword [ebp - 0x390]
push edx
mov eax, dword [ebp - 0x394]
push eax
mov ecx, dword [ebp - 0x3b8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3b8]
mov eax, dword [edx + 0x1a4]
call eax
jmp 0x58a35b
lea ecx, [ebp - 0x3b0]
push ecx
lea edx, [ebp - 0x3a4]
push edx
mov eax, dword [ebp - 0x3b8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3b8]
mov eax, dword [edx + 0x1a8]
call eax
lea ecx, [ebp - 0x3b0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401900
mov edx, dword [ebp - 0x3b4]
or edx, 1
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b0]
call fcn.00402180
mov eax, dword [ebp + 8]
jmp 0x58a3c9
jmp 0x58a3aa
xor eax, eax
jne 0x58a3aa
push 0x257
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxshelllistctrl.cpp
call fcn.00425be0
test eax, eax
je 0x58a3aa
int3
push 0x657d63
mov ecx, dword [ebp + 8]
call fcn.00402250
mov edx, dword [ebp - 0x3b4]
or edx, 1
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d8cf0
mov esp, ebp
pop ebp
ret 0x10