Function at 0x14002acb8
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6b0
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov r12, rcx
or qword [rsp + 0x60], 0xffffffffffffffff
xor r13d, r13d
mov edi, r13d
mov qword [rsp + 0x50], r13
lea esi, [r13 + 0x10]
mov dword [rsp + 0x44], r13d
cmp edx, 0x20
jne 0x14002b0a1
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100080
lea r8d, [r13 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r14, rax
mov qword [rsp + 0x60], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002b02d
mov r15d, 0x80000005
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
test rdi, rdi
je 0x14002ad8a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test eax, eax
cmovne rdi, r13
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8d, esi
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14002adc7
mov dword [rsp + 0x40], 0xc0000017
jmp 0x14002b063
mov dword [rsp + 0x20], 0x2f
mov r9d, esi
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
js 0x14002b00a
mov eax, dword [rdi]
lea eax, [rax*4 + 0xc]
cmp eax, esi
jbe 0x14002ae0c
mov dword [rsp + 0x40], r15d
jmp 0x14002b063
mov esi, r13d
mov dword [rsp + 0x58], r13d
lea rbx, str.LogSharingViolationErrorInfo
cmp esi, dword [rdi]
jae 0x14002b063
mov eax, esi
mov r15d, dword [rdi + rax*8 + 8]
mov dword [rsp + 0x48], r15d
mov r8d, r15d
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov r13, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14002afca
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1b]
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
cmp eax, 0xc0000004
jne 0x14002af72
mov ebx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14002aec7
mov ebx, 0xc0000023
mov dword [rsp + 0x40], ebx
xor r13d, r13d
jmp 0x14002af46
and qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x44]
mov r8, r15
mov edx, 0x1b
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
xor r13d, r13d
test eax, eax
js 0x14002af46
mov qword [rsp + 0x20], r12
mov r9, qword [r15 + 8]
lea r8, str.Process__s_is_accessing_file_wim__s
mov edx, 0x30c
lea rcx, [rsp + 0x80]
call fcn.1400011bc
mov dword [rsp + 0x30], 0x7d2
lea rax, str.LogSharingViolationErrorInfo
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call fcn.14002aaa0
test r15, r15
je 0x14002af6b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov r15d, dword [rsp + 0x48]
jmp 0x14002af75
xor r13d, r13d
test ebx, ebx
je 0x14002aff8
mov qword [rsp + 0x20], r12
mov r9d, r15d
lea r8, str.Process_PID__d_is_accessing_file_wim__s
mov edx, 0x30c
lea rcx, [rsp + 0x80]
call fcn.1400011bc
mov dword [rsp + 0x30], 0x7e1
lea rbx, str.LogSharingViolationErrorInfo
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call fcn.14002aaa0
jmp 0x14002afff
mov qword [rsp + 0x20], r12
mov r9d, r15d
lea r8, str.Process_PID__d_is_accessing_file_wim__s
mov edx, 0x30c
lea rcx, [rsp + 0x80]
call fcn.1400011bc
mov dword [rsp + 0x30], 0x7e8
xor r13d, r13d
jmp 0x14002afa9
lea rbx, str.LogSharingViolationErrorInfo
inc esi
mov dword [rsp + 0x58], esi
jmp 0x14002ae1b
cmp eax, r15d
je 0x14002b01d
cmp eax, 0xc0000023
je 0x14002b01d
cmp eax, 0xc0000004
jne 0x14002b063
add esi, esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x40], r13d
jmp 0x14002ad52
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14002b04b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14002b05f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx eax, ax
or eax, 0xc0070000
mov dword [rsp + 0x40], eax
test rdi, rdi
je 0x14002b088
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002b0a1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140096bd0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret