Function at 0x48706e
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.00489140
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x4872f9
cmp dword [ebp + 0x10], edi
je 0x4872f9
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 0x4872ea
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x4872ea
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 0x487263
jmp 0x4870f0
mov esi, dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0x114]
call fcn.0043efcd
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x110], eax
push dword [ebp + 0x10]
call fcn.00486dd4
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 0x4871fe
test byte [ebx + 0x4c], 0x40
je 0x487159
push 1
pop edi
jmp 0x4871fe
test byte [ebp - 5], 2
jne 0x487151
mov eax, dword [0x4b0550]
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 0x4b94c8
push dword [ebp - 4]
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
je 0x4871f4
push 0x4b94c0
push dword [ebp - 4]
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
je 0x4871f4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4871f4
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 0x4871f6
xor edi, edi
lea ecx, [ebp - 4]
call fcn.004038fb
and dword [ebp - 0xfc], 0
test edi, edi
je 0x487215
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x1fc]
call fcn.0043efcd
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.0048866e
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 0x4870eb
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x487270
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 0x4872e2
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.00488596
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.00488596
cmp dword [eax + 0x18], 0
push eax
push dword [ebx + 0x58]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004884c0
inc dword [ebx + 0x58]
lea ecx, [ebp - 0x18]
call fcn.004891d7
dec dword [ebp + 0xc]
jne 0x487285
lea ecx, [ebp - 0x2c]
call fcn.0048884e
push dword [ebp + 8]
mov ecx, ebx
call fcn.00488457
push 1
pop esi
jmp 0x4872fb
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.004886ad
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10