Function at 0x4407a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xe68
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xe64], eax
cmp dword [0x4dbca4], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, str.ArcSort
jne 0x4407cd
mov eax, str.FileSort
push 0
push eax
push str.FileList
call fcn.00456940
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
and al, 0x1f
cmp al, 2
jne 0x440940
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 0x440940
jmp 0x440820
mov eax, dword [esp + 0x64]
push eax
mov ecx, 0x4ecc70
call fcn.0043d250
mov dword [eax + 8], ebp
cmp dword [0x4dbca4], 0
jne 0x440912
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 0x440912
mov ecx, dword [esp + 0x64]
push ecx
lea edx, [esp + 0x1f8]
push edx
mov ecx, 0x4ecc70
call fcn.0043d090
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 0x440912
cmp byte [esp + 0x1a4], 0
jne 0x4408e7
lea edx, [esp + 0x1a4]
push edx
lea eax, [esp + 0x1f8]
push eax
mov ecx, esi
call fcn.0043e0c0
mov ecx, dword [0x4dbca4]
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 0x440820
push 1
push str.ArchivesFirst
push str.FileList
call fcn.00456940
test eax, eax
je 0x440958
or ebx, 0x40
push 0
push str.FlatView
push str.FileList
call fcn.00456940
test eax, eax
je 0x440973
or ebx, 0x80
mov ecx, dword [esi]
push 0x43e140
push ebx
push 0x1030
push ecx
call edi
cmp dword [esi + 4], 0
je 0x440acd
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 0x4409b0
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x4beffc], edx
je 0x4409c9
add eax, 0x1c
inc ecx
cmp eax, 0xc4
jb 0x4409b0
jmp 0x4409d9
lea eax, [ecx*8]
sub eax, ecx
mov ebx, dword [eax*4 + 0x4beff8]
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 0x440a30
test dword [esp + 0x2c], 0xe00
jne 0x440a17
inc ebp
cmp ebp, 0x10
jl 0x4409f0
jmp 0x440a30
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.0043cdb0
cmp eax, 6
jl 0x440a7d
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 0x440acb
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.0049e626
add esp, 0xe68
ret