Function at 0x490080
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x14dc
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x14d8], eax
cmp byte [0x538309], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, str.ArcSort
jne 0x4900b1
mov eax, str.FileSort
push 0
push eax
push str.FileList
call fcn.00499a90
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
and al, 0x1f
cmp al, 2
jne 0x49022f
mov edx, dword [esi]
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
push eax
push 0x104b
push edx
xor ebp, ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 4
call edi
test eax, eax
je 0x49022f
lea esp, [esp]
mov eax, dword [esp + 0x64]
push eax
mov ecx, 0x5648c8
call fcn.0048d3c0
mov dword [eax + 4], ebp
movzx edx, byte [0x538309]
xor ecx, ecx
mov word [esp + 0x1448], cx
lea ecx, [esp + 0x78]
push ecx
add edx, 2
push ebp
mov dword [esp + 0x88], edx
mov edx, dword [esi]
push 0x1073
lea eax, [esp + 0x1454]
push edx
mov dword [esp + 0xa0], 0x50
mov dword [esp + 0x9c], eax
call edi
cmp word [esp + 0x1448], 0
jne 0x490201
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x364]
push ecx
mov ecx, 0x5648c8
call fcn.0048d4f0
mov eax, dword [esp + 0x13f8]
push 0x410
push 0x2b4
lea edx, [esp + 0xb4]
push edx
push eax
lea ecx, [esp + 0x370]
push ecx
call fcn.00451a10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x490201
cmp word [esp + 0x2c0], 0
jne 0x4901d2
push 0x50
lea edx, [esp + 0x2c4]
push edx
lea eax, [esp + 0x368]
push eax
mov ecx, esi
call fcn.0048e3d0
movzx ecx, byte [0x538309]
lea eax, [esp + 0x78]
push eax
add ecx, 2
push ebp
mov dword [esp + 0x88], ecx
mov ecx, dword [esi]
push 0x1074
lea edx, [esp + 0x2cc]
push ecx
mov dword [esp + 0x9c], edx
call edi
mov eax, dword [esi]
lea edx, [esp + 0x44]
push edx
push 0
push 0x104b
inc ebp
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 4
call edi
test eax, eax
jne 0x490100
push 1
push str.ArchivesFirst
push str.FileList
call fcn.00499a90
test eax, eax
je 0x490247
or ebx, 0x40
push 0
push str.FlatView
push str.FileList
call fcn.00499a90
test eax, eax
je 0x490262
or ebx, 0x80
mov ecx, dword [esi]
push 0x48f560
push ebx
push 0x1030
push ecx
call edi
cmp dword [esi + 4], 0
je 0x4903bf
mov eax, ebx
shr eax, 5
and ebx, 0x1f
and al, 1
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], al
or ebx, 0xffffffff
xor ecx, ecx
xor eax, eax
jmp 0x4902a0
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x513b24], edx
je 0x4902b9
add eax, 0x1c
inc ecx
cmp eax, 0xc4
jb 0x4902a0
jmp 0x4902c9
lea eax, [ecx*8]
sub eax, ecx
mov ebx, dword [eax*4 + 0x513b20]
mov ecx, dword [esi]
push 0
push ebx
push 0x108c
push ecx
call edi
mov dword [esp + 0x18], 4
xor ebp, ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push ebp
push 0x120b
push eax
call edi
test eax, eax
je 0x490320
test dword [esp + 0x2c], 0xe00
jne 0x490307
inc ebp
cmp ebp, 0x10
jl 0x4902e0
jmp 0x490320
mov edx, dword [esi + 4]
and dword [esp + 0x2c], 0xffffe1ff
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0x120c
push edx
call edi
call fcn.00446760
cmp eax, 0x600
jb 0x49036f
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ebx
push 0x120b
push ecx
mov dword [esp + 0x28], 4
call edi
movzx edx, byte [esp + 0x13]
mov ecx, dword [esi + 4]
neg edx
sbb edx, edx
lea eax, [esp + 0x18]
push eax
and edx, 0xfffffe00
push ebx
add edx, 0x400
or dword [esp + 0x34], edx
push 0x120c
push ecx
jmp 0x4903bd
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push 0
push 0x1208
push eax
mov dword [esp + 0x28], 0x24
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x120b
push edx
call edi
or dword [esp + 0x2c], 0x1800
mov edx, dword [esi + 4]
xor eax, eax
cmp byte [esp + 0x13], al
lea ecx, [esp + 0x18]
setne al
push ecx
push ebx
push 0x120c
push edx
mov dword [esp + 0x44], eax
call edi
mov ecx, dword [esp + 0x14e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x14dc
ret