Function at 0x48a74e
Capabilities:
Get file attributes
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x24]
mov dword [ebp - 0x10], ecx
test esi, esi
mov dword [ebp - 0xc], esi
je 0x48aac8
mov edx, dword [esi + 8]
and dword [ebp - 0x2c4], 0
mov ecx, 0xac
xor eax, eax
test byte [ebx], 1
lea edi, [ebp - 0x2c0]
mov dword [ebp - 8], edx
rep stosd dword es:[edi], eax
je 0x48a8c7
mov eax, dword [esi]
test eax, eax
je 0x48a894
mov ecx, dword [eax]
lea esi, [ebp - 0x3d0]
push esi
push 1
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x4af550]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 0x3d0]
sub esp, 0x108
push 0x42
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0048d88e
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x110
cmp dword [eax - 8], edi
jne 0x48a87b
mov esi, 0x208
lea eax, [ebp - 0x2c4]
push esi
push 0x2b4
push eax
mov eax, dword [ebp - 0xc]
push edi
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x48a831
lea eax, [ebp - 0x2b8]
test eax, eax
je 0x48a821
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2b8]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
mov eax, dword [ebp - 4]
cmp dword [eax - 8], edi
jne 0x48a87b
push esi
lea eax, [ebp - 0x2c4]
push 0x2b4
push eax
push edi
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x48a87b
lea eax, [ebp - 0x2b8]
test eax, eax
je 0x48a86b
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2b8]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
push dword [ebp - 4]
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 4]
call fcn.004038fb
mov esi, dword [ebp - 0xc]
jmp 0x48a8c7
push 0x208
lea eax, [ebp - 0x2c4]
push 0x2b4
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x48a8c7
push dword [ebx + 0x14]
lea eax, [ebp - 0x2b8]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
test byte [ebx], 0x22
je 0x48a9bb
cmp dword [esi], 0
je 0x48a962
lea edx, [ebp + 8]
mov dword [ebp + 8], 0x20038000
mov eax, dword [esi]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x24]
test byte [ebp + 9], 0x80
push 8
pop edi
je 0x48a905
or dword [ebx], edi
or dword [ebx + 0xc], 4
or dword [ebx + 8], 4
test byte [ebp + 0xa], 2
je 0x48a918
mov eax, dword [ebx + 8]
or dword [ebx], edi
and ah, 0xf1
or ah, 1
jmp 0x48a95b
test byte [ebp + 0xa], 1
je 0x48a92b
mov eax, dword [ebx + 8]
or dword [ebx], edi
and ah, 0xf2
or ah, 2
jmp 0x48a95b
push 0x148
lea eax, [ebp - 0x2c4]
push 0x2b4
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x48a962
mov eax, dword [ebp - 0x2c0]
sar eax, 0x18
je 0x48a962
or dword [ebx], edi
shl eax, 8
or byte [ebx + 0xd], 0xf
mov dword [ebx + 8], eax
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4009
lea eax, [ebp - 0x2c4]
push 0x2b4
push eax
push 0
push dword [esi + 4]
call edi
test eax, eax
mov eax, dword [ebp - 0x2c0]
je 0x48a98d
mov dword [ebx + 0x18], eax
test byte [ebp + 0xb], 0x20
mov dword [ebx + 0x1c], eax
je 0x48a9bb
push 0x400b
lea eax, [ebp - 0x2c4]
push 0x2b4
push eax
push 0
push dword [esi + 4]
call edi
test eax, eax
je 0x48a9bb
mov eax, dword [ebp - 0x2c0]
mov dword [ebx + 0x1c], eax
test byte [ebx], 0x40
je 0x48aab4
cmp dword [esi], 0
je 0x48aab4
lea edx, [ebp + 8]
mov dword [ebp + 8], 0x22000000
mov eax, dword [esi]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
pop edi
push edi
push eax
call dword [ecx + 0x24]
and dword [ebx + 0x20], 0
test byte [ebp + 0xb], 2
je 0x48a9fa
mov dword [ebx + 0x20], edi
jmp 0x48aab4
test byte [ebp + 0xb], 0x20
je 0x48aab4
mov dword [ebx + 0x20], edi
cmp dword [0x4b8438], 0
je 0x48aab4
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
push dword [edx + 0x74]
mov ecx, dword [eax]
push dword [esi + 4]
push 0x10000000
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x48a9f2
mov eax, dword [0x4bc51c]
mov ecx, 0x81
mov dword [ebp - 0x4d0], eax
xor eax, eax
lea edi, [ebp - 0x4cc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x4d0]
push eax
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x4d0]
test eax, eax
je 0x48aa81
cmp word [ebp - 0x4d0], 0x5c
jne 0x48aa81
cmp word [ebp - 0x4ce], 0x5c
jne 0x48aa81
mov dword [ebx + 0x20], 1
jmp 0x48aab4
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x48aab4
lea ecx, [ebp + 8]
mov dword [ebp + 8], SHChangeNotifyRegister
mov esi, dword [esi]
push ecx
lea ecx, [ebp - 8]
mov eax, dword [esi]
push ecx
push 1
push esi
call dword [eax + 0x24]
mov eax, dword [ebp + 8]
shr eax, 0x1f
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x10]
push ebx
push 0
push 0x113f
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 4