Function at 0x52c3d4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040484c
xor eax, eax
push ebp
push 0x52c9df
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x52c9fc
call fcn.004049a0
dec eax
jne 0x52c43b
mov byte [ebp - 0xd], 0
jmp 0x52c9ac
mov byte [ebp - 0x29], 0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 4], 0
je 0x52c6f2
push 0x4001
push 0x160
lea eax, [ebp - 0x2f8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x52c4be
push 0x20
mov eax, dword [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x52c4be
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x52c4b1
mov dl, 1
mov eax, dword [0x428e94]
call fcn.00430adc
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
call fcn.00430eac
push 0x4000
push 0x160
lea eax, [ebp - 0x2f8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x52c532
push 0x20
mov eax, dword [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x52c532
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x52c51c
mov dl, 1
mov eax, dword [0x428e94]
call fcn.00430adc
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
call fcn.00430eac
mov byte [ebp - 0xd], 1
jmp 0x52c9ac
lea edx, [ebp - 0x300]
mov eax, dword [ebp - 4]
call fcn.0040a1d8
mov eax, dword [ebp - 0x300]
lea edx, [ebp - 0x2fc]
call fcn.00409098
mov eax, dword [ebp - 0x2fc]
mov edx, 0x52ca08
call fcn.004047a8
jne 0x52c592
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0052c1ac
cmp dword [ebp - 0x20], 0
je 0x52c592
mov eax, dword [ebp - 0x20]
call fcn.00409db4
test al, al
je 0x52c592
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x20]
call fcn.00404424
mov byte [ebp - 0x29], 0
lea edx, [ebp - 0x308]
mov eax, dword [ebp - 4]
call fcn.0040a1d8
mov eax, dword [ebp - 0x308]
lea edx, [ebp - 0x304]
call fcn.00409098
mov eax, dword [ebp - 0x304]
mov edx, 0x52ca18
call fcn.004047a8
jne 0x52c6f2
xor eax, eax
push ebp
push 0x52c6da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
call fcn.0052bfb0
xor eax, eax
push ebp
push 0x52c622
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
call sub.shell32.dll_ExtractIconExA
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c629
mov eax, dword [ebp - 0x30]
call fcn.0052c044
ret
cmp byte [ebp - 0x29], 0
jne 0x52c9a8
xor eax, eax
push ebp
push 0x52c993
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x52c71d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52c9ac
xor eax, eax
mov dword [ebp - 0x198], eax
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp + 0xc], 0
je 0x52c74f
push 0x4109
push 0x160
lea eax, [ebp - 0x198]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x198], 0
jne 0x52c7dd
call fcn.0052ca20
test al, al
je 0x52c7dd
lea eax, [ebp - 0x30]
call fcn.0052bfb0
xor eax, eax
push ebp
push 0x52c7d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
je 0x52c79f
push 0x109
push 0x160
lea eax, [ebp - 0x198]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x52c7c0
push 0x101
push 0x160
lea eax, [ebp - 0x198]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
call sub.shell32.dll_SHGetFileInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c7dd
mov eax, dword [ebp - 0x30]
call fcn.0052c044
ret
cmp dword [ebp - 0x198], 0
jbe 0x52c856
cmp dword [ebp + 0xc], 0
je 0x52c835
cmp dword [ebp - 0x34], 0
je 0x52c856
push 0x20
mov eax, dword [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x52c856
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x52c826
mov dl, 1
mov eax, dword [0x428e94]
call fcn.00430adc
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
call fcn.00430eac
jmp 0x52c856
mov dl, 1
mov eax, dword [0x428e94]
call fcn.00430adc
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x198]
call fcn.00430eac
cmp dword [ebp - 4], 0
je 0x52c989
xor eax, eax
mov dword [ebp - 0x198], eax
cmp dword [ebp + 0xc], 0
cmp dword [ebp - 0x198], 0
jne 0x52c8ff
call fcn.0052ca20
test al, al
je 0x52c8ff
lea eax, [ebp - 0x30]
call fcn.0052bfb0
xor eax, eax
push ebp
push 0x52c8f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
je 0x52c8c1
push 0x4100
push 0x160
lea eax, [ebp - 0x198]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x52c8e2
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x198]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
call sub.shell32.dll_SHGetFileInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c8ff
mov eax, dword [ebp - 0x30]
call fcn.0052c044
ret
cmp dword [ebp - 0x198], 0
jne 0x52c919
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52c9ac
cmp dword [ebp + 0xc], 0
je 0x52c968
cmp dword [ebp - 0x34], 0
je 0x52c989
push 0x20
mov eax, dword [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x52c989
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x52c959
mov dl, 1
mov eax, dword [0x428e94]
call fcn.00430adc
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
call fcn.00430eac
jmp 0x52c989
mov dl, 1
mov eax, dword [0x428e94]
call fcn.00430adc
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x198]
call fcn.00430eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52c9a8
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c9e6
lea eax, [ebp - 0x308]
mov edx, 4
call fcn.004043b0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004043b0
lea eax, [ebp - 4]
call fcn.0040438c
ret