Function at 0x405220
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44ec6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
mov eax, dword [0x4697fc]
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
mov dword [esp + 0x364], eax
mov eax, dword [esi + 0x228]
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0xf
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
mov dword [esp + 0x368], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
cmp ecx, eax
mov byte [esp + 0x368], 1
mov dword [esp + 8], ecx
je 0x405624
push ebx
push ebp
xor ebp, ebp
jmp 0x4052b0
mov eax, dword [esi + 0x84]
push 1
push 0xffffffffffffffff
lea ecx, [eax + ebp]
push 0x452e5c
call fcn.00403b40
mov ebx, eax
mov eax, dword [esi + 0x84]
push ebx
push 0
lea edx, [esp + 0x1c]
lea ecx, [eax + ebp]
push edx
call fcn.00405150
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x37c], 2
call fcn.00402f40
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x370], 1
jb 0x405311
mov eax, dword [esp + 0x18]
push eax
call fcn.004461da
add esp, 4
mov eax, dword [esi + 0x84]
push 0xffffffffffffffff
inc ebx
push ebx
lea edx, [esp + 0x38]
lea ecx, [eax + ebp]
push edx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00405150
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x37c], 3
call fcn.00402f40
mov eax, dword [esp + 0x48]
mov ebx, 0x10
cmp eax, ebx
mov byte [esp + 0x370], 1
jb 0x405375
mov eax, dword [esp + 0x34]
push eax
call fcn.004461da
add esp, 4
mov eax, dword [esi + 0xa0]
sub eax, 0
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
je 0x405558
dec eax
je 0x405487
dec eax
jne 0x4055ea
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x18]
add eax, ebp
cmp ecx, ebx
jb 0x4053bc
mov eax, dword [eax + 4]
jmp 0x4053bf
add eax, 4
push 0x4001
push 0x160
lea ecx, [esp + 0x20c]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp dword [esp + 0x64], ebx
mov eax, dword [esp + 0x50]
jae 0x4053e8
lea eax, [esp + 0x50]
mov edx, dword [esp + 0x208]
push 0
push edx
push 0
push 0
push eax
push edi
lea ebx, [esi + 0x20c]
push 3
mov ecx, ebx
call fcn.0043ff24
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x50]
add eax, ebp
cmp ecx, 0x10
jb 0x40541d
mov eax, dword [eax + 0x3c]
jmp 0x405420
add eax, 0x3c
push 0
push 0
push 0
push 0
push eax
push 1
push 1
push edi
mov ecx, ebx
call fcn.0043ff70
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x6c]
add eax, ebp
cmp ecx, 0x10
jb 0x40544b
mov eax, dword [eax + 0x58]
jmp 0x40544e
add eax, 0x58
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push edi
mov ecx, ebx
call fcn.0043ff70
cmp dword [esp + 0x80], 0x10
mov eax, dword [esp + 0x6c]
jae 0x405475
lea eax, [esp + 0x6c]
push 0
push 0
push 0
push 0
push eax
push 1
push 6
jmp 0x4055e2
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x18]
add eax, ebp
cmp ecx, ebx
jb 0x40549c
mov eax, dword [eax + 4]
jmp 0x40549f
add eax, 4
push 0x4401
push 0x160
lea ecx, [esp + 0xac]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp dword [esp + 0x64], ebx
mov eax, dword [esp + 0x50]
jae 0x4054c8
lea eax, [esp + 0x50]
mov edx, dword [esp + 0xa8]
push 0
push edx
push 0
push 0
push eax
push edi
lea ebx, [esi + 0x20c]
push 3
mov ecx, ebx
call fcn.0043ff24
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x88]
add eax, ebp
cmp ecx, 0x10
jb 0x405500
mov eax, dword [eax + 0x74]
jmp 0x405503
add eax, 0x74
push 0
push 0
push 0
push 0
push eax
push 1
push 1
push edi
mov ecx, ebx
call fcn.0043ff70
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c4]
push eax
push 1
push 2
push edi
mov ecx, ebx
call fcn.0043ff70
cmp dword [esp + 0x80], 0x10
mov eax, dword [esp + 0x6c]
jae 0x405546
lea eax, [esp + 0x6c]
push 0
push 0
push 0
push 0
push eax
push 1
push 3
jmp 0x4055e2
push 0xa
lea ecx, [esp + 0x88]
push ecx
lea edx, [edi + 1]
push edx
call fcn.0042f962
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [esp + 0x94]
push eax
push edi
lea ebx, [esi + 0x20c]
push 1
mov ecx, ebx
call fcn.0043ff24
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x50]
add eax, ebp
cmp ecx, 0x10
jb 0x4055a4
mov eax, dword [eax + 0x3c]
jmp 0x4055a7
add eax, 0x3c
push 0
push 0
push 0
push 0
push eax
push 1
push 1
push edi
mov ecx, ebx
call fcn.0043ff70
mov eax, dword [esi + 0x84]
mov ecx, dword [eax + ebp + 0x6c]
add eax, ebp
cmp ecx, 0x10
jb 0x4055d2
mov eax, dword [eax + 0x58]
jmp 0x4055d5
add eax, 0x58
push 0
push 0
push 0
push 0
push eax
push 1
push 2
mov ecx, ebx
push edi
call fcn.0043ff70
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x88]
add eax, 0xe4
inc edi
add ebp, 0xe4
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x4052b0
cmp dword [esp + 0x64], 0x10
pop ebp
pop ebx
jb 0x405622
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004461da
add esp, 4
xor edi, edi
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x58], edi
pop edi
mov dword [esp + 0x58], 0xf
mov byte [esp + 0x44], 0
pop esi
jb 0x40564b
mov edx, dword [esp + 0x5c]
push edx
call fcn.004461da
add esp, 4
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x354]
call fcn.0042ea18
add esp, 0x364
ret