Function at 0x488400
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x50]
mov eax, dword [edi]
add eax, 0x48
push eax
call fcn.00403190
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test esi, esi
jne 0x488458
xor bl, bl
jmp 0x488629
push 0x4008
push 0x2b4
lea eax, [ebp - 0x364]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
call dword [sym.imp.SHELL32.dll_ILFree]
call fcn.0048baa0
mov ecx, dword [ebp - 0x360]
cmp ecx, eax
jne 0x48849e
mov ecx, dword [edi]
push 4
push str.dir
add ecx, 0x6c
call fcn.00402e60
jmp 0x488627
test ecx, ecx
js 0x488627
mov eax, dword [edi]
add eax, 0x48
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401570
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push 0x57910c
push eax
call fcn.00461460
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004087f0
add esp, 0x1c
cmp dword [ebp - 0x20], 0
jne 0x48860f
mov eax, dword [ebx + 0x294]
lea edx, [ebp - 4]
push edx
push 1
push dword [ebp - 0x360]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5b8ec0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5b8924]
cmp eax, dword [ecx + 8]
jg 0x48866a
push 0x5b8918
push 0x1000
mov ecx, 0x5b8918
call fcn.0046c080
mov eax, dword [0x5b8918]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 4]
call fcn.0046f1e0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403400
add esp, 0x14
lea ecx, [ebp - 0x18]
push eax
call fcn.00484640
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x488580
mov ecx, esi
call fcn.004032f0
push 0x34
push esi
call fcn.0053140c
add esp, 8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00408930
add esp, 8
lea ecx, [ebp - 0x10]
mov esi, dword [eax]
call fcn.00407100
test esi, esi
je 0x4885ec
lea ecx, [ebp - 0x98]
call fcn.00487330
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x98]
call fcn.00407260
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x80]
call fcn.00432340
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x298]
call fcn.0046c860
mov ecx, eax
call fcn.0046c770
lea ecx, [ebp - 0x98]
call fcn.0046c6a0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4885fa
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [ebp - 0x18]
call fcn.00407100
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x48860f
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x20]
call fcn.00407100
lea ecx, [ebp - 0x68]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
mov bl, 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x48865f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4886be
push edx
push ecx
call fcn.0053140c
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5b8924
call fcn.00531854
add esp, 4
cmp dword [0x5b8924], 0xffffffff
jne 0x488519
push 0x577ed0
mov dword [0x5b8918], 0
mov dword [0x5b891c], 0
mov dword [0x5b8920], 0
call fcn.00531682
push 0x5b8924
call fcn.0053180a
add esp, 8
jmp 0x488519
call fcn.0055d660
int3