Function at 0x487a3e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb10
push ebx
xor ebx, ebx
cmp dword [ecx + 0x70], ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x487ac4
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x487ac4
mov ecx, dword [0x4b0550]
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
je 0x487dae
lea esi, [eax + 0x1c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [eax], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x487dae
lea eax, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetClipBox]
cmp eax, 2
jne 0x487acb
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x5c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x487acb
lea ecx, [ebp - 0x14]
call fcn.004038fb
xor eax, eax
jmp 0x487db8
push 4
call fcn.0049980e
push 7
mov dword [ebp - 0x1c], eax
call fcn.0049980e
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
test byte [esi + 0x10], 1
je 0x487b07
push 0xd
call fcn.0049980e
push 0xe
mov dword [ebp - 0x1c], eax
call fcn.0049980e
pop ecx
mov dword [ebp - 0x30], eax
pop ecx
mov dword [ebp - 0x10], 1
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x30c]
mov dword [ebp - 0x310], ebx
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x2c]
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x487b82
cmp dword [edi], 0x123fa
jne 0x487b82
cmp dword [ebp - 0x10], ebx
je 0x487b3c
mov ecx, dword [ebp - 4]
push edi
call fcn.00488111
lea esi, [edi + 0x20]
cmp esi, ebx
jne 0x487b47
xor eax, eax
jmp 0x487b4e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004039ec
push 0xc009
lea eax, [ebp - 0x310]
push 0x2b4
push eax
push ebx
push dword [edi + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x487bac
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0xc], eax
jmp 0x487bac
push ebx
push 0x40
push 0x100
lea ecx, [ebp - 0x14]
call fcn.00403c58
push eax
mov eax, dword [ebp - 4]
push dword [esi + 8]
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_GetMenuStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00403cd2
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 8]
call esi
mov edi, eax
push ebx
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push 2
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x48]
cmp esi, ebx
je 0x487cf2
mov eax, dword [0x4c7c1c]
lea ecx, [eax - 2]
cmp ecx, 0x10
jg 0x487bf4
push 0x10
pop ecx
mov eax, dword [ebp - 0x20]
push 0x2001
push dword [ebp - 0x30]
sub eax, ecx
sub eax, dword [ebp - 0x28]
push dword [ebp - 0x1c]
cdq
sub eax, edx
push ecx
sar eax, 1
add eax, dword [ebp - 0x28]
push ecx
push eax
push 2
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
cmp dword [ebp - 0x10], ebx
je 0x487cf2
cmp dword [0x4c7c10], ebx
je 0x487cf2
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xb0e]
mov word [ebp - 0xb10], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xb10]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0xb10]
lea ecx, [ebp - 4]
push eax
call fcn.0040a4e8
push 0x2e
push dword [ebp - 4]
call fcn.0049d3b2
pop ecx
cmp eax, ebx
pop ecx
jne 0x487c85
or esi, 0xffffffff
jmp 0x487c8c
sub eax, dword [ebp - 4]
sar eax, 1
mov esi, eax
lea ecx, [ebp - 4]
call fcn.00403cfb
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CharLowerW]
cmp esi, ebx
jl 0x487cea
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax - 8]
jge 0x487cea
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.004038b5
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ae6d
push 0x4b4358
lea ecx, [ebp - 0xc]
call fcn.00403927
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0049cec5
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push dword [ebp - 8]
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c7c1c]
cmp eax, ebx
jne 0x487d15
add dword [ebp - 0x2c], 0x14
sub dword [ebp - 0x24], 0xc
jmp 0x487d38
fild dword [ebp - 0x24]
fild dword [0x4c7c1c]
mov ecx, dword [ebp - 0x2c]
fmul qword [0x4aaf60]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x2c], eax
fsubp st(1)
call fcn.0049d7e0
mov dword [ebp - 0x24], eax
push 7
call fcn.0049980e
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
pop ecx
push eax
push dword [ebp - 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push 0x8824
push eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [0x4c7c1c], ebx
jne 0x487d9b
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
push 4
push str.JgXj
push dword [eax + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
fild dword [ebp - 0x30]
fmul qword [0x4ac030]
call fcn.0049d7e0
mov dword [0x4c7c1c], eax
push dword [ebp - 0x18]
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
push dword [ebp - 8]
call edi
push 1
pop ebx
lea ecx, [ebp - 0x14]
call fcn.004038fb
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8