Function at 0x140050f58
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 0x140050fdf
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x30]
call fcn.14003ef04
nop
jmp 0x140051204
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 0x140051032
test rbx, rbx
je 0x14005102b
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 0x140051204
or edi, 0x10000000
jge 0x140051072
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 0x14005106b
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 0x140051204
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], r14w
jne 0x140051080
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.14001bdbc
nop
lea rcx, [rsp + 0x68]
call fcn.140049844
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 0x140051143
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreuap_base_appmodelSearchcommonincludeStorageReserve.h
lea edx, [rax + 0x4c]
call fcn.14003ef04
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.14001b3f8
nop
test rbx, rbx
je 0x14005113c
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 0x140051204
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 0x1400511c8
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 0x1400511a5
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.14001b3f8
nop
test rbx, rbx
je 0x1400511c4
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 0x140051204
test rdi, rdi
je 0x1400511dd
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.14001b3f8
nop
test rbx, rbx
je 0x1400511fc
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 0x140051204
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140024b20
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