Function at 0x492840
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x14dc
call fcn.004e6a80
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 0x492871
mov eax, str.FileSort
push 0
push eax
push str.FileList
call fcn.0049c510
mov edi, dword [0x5016a4]
mov ebx, eax
and al, 0x1f
cmp al, 2
jne 0x4929f2
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 0x4929f2
lea ecx, [ecx]
mov eax, dword [esp + 0x64]
push eax
mov ecx, 0x569930
call fcn.0048f9f0
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 0x4929c3
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x364]
push ecx
mov ecx, 0x569930
call fcn.0048fb20
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.00453550
push eax
call dword [0x501448]
test eax, eax
je 0x4929c3
cmp word [esp + 0x2c0], 0
jne 0x492993
push 0x50
lea edx, [esp + 0x2c4]
push edx
lea eax, [esp + 0x368]
push eax
mov ecx, esi
call fcn.00490a20
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 0x4928c0
push 1
push str.ArchivesFirst
push str.FileList
call fcn.0049c510
test eax, eax
je 0x492a0a
or ebx, 0x40
push 0
push str.FlatView
push str.FileList
call fcn.0049c510
test eax, eax
je 0x492a25
or ebx, 0x80
mov ecx, dword [esi + 0x28]
push 0x491d20
push ebx
push 0x1030
push ecx
call edi
cmp dword [esi + 0x2c], 0
je 0x492b94
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 0x492a79
add eax, 0x1c
inc ecx
cmp eax, 0xc4
jb 0x492a60
jmp 0x492a89
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 0x492aad
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 0x492af7
test dword [esp + 0x2c], 0xe00
jne 0x492ade
inc ebp
cmp ebp, 0x10
jl 0x492ab7
jmp 0x492af7
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.00447f80
cmp eax, 0x600
jb 0x492b44
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 0x492b92
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.004e6a64
add esp, 0x14dc
ret