Function at 0x59d260
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd18
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00406bec
xor eax, eax
push ebp
push 0x59d484
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00404b00
mov esi, eax
lea eax, [ebp - 0x2d8]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404a64
cmp dword [ebp + 0x20], 0
je 0x59d31d
cmp dword [ebp - 0x10], 0
je 0x59d31d
mov dl, 1
mov eax, dword [ebp + 0x20]
call fcn.0041e7e0
test al, al
jne 0x59d2d3
mov eax, dword [ebp + 0x20]
call fcn.0059d23c
test al, al
je 0x59d2f6
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.0040769c
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x59d317
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.0040769c
push eax
call sub.shell32.dll_SHGetFileInfoW
mov esi, dword [ebp - 0x2d4]
cmp byte [ebp + 0x1c], 0
je 0x59d344
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0x59d494
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
jmp 0x59d363
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0x59d494
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call sub.comctl32.dll_ImageList_GetIconSize
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
test bl, bl
je 0x59d3af
cmp byte [ebp + 0x14], 0
jne 0x59d3af
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004617d4
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x59d46e
mov dl, 1
mov eax, dword [0x45d114]
call fcn.004667b0
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x59d467
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004670d0
call fcn.004617d4
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2e4], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.0040496c
add eax, dword [ebp - 8]
mov dword [ebp - 0x2e0], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.0040496c
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2e8]
mov eax, dword [ebp - 4]
call fcn.0059d160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d46e
mov eax, dword [ebp - 0x1c]
call fcn.00405080
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d48b
lea eax, [ebp + 0x20]
call fcn.00406b08
ret