Function at 0x5afddc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd24
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b0034
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x470]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.005afaf0
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 0x3ec]
mov eax, dword [eax + 0x2ac]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x470]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 8], 0x4001
mov eax, dword [ebp - 8]
push eax
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
push 0x5b0044
call sub.shell32.dll_SHGetFileInfoW
mov edx, eax
mov eax, dword [ebx + 0x474]
call fcn.00495c5c
mov dl, 1
mov eax, dword [ebx + 0x474]
call fcn.00495bd8
lea eax, [ebp - 4]
call fcn.0055ee50
mov eax, dword [ebp - 4]
test eax, eax
je 0x5afea1
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5aff6e
mov dword [ebp - 0x14], eax
mov esi, 1
mov eax, dword [ebp - 8]
or eax, 0x200
push eax
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
lea eax, [ebp - 0x2cc]
mov edx, dword [ebp - 4]
movzx edx, word [edx + esi*2 - 2]
call fcn.004076ac
lea eax, [ebp - 0x2cc]
mov edx, 0x5b0054
call fcn.00407898
mov eax, dword [ebp - 0x2cc]
call fcn.0040769c
push eax
call sub.shell32.dll_SHGetFileInfoW
lea eax, [ebp - 0x2d4]
lea edx, [ebp - 0x2bc]
mov ecx, 0x104
call fcn.00407740
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 0x2d0]
call fcn.0041d8e4
mov edx, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x3ec]
mov eax, dword [eax + 0x2ac]
mov ecx, dword [ebp - 0x2c4]
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x2d8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + esi*2 - 2]
call fcn.004076ac
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebx + 0x470]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x14]
jne 0x5afeb1
cmp word [ebp - 0xa], 0
jbe 0x5affa7
lea eax, [ebp - 0x2dc]
movzx edx, word [ebp - 0xa]
call fcn.004076ac
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebx + 0x470]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebx + 0x3ec]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
jmp 0x5affc6
mov eax, dword [ebx + 0x470]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5affc6
xor edx, edx
mov eax, dword [ebx + 0x3ec]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov eax, dword [ebx + 0x470]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
sete dl
mov eax, dword [ebx + 0x3a8]
call fcn.0047d8e8
cmp dword [ebp - 0x10], 0
jne 0x5b0005
mov eax, dword [ebx + 0x470]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x5b0005
xor edx, edx
mov eax, dword [ebx + 0x3ec]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov edx, ebx
mov eax, ebx
call fcn.005b005c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b003b
lea eax, [ebp - 0x2dc]
mov edx, 5
call fcn.00406b68
lea eax, [ebp - 4]
call fcn.00406b08
ret