Function at 0x418ae0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x418d75
push ecx
mov esi, esp
push 0x22
push ebx
lea eax, [ebp - 8]
push str.takeown__f__
push eax
call fcn.0040deb0
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040df30
add esp, 4
lea ecx, [ebp - 4]
call fcn.00417500
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
or edi, 0xffffffff
add esp, 4
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x418b54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418b70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
push str.___e__g_everyone:f
push ebx
lea eax, [ebp - 4]
push str.cacls__
push eax
call fcn.0040deb0
add esp, 0xc
push eax
push esi
call fcn.0040de20
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00417500
mov edx, dword [ebp - 8]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418bbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418bd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x418d75
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x418d7e
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebx]
add eax, 0x10
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x418c1a
push ebx
lea ecx, [ebp - 4]
call fcn.00416f30
jmp 0x418c60
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00416ec0
add eax, 0x10
add esp, 4
lea ecx, [ebp - 8]
mov dword [esi], eax
call fcn.00418870
add esp, 4
lea ecx, [ebp - 4]
push eax
call fcn.00416f30
mov edx, dword [ebp - 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418c60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
push 0x22
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push str.takeown__f__
push eax
call fcn.0040deb0
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040df30
add esp, 4
lea ecx, [ebp - 8]
call fcn.00417500
mov edx, dword [ebp - 8]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418cad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418cc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
push str.___e__g_everyone:f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push str.cacls__
push eax
call fcn.0040deb0
add esp, 0xc
push eax
push esi
call fcn.0040de20
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00417500
mov edx, dword [ebp - 0xc]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418d17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418d33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
test eax, eax
lea eax, [edx + 0xc]
jne 0x418d64
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x418d5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x418d75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00416fc0
int3