Function at 0x486ac8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov al, byte [ebp + 0xb]
and byte [ebp - 0x24], 0
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 0x2c], al
mov al, byte [ebp + 0xb]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x2b], al
call fcn.00488b83
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x486d53
cmp dword [ebp + 0x10], edi
je 0x486d53
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebx + 0x4c]
push edi
push esi
call dword [eax + 0x10]
test eax, eax
jl 0x486d44
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x486d44
lea edx, [ebp - 0x10]
push edi
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
push edx
push 1
push eax
mov dword [ebp - 0x14], edi
call dword [ecx + 0xc]
test eax, eax
jne 0x486cbd
jmp 0x486b4a
mov esi, dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0x114]
call fcn.0043ef1d
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x110], eax
push dword [ebp + 0x10]
call fcn.0048682e
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [esi]
pop ecx
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x104], esi
mov dword [ebp - 8], 0x60000000
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push ecx
push 1
push esi
call dword [eax + 0x24]
test byte [ebp - 5], 0x20
je 0x486c58
test byte [ebx + 0x4c], 0x40
je 0x486bb3
push 1
pop edi
jmp 0x486c58
test byte [ebp - 5], 2
jne 0x486bab
mov eax, dword [0x4af550]
push 0x400
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403c58
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
lea ecx, [ebp - 4]
call fcn.00403cfb
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CharUpperW]
push 0x4b8400
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x486c4e
push 0x4b83f8
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x486c4e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x486c4e
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 8], SHChangeNotifyRegister
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x24]
mov edi, dword [ebp - 8]
shr edi, 0x1f
jmp 0x486c50
xor edi, edi
lea ecx, [ebp - 4]
call fcn.004038fb
and dword [ebp - 0xfc], 0
test edi, edi
je 0x486c6f
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x1fc]
call fcn.0043ef1d
push 0x3a
lea esi, [ebp - 0x114]
pop ecx
lea edi, [ebp - 0x1fc]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1fc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004880b1
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
push 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x486b45
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x486cca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x18], edi
cmp eax, edi
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
jle 0x486d3c
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x64]
add eax, 0x2710
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00487fd9
push 0x3a
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x64]
add eax, 0x2710
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00487fd9
cmp dword [eax + 0x18], 0
push eax
push dword [ebx + 0x58]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00487f03
inc dword [ebx + 0x58]
lea ecx, [ebp - 0x18]
call fcn.00488c1a
dec dword [ebp + 0xc]
jne 0x486cdf
lea ecx, [ebp - 0x2c]
call fcn.00488291
push dword [ebp + 8]
mov ecx, ebx
call fcn.00487e9a
push 1
pop esi
jmp 0x486d55
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.004880f0
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10