Function at 0x140050718
Capabilities:
Set file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, rdx
xor r14d, r14d
mov qword [r11 - 0x68], r14
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r14 + 7]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14005079f
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x30]
call fcn.14003e714
nop
jmp 0x1400509c4
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x20], 0x4a
mov r9d, 4
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xc00004ae
jne 0x1400507f2
test rbx, rbx
je 0x1400507eb
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400509c4
or edi, 0x10000000
jge 0x140050832
mov rcx, qword [rsp + 0x98]
mov r9d, edi
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
mov edx, 0x44
call fcn.1400205b4
nop
test rbx, rbx
je 0x14005082b
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, edi
jmp 0x1400509c4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], r14w
jne 0x140050840
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14001bd58
nop
lea rcx, [rsp + 0x68]
call fcn.140049054
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140050903
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x4c]
call fcn.14003e714
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.14001b288
nop
test rbx, rbx
je 0x1400508fc
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, edi
jmp 0x1400509c4
mov dword [rsp + 0x20], 0x4a
mov r9d, 4
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov esi, eax
or esi, 0x10000000
jge 0x140050988
mov rcx, qword [rsp + 0x98]
mov r9d, esi
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
mov edx, 0x54
call fcn.1400205b4
test rdi, rdi
je 0x140050965
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x68]
call fcn.14001b288
nop
test rbx, rbx
je 0x140050984
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, esi
jmp 0x1400509c4
test rdi, rdi
je 0x14005099d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x68]
call fcn.14001b288
nop
test rbx, rbx
je 0x1400509bc
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400509c4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140024990
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret