Function at 0x48ad0b
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 0x48b085
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 0x48ae84
mov eax, dword [esi]
test eax, eax
je 0x48ae51
mov ecx, dword [eax]
lea esi, [ebp - 0x3d0]
push esi
push 1
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x4b0550]
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.0048de31
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x110
cmp dword [eax - 8], edi
jne 0x48ae38
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 0x48adee
lea eax, [ebp - 0x2b8]
test eax, eax
je 0x48adde
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 0x48ae38
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 0x48ae38
lea eax, [ebp - 0x2b8]
test eax, eax
je 0x48ae28
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 0x48ae84
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 0x48ae84
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 0x48af78
cmp dword [esi], 0
je 0x48af1f
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 0x48aec2
or dword [ebx], edi
or dword [ebx + 0xc], 4
or dword [ebx + 8], 4
test byte [ebp + 0xa], 2
je 0x48aed5
mov eax, dword [ebx + 8]
or dword [ebx], edi
and ah, 0xf1
or ah, 1
jmp 0x48af18
test byte [ebp + 0xa], 1
je 0x48aee8
mov eax, dword [ebx + 8]
or dword [ebx], edi
and ah, 0xf2
or ah, 2
jmp 0x48af18
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 0x48af1f
mov eax, dword [ebp - 0x2c0]
sar eax, 0x18
je 0x48af1f
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 0x48af4a
mov dword [ebx + 0x18], eax
test byte [ebp + 0xb], 0x20
mov dword [ebx + 0x1c], eax
je 0x48af78
push 0x400b
lea eax, [ebp - 0x2c4]
push 0x2b4
push eax
push 0
push dword [esi + 4]
call edi
test eax, eax
je 0x48af78
mov eax, dword [ebp - 0x2c0]
mov dword [ebx + 0x1c], eax
test byte [ebx], 0x40
je 0x48b071
cmp dword [esi], 0
je 0x48b071
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 0x48afb7
mov dword [ebx + 0x20], edi
jmp 0x48b071
test byte [ebp + 0xb], 0x20
je 0x48b071
mov dword [ebx + 0x20], edi
cmp dword [0x4b9500], 0
je 0x48b071
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 0x48afaf
mov eax, dword [0x4bd5dc]
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 0x48b03e
cmp word [ebp - 0x4d0], 0x5c
jne 0x48b03e
cmp word [ebp - 0x4ce], 0x5c
jne 0x48b03e
mov dword [ebx + 0x20], 1
jmp 0x48b071
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x48b071
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