Function at 0x492940
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x14dc
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x14d8], eax
cmp byte [0x53d329], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, str.ArcSort
jne 0x492971
mov eax, str.FileSort
push 0
push eax
push str.FileList
call fcn.0049c560
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
and al, 0x1f
cmp al, 2
jne 0x492af2
mov edx, dword [esi + 0x28]
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 0x492af2
lea ecx, [ecx]
mov eax, dword [esp + 0x64]
push eax
mov ecx, 0x569928
call fcn.0048faf0
mov dword [eax + 4], ebp
movzx edx, byte [0x53d329]
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 + 0x28]
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 0x492ac3
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x364]
push ecx
mov ecx, 0x569928
call fcn.0048fc20
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.004534c0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x492ac3
cmp word [esp + 0x2c0], 0
jne 0x492a93
push 0x50
lea edx, [esp + 0x2c4]
push edx
lea eax, [esp + 0x368]
push eax
mov ecx, esi
call fcn.00490b20
movzx ecx, byte [0x53d329]
lea eax, [esp + 0x78]
push eax
add ecx, 2
push ebp
mov dword [esp + 0x88], ecx
mov ecx, dword [esi + 0x28]
push 0x1074
lea edx, [esp + 0x2cc]
push ecx
mov dword [esp + 0x9c], edx
call edi
mov eax, dword [esi + 0x28]
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 0x4929c0
push 1
push str.ArchivesFirst
push str.FileList
call fcn.0049c560
test eax, eax
je 0x492b0a
or ebx, 0x40
push 0
push str.FlatView
push str.FileList
call fcn.0049c560
test eax, eax
je 0x492b25
or ebx, 0x80
mov ecx, dword [esi + 0x28]
push 0x491e20
push ebx
push 0x1030
push ecx
call edi
cmp dword [esi + 0x2c], 0
je 0x492c94
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
lea esp, [esp]
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x517b34], edx
je 0x492b79
add eax, 0x1c
inc ecx
cmp eax, 0xc4
jb 0x492b60
jmp 0x492b89
lea eax, [ecx*8]
sub eax, ecx
mov ebx, dword [eax*4 + 0x517b30]
mov ecx, dword [esi + 0x28]
push 0
push 0
push 0x1000
push ecx
call edi
test eax, 0xffffff
je 0x492bad
mov edx, dword [esi + 0x28]
push 0
push ebx
push 0x108c
push edx
call edi
mov dword [esp + 0x18], 4
xor ebp, ebp
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x18]
push eax
push ebp
push 0x120b
push ecx
call edi
test eax, eax
je 0x492bf7
test dword [esp + 0x2c], 0xe00
jne 0x492bde
inc ebp
cmp ebp, 0x10
jl 0x492bb7
jmp 0x492bf7
mov eax, dword [esi + 0x2c]
and dword [esp + 0x2c], 0xffffe1ff
lea edx, [esp + 0x18]
push edx
push ebp
push 0x120c
push eax
call edi
call fcn.00447ef0
cmp eax, 0x600
jb 0x492c44
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x120b
push edx
mov dword [esp + 0x28], 4
call edi
movzx eax, byte [esp + 0x13]
mov edx, dword [esi + 0x2c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
push ecx
and eax, 0xfffffe00
push ebx
add eax, 0x400
or dword [esp + 0x34], eax
push 0x120c
push edx
jmp 0x492c92
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
push eax
push 0
push 0x1208
push ecx
mov dword [esp + 0x28], 0x24
call edi
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x18]
push edx
push ebx
push 0x120b
push eax
call edi
or dword [esp + 0x2c], 0x1800
mov eax, dword [esi + 0x2c]
xor ecx, ecx
cmp byte [esp + 0x13], cl
lea edx, [esp + 0x18]
setne cl
push edx
push ebx
push 0x120c
push eax
mov dword [esp + 0x44], ecx
call edi
mov ecx, dword [esp + 0x14e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6b3a
add esp, 0x14dc
ret