Function at 0x140051418
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 [0x1400de7a8]
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 0x14005149f
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x30]
call fcn.14003f3c4
nop
jmp 0x1400516c4
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 0x1400514f2
test rbx, rbx
je 0x1400514eb
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 0x1400516c4
or edi, 0x10000000
jge 0x140051532
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 0x14005152b
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 0x1400516c4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], r14w
jne 0x140051540
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.140049d04
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 0x140051603
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x4c]
call fcn.14003f3c4
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.14001b2c8
nop
test rbx, rbx
je 0x1400515fc
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 0x1400516c4
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 0x140051688
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 0x140051665
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 0x140051684
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 0x1400516c4
test rdi, rdi
je 0x14005169d
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 0x1400516bc
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 0x1400516c4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140024c10
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