Function at 0x489760
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 0x4897b8
xor bl, bl
jmp 0x489989
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.0048ce70
mov ecx, dword [ebp - 0x360]
cmp ecx, eax
jne 0x4897fe
mov ecx, dword [edi]
push 4
push str.dir
add ecx, 0x6c
call fcn.00402e60
jmp 0x489987
test ecx, ecx
js 0x489987
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 0x57d10c
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 0x48996f
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 [0x5bcfd0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5bca38]
cmp eax, dword [ecx + 8]
jg 0x4899ca
push 0x5bca2c
push 0x1000
mov ecx, 0x5bca2c
call fcn.0046c580
mov eax, dword [0x5bca2c]
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.004858c0
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4898e0
mov ecx, esi
call fcn.004032f0
push 0x34
push esi
call fcn.005348bc
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 0x48994c
lea ecx, [ebp - 0x98]
call fcn.004885a0
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 0x48995a
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 0x48996f
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 0x4899bf
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4899b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489a1e
push edx
push ecx
call fcn.005348bc
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5bca38
call fcn.00534d04
add esp, 4
cmp dword [0x5bca38], 0xffffffff
jne 0x489879
push 0x57b450
mov dword [0x5bca2c], 0
mov dword [0x5bca30], 0
mov dword [0x5bca34], 0
call fcn.00534b32
push 0x5bca38
call fcn.00534cba
add esp, 8
jmp 0x489879
call fcn.00560be0
int3