Function at 0x440420
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xe68
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xe64], eax
cmp dword [0x4dbc5c], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, str.ArcSort
jne 0x44044d
mov eax, str.FileSort
push 0
push eax
push str.FileList
call fcn.00456960
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
and al, 0x1f
cmp al, 2
jne 0x4405c0
mov edx, dword [esi]
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
push eax
push 0x1005
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 0x4405c0
jmp 0x4404a0
mov eax, dword [esp + 0x64]
push eax
mov ecx, 0x4ecbf8
call fcn.00405b70
mov dword [eax + 8], ebp
cmp dword [0x4dbc5c], 0
jne 0x440592
mov eax, dword [esi]
lea edx, [esp + 0x6c]
push edx
push ebp
push 0x102d
lea ecx, [esp + 0xe30]
push eax
mov byte [esp + 0xe34], 0
mov dword [esp + 0x84], 2
mov dword [esp + 0x94], 0x50
mov dword [esp + 0x90], ecx
call edi
cmp byte [esp + 0xe24], 0
jne 0x440592
mov ecx, dword [esp + 0x64]
push ecx
lea edx, [esp + 0x1f8]
push edx
mov ecx, 0x4ecbf8
call fcn.0043cd40
push 0x400
push 0x160
lea eax, [esp + 0x9c]
push eax
push 0
lea ecx, [esp + 0x204]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x440592
cmp byte [esp + 0x1a4], 0
jne 0x440567
lea edx, [esp + 0x1a4]
push edx
lea eax, [esp + 0x1f8]
push eax
mov ecx, esi
call fcn.0043dd50
mov ecx, dword [0x4dbc5c]
lea eax, [esp + 0x6c]
push eax
add ecx, 2
push ebp
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi]
push 0x102e
lea edx, [esp + 0x1b0]
push ecx
mov dword [esp + 0x90], edx
call edi
mov eax, dword [esi]
lea edx, [esp + 0x44]
push edx
push 0
push 0x1005
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 0x4404a0
push 1
push str.ArchivesFirst
push str.FileList
call fcn.00456960
test eax, eax
je 0x4405d8
or ebx, 0x40
push 0
push str.FlatView
push str.FileList
call fcn.00456960
test eax, eax
je 0x4405f3
or ebx, 0x80
mov ecx, dword [esi]
push 0x43ddd0
push ebx
push 0x1030
push ecx
call edi
cmp dword [esi + 4], 0
je 0x44074d
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 0x440630
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x4befe4], edx
je 0x440649
add eax, 0x1c
inc ecx
cmp eax, 0xc4
jb 0x440630
jmp 0x440659
lea eax, [ecx*8]
sub eax, ecx
mov ebx, dword [eax*4 + 0x4befe0]
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 0x1203
push eax
call edi
test eax, eax
je 0x4406b0
test dword [esp + 0x2c], 0xe00
jne 0x440697
inc ebp
cmp ebp, 0x10
jl 0x440670
jmp 0x4406b0
mov edx, dword [esi + 4]
and dword [esp + 0x2c], 0xffffe1ff
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0x1204
push edx
call edi
call fcn.0043ca60
cmp eax, 6
jl 0x4406fd
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ebx
push 0x1203
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 0x1204
push ecx
jmp 0x44074b
mov edx, dword [esi + 0xc]
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 0x1203
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 0x1204
push edx
mov dword [esp + 0x44], eax
call edi
mov ecx, dword [esp + 0xe74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0xe68
ret