Function at 0x4cf8c0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4f93cb
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x590], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x5a8]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x5bc]
or eax, 0xffffffff
xor ecx, ecx
movzx edx, word [esi]
test dx, dx
je 0x4cf923
cmp dx, 0x2e
movzx edx, word [esi + ecx*2 + 2]
cmove eax, ecx
inc ecx
test dx, dx
jne 0x4cf911
mov ebx, dword [esp + 0x5b8]
test bl, 0x10
jne 0x4cfa82
test eax, eax
js 0x4cfa82
lea eax, [esi + eax*2]
mov dword [esp + 0x1c], 0
lea esi, [eax + 2]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov edx, esi
push eax
lea ecx, [edi + 0xc]
call fcn.004cf7b0
mov ecx, eax
test ecx, ecx
js 0x4cf970
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0xc]
jmp 0x4cfb16
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
je 0x4cf9da
lea ebx, [ebx]
add eax, 0xffffffd0
cmp ax, 9
ja 0x4cf994
movzx eax, word [esi + ecx*2 + 2]
inc ecx
test ax, ax
jne 0x4cf980
test ecx, ecx
je 0x4cf9da
cmp word [esi + ecx*2], 0
jne 0x4cf9da
cmp dword [edi + 0x1c], 0
jne 0x4cf9d2
push 0x4010
push 0x2b4
lea eax, [esp + 0x3c]
push eax
push 0x80
push str.__FILE__.001
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], 1
mov eax, dword [edi + 0x18]
jmp 0x4cfb16
push 8
mov dword [esp + 0x28], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4cfa03
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 3
mov word [eax], cx
mov dword [esp + 0x5b0], ecx
lea ecx, [esp + 0x24]
push esi
call fcn.00412850
push 0x4010
push 0x2b4
lea eax, [esp + 0x3c]
or ebx, 0x80
push eax
push ebx
push dword [esp + 0x30]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x20]
lea ecx, [edi + 0xc]
mov dword [esp + 0x38], esi
call fcn.004cfb40
mov dword [esp + 0x5b0], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
jmp 0x4cfb14
mov ecx, dword [edi + 4]
xor edx, edx
test ecx, ecx
je 0x4cfaaa
mov ebp, dword [edi]
lea ecx, [ecx]
lea eax, [ecx + edx]
shr eax, 1
mov esi, dword [ebp + eax*8]
cmp ebx, esi
je 0x4cfaae
jae 0x4cfaa3
mov ecx, eax
jmp 0x4cfaa6
lea edx, [eax + 1]
cmp edx, ecx
jne 0x4cfa90
mov ebp, edx
jmp 0x4cfaba
test eax, eax
js 0x4cfab8
mov eax, dword [ebp + eax*8 + 4]
jmp 0x4cfb16
xor ebp, ebp
push 0x4010
push 0x2b4
lea eax, [esp + 0x2f4]
push eax
mov eax, ebx
or eax, 0x80
push eax
push str.__DIR__
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [esp + 0x2f0]
mov ecx, edi
call fcn.00424120
mov eax, dword [edi]
lea ecx, [eax + ebp*8]
mov eax, dword [edi + 4]
sub eax, ebp
shl eax, 3
push eax
push ecx
add ecx, 8
push ecx
call fcn.004dfa50
mov ecx, dword [edi]
add esp, 0xc
mov dword [ecx + ebp*8], ebx
mov dword [ecx + ebp*8 + 4], esi
inc dword [edi + 4]
mov eax, esi
mov ecx, dword [esp + 0x5a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x590]
xor ecx, esp
call fcn.004df96c
add esp, 0x5a0
ret 8