Function at 0x487498
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 0x48751e
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x48751e
mov ecx, dword [0x4af550]
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 0x487808
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 0x487808
lea eax, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetClipBox]
cmp eax, 2
jne 0x487525
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 0x487525
lea ecx, [ebp - 0x14]
call fcn.004038fb
xor eax, eax
jmp 0x487812
push 4
call fcn.004992c1
push 7
mov dword [ebp - 0x1c], eax
call fcn.004992c1
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
test byte [esi + 0x10], 1
je 0x487561
push 0xd
call fcn.004992c1
push 0xe
mov dword [ebp - 0x1c], eax
call fcn.004992c1
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 0x4875dc
cmp dword [edi], 0x123fa
jne 0x4875dc
cmp dword [ebp - 0x10], ebx
je 0x487596
mov ecx, dword [ebp - 4]
push edi
call fcn.00487b54
lea esi, [edi + 0x20]
cmp esi, ebx
jne 0x4875a1
xor eax, eax
jmp 0x4875a8
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 0x487606
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0xc], eax
jmp 0x487606
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 0x48774c
mov eax, dword [0x4c6b34]
lea ecx, [eax - 2]
cmp ecx, 0x10
jg 0x48764e
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 0x48774c
cmp dword [0x4c6b28], ebx
je 0x48774c
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.0040a529
push 0x2e
push dword [ebp - 4]
call fcn.0049ce62
pop ecx
cmp eax, ebx
pop ecx
jne 0x4876df
or esi, 0xffffffff
jmp 0x4876e6
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 0x487744
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax - 8]
jge 0x487744
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.004038b5
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040aeae
push 0x4b3358
lea ecx, [ebp - 0xc]
call fcn.00403927
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0049c975
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 [0x4c6b34]
cmp eax, ebx
jne 0x48776f
add dword [ebp - 0x2c], 0x14
sub dword [ebp - 0x24], 0xc
jmp 0x487792
fild dword [ebp - 0x24]
fild dword [0x4c6b34]
mov ecx, dword [ebp - 0x2c]
fmul qword [0x4a9f50]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x2c], eax
fsubp st(1)
call fcn.0049d290
mov dword [ebp - 0x24], eax
push 7
call fcn.004992c1
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 [0x4c6b34], ebx
jne 0x4877f5
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 [0x4ab020]
call fcn.0049d290
mov dword [0x4c6b34], 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