Function at 0x4894f0
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 0x489548
xor bl, bl
jmp 0x489719
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.0048cbe0
mov ecx, dword [ebp - 0x360]
cmp ecx, eax
jne 0x48958e
mov ecx, dword [edi]
push 4
push str.dir
add ecx, 0x6c
call fcn.00402e60
jmp 0x489717
test ecx, ecx
js 0x489717
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 0x57c10c
push eax
call fcn.00463dc0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004087f0
add esp, 0x1c
cmp dword [ebp - 0x20], 0
jne 0x4896ff
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 [0x5bbfc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5bba28]
cmp eax, dword [ecx + 8]
jg 0x48975a
push 0x5bba1c
push 0x1000
mov ecx, 0x5bba1c
call fcn.0046c580
mov eax, dword [0x5bba1c]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 4]
call fcn.0046f6d0
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.00485670
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x489670
mov ecx, esi
call fcn.004032f0
push 0x34
push esi
call fcn.005342bc
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 0x4896dc
lea ecx, [ebp - 0x98]
call fcn.00488330
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.004322c0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x298]
call fcn.0046cd60
mov ecx, eax
call fcn.0046cc70
lea ecx, [ebp - 0x98]
call fcn.0046cba0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4896ea
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 0x4896ff
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 0x48974f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x489745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4897ae
push edx
push ecx
call fcn.005342bc
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5bba28
call fcn.00534704
add esp, 4
cmp dword [0x5bba28], 0xffffffff
jne 0x489609
push 0x57ae60
mov dword [0x5bba1c], 0
mov dword [0x5bba20], 0
mov dword [0x5bba24], 0
call fcn.00534532
push 0x5bba28
call fcn.005346ba
add esp, 8
jmp 0x489609
call fcn.00560610
int3