Function at 0x140050748
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 [0x1400dc7a8]
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 0x1400507cf
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x30]
call fcn.14003e744
nop
jmp 0x1400509f4
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 0x140050822
test rbx, rbx
je 0x14005081b
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 0x1400509f4
or edi, 0x10000000
jge 0x140050862
mov rcx, qword [rsp + 0x98]
mov r9d, edi
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
mov edx, 0x44
call fcn.1400205f4
nop
test rbx, rbx
je 0x14005085b
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 0x1400509f4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], r14w
jne 0x140050870
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.14001bd98
nop
lea rcx, [rsp + 0x68]
call fcn.140049084
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 0x140050933
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x4c]
call fcn.14003e744
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.14001b2c8
nop
test rbx, rbx
je 0x14005092c
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 0x1400509f4
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 0x1400509b8
mov rcx, qword [rsp + 0x98]
mov r9d, esi
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
mov edx, 0x54
call fcn.1400205f4
test rdi, rdi
je 0x140050995
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.14001b2c8
nop
test rbx, rbx
je 0x1400509b4
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 0x1400509f4
test rdi, rdi
je 0x1400509cd
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.14001b2c8
nop
test rbx, rbx
je 0x1400509ec
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 0x1400509f4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140024bd0
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