Function at 0x606220
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov dword [ebp - 4], eax
mov eax, 0x787f80
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
test eax, eax
je 0x6063ca
lea ecx, [ebp - 0x198]
lea edx, [ebp - 0x1b0]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x6063b0
push 0x2d7
push dword [ebp - 8]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x174], eax
test eax, eax
je 0x60628b
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
jmp 0x606295
mov dword [ebp - 0x178], 0
push 0x294
push dword [ebp - 8]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x174], eax
test eax, eax
je 0x6062ba
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
jmp 0x6062c4
mov dword [ebp - 0x17c], 0
mov eax, dword [0x7cf050]
cmp eax, 2
jne 0x6063b0
cmp dword [ebp - 0x17c], 0
je 0x6063b0
cmp dword [ebp - 0x178], 0
je 0x6063b0
push 0
mov eax, dword [ebp - 0x17c]
call eax
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x170]
push eax
push 0x787f70
push 4
mov eax, dword [ebp - 0x178]
call eax
cmp dword [ebp - 0x170], 0
je 0x606353
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x170]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
call sub.comctl32.dll_ImageList_GetImageCount
mov dword [ebp - 0x180], eax
test eax, eax
jne 0x606353
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x170]
push eax
push 0x787f70
push 2
mov eax, dword [ebp - 0x178]
call eax
cmp dword [ebp - 0x170], 0
je 0x6063b0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x170]
mov dword [eax + 0xb8], edx
mov eax, dword [ebp - 4]
push dword [eax + 0xb8]
call sub.comctl32.dll_ImageList_GetImageCount
mov dword [ebp - 0x184], eax
test eax, eax
jne 0x6063b0
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0
call fcn.0040d3b0
push dword [ebp - 8]
call sub.kernel32.dll_FreeLibrary
pop eax
test eax, eax
je 0x6063ca
dec eax
test eax, eax
call fcn.0040d520
lea ecx, [ebp - 0x198]
lea edx, [ebp - 0x1b0]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x606486
push 0x4000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, 0x787f8c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 4]
push dword [eax + 0xbc]
call sub.comctl32.dll_ImageList_GetImageCount
mov dword [ebp - 0x188], eax
test eax, eax
jne 0x60643a
mov eax, dword [ebp - 4]
mov dword [eax + 0xbc], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, 0x787f8c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], eax
mov eax, dword [ebp - 4]
push dword [eax + 0xbc]
call sub.comctl32.dll_ImageList_GetImageCount
mov dword [ebp - 0x18c], eax
test eax, eax
jne 0x606486
mov eax, dword [ebp - 4]
mov dword [eax + 0xc0], 0
call fcn.0040d3b0
pop eax
test eax, eax
je 0x6064dd
mov eax, 0xffffffff
call fcn.0040d580
lea ecx, [ebp - 0x1c0]
lea edx, [ebp - 0x1d8]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x6064ba
call fcn.0040d3b0
pop eax
test eax, eax
je 0x6064d3
call fcn.0040d490
call fcn.0040d5e0
call fcn.0040d520
call fcn.0040d3f0
call fcn.0040d5e0
leave
ret