Function at 0x426970
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [edi + 0x60], 0
je 0x4269a1
cmp dword [edi + 0x6c], 0
je 0x4269a1
cmp dword [esi + 0x880], 0
je 0x4269a1
mov ecx, dword [esi + 0x894]
or ecx, 0x400e0000
jmp 0x4269a6
mov ecx, 0x40020000
test dword [edi + 0x30], 0x400
mov dword [ebp - 8], ecx
je 0x4269c9
mov eax, dword [esi + 0x690]
and eax, 0x4000
or eax, 0
jne 0x4269c9
mov eax, 1
jmp 0x4269cb
xor eax, eax
mov edx, eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x790]
or eax, 0x100
shl edx, 0x15
push eax
push ecx
or edx, 0x2000000
mov dword [ebp - 0xc], 0
push edx
push 3
push ecx
mov dword [ebp - 0x10], edx
mov edx, ecx
mov ecx, dword [esi + 0x834]
push 7
call fcn.00457b70
mov ebx, eax
add esp, 0x18
cmp ebx, 0xffffffff
jne 0x426a97
mov eax, dword [ebp - 8]
push 0
push dword [ebp - 0x10]
and eax, 0xfff7ffff
push 3
push 0
push 7
push eax
push dword [esi + 0x834]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x426a97
mov edx, dword [ebp + 8]
test edx, edx
jne 0x426a55
mov eax, dword [esi + 0x690]
and eax, 0x20000000
or eax, edx
je 0x426c54
mov ecx, dword [esi + 0x84c]
test edx, edx
mov eax, dword [esi + 0x834]
push 0
lea eax, [eax + ecx*2]
mov ecx, str.SetDirExtData
push eax
mov eax, str.SetDirExtData_reparse_
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00419420
mov eax, dword [esi + 0xb50]
add dword [eax + 0xd8], 1
adc dword [eax + 0xdc], 0
jmp 0x426c54
cmp dword [ebp + 8], 0
je 0x426b7a
cmp dword [edi + 0x68], 0
je 0x426b7a
cmp dword [edi + 0x74], 0
je 0x426b7a
push 0
call fcn.00486e21
add esp, 4
push 0x4000
call fcn.0048714e
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x426ae6
xor edx, edx
mov ecx, 0x4000
mov word [eax], dx
mov word [eax + 0x3ffe], dx
jmp 0x426ae8
xor ecx, ecx
push ecx
mov edx, eax
mov ecx, ebx
call fcn.00457450
add esp, 4
test eax, eax
je 0x426b12
mov edx, dword [edi + 0x68]
mov ecx, dword [ebp + 8]
call fcn.004574b0
test eax, eax
jne 0x426b68
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00457530
push dword [edi + 0x74]
mov edx, dword [edi + 0x68]
mov ecx, ebx
call fcn.00457480
add esp, 4
test eax, eax
jg 0x426b68
mov eax, dword [esi + 0xb50]
push 0
add dword [eax + 0xd8], 1
adc dword [eax + 0xdc], 0
mov ecx, dword [esi + 0x84c]
mov eax, dword [esi + 0x834]
lea eax, [eax + ecx*2]
mov ecx, esi
push eax
push str.WriteReparsePoint_dir_
call fcn.00419420
push dword [ebp + 8]
call fcn.00486e21
add esp, 4
jmp 0x426bfd
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
call fcn.00486e21
add esp, 4
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x426bf6
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x426bf6
test dword [ebp - 8], 0x80000
je 0x426bf6
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
push edx
push 1
push 0
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_BackupWrite]
test eax, eax
jne 0x426be1
mov eax, dword [esi + 0x690]
and eax, 0x20000000
or eax, 0
je 0x426bfd
mov ecx, dword [esi + 0x84c]
mov eax, dword [esi + 0x834]
push 0
lea eax, [eax + ecx*2]
mov ecx, esi
push eax
push str.BackupWrite_DIRACL_
call fcn.00419420
jmp 0x426bfd
lea eax, [ebp + 8]
push eax
push 1
push 1
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_BackupWrite]
mov dword [ebp - 0xc], 1
mov byte [ebp + 0xb], 1
cmp ebx, 0xffffffff
je 0x426c54
cmp dword [0x4d3d8c], 6
jb 0x426c34
push ecx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0045c100
add esp, 8
test eax, eax
je 0x426c34
mov eax, dword [edi + 0x30]
xor eax, dword [ebp - 0x14]
and eax, 0x3007
neg eax
sbb al, al
and byte [ebp + 0xb], al
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x18]
push eax
lea ecx, [edi + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0xb], 0
je 0x426c63
push dword [edi + 0x30]
push dword [esi + 0x834]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4