Function at 0x180062ca0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1800b2220]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r13d, r8d
mov qword [rsp + 0x88], rdx
mov r15, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x44], ebx
or qword [rsp + 0x68], 0xffffffffffffffff
or qword [rsp + 0x70], 0xffffffffffffffff
mov dword [rsp + 0x90], ebx
mov qword [r11 - 0x100], rbx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x78], ebx
mov qword [r11 - 0x118], rbx
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x48], 1
mov r14d, 0x82
mov dword [rsp + 0x4c], r14d
test r13b, 1
mov eax, 0x10082
cmovne r14d, eax
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov rcx, r15
call fcn.180062330
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x180062de5
mov eax, r14d
and eax, r13d
test al, 2
je 0x180062de5
cmp qword [rsp + 0x50], rbx
je 0x180062dad
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov qword [rsp + 0x50], rbx
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x180062dca
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
or qword [rsp + 0x68], 0xffffffffffffffff
and r14d, 0xfffffffd
mov dword [rsp + 0x4c], r14d
test esi, esi
cmovns esi, edi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], ebx
jmp 0x180062d34
test edi, edi
js 0x180062fe3
mov dword [rsp + 0x60], 0x100
mov r12d, r14d
and r12d, 2
mov eax, 0x102
lea r15d, [rax - 2]
cmovne r15d, eax
mov dword [rsp + 0x60], r15d
mov eax, r12d
neg eax
sbb ecx, ecx
and ecx, 2
add ecx, 0x100
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
call fcn.180062330
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x180062ed9
mov eax, r15d
and eax, r13d
test al, 2
je 0x180062ed9
cmp qword [rsp + 0x58], rbx
je 0x180062ea1
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov qword [rsp + 0x58], rbx
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x4c]
mov r15d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x180062ebe
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
or qword [rsp + 0x70], 0xffffffffffffffff
and r15d, 0xfffffffd
mov dword [rsp + 0x60], r15d
test esi, esi
cmovns esi, edi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], ebx
jmp 0x180062e0e
test edi, edi
js 0x180062fe3
mov r12d, 4
mov dword [rsp + 0x20], r12d
lea r9d, [r12 + 0x24]
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x180062f7a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x20], r12d
lea r9d, [r12 + 0x24]
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x40], eax
mov r12d, r13d
and r12d, 2
test edi, edi
jns 0x180062f99
test r12d, r12d
je 0x180062fe3
test esi, esi
cmovns esi, edi
mov dword [rsp + 0x44], esi
mov edi, ebx
mov dword [rsp + 0x40], ebx
and r15d, r14d
test r15b, 2
je 0x180062fe3
lea r9, [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNELBASE.dll_BasepNotifyTrackingService]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x180062fe3
test r12d, r12d
je 0x180062fe3
test esi, esi
cmovns esi, eax
mov dword [rsp + 0x44], esi
mov edi, ebx
mov dword [rsp + 0x40], ebx
cmp qword [rsp + 0x50], rbx
je 0x180063012
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
cmp qword [rsp + 0x58], rbx
je 0x180063041
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
test edi, edi
js 0x180063079
test r13b, 1
je 0x180063079
mov dword [rsp + 0x20], 0xd
mov r9d, 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x180063090
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1800630a7
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test edi, edi
jns 0x1800630af
mov ecx, edi
jmp 0x1800630b5
test esi, esi
jns 0x1800630ba
mov ecx, esi
call sym.KERNEL32.dll_BaseSetLastNTError
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180024680
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret