Function at 0x7fffb6d8cbd8
Capabilities:
Get common file path
Get file attributes
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
mov qword [rbp + 8], 0xfffffffffffffffe
mov rax, qword [0x7fffb6df6798]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov qword [rbp - 0x48], r9
mov rbx, r8
mov qword [rbp - 0x58], rbx
mov rsi, rdx
mov qword [rbp - 0x50], rdx
mov r15, rcx
mov qword [rbp + 0x10], rcx
mov r12, qword [rbp + 0x328]
mov eax, 1
mov qword [rcx], rax
xor r13d, r13d
mov qword [rcx + 8], rax
mov byte [rcx + 0x10], r13b
mov byte [rcx + 0x11], al
mov byte [rcx + 0x12], r13b
mov qword [rcx + 0x18], r13
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x28], r13
mov qword [rcx + 0x30], r13
mov qword [rcx + 0x38], r13
mov dword [rcx + 0x40], r13d
mov qword [rcx + 0x48], r13
mov qword [rcx + 0x50], r13
lea ecx, [rax + 0x27]
call fcn.7fffb6d812a8
mov rdi, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x7fffb6d8ccb5
mov edx, 0x80001000
mov rcx, rax
call qword [sym.imp.KernelBase.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x7fffb6d8ccb8
call fcn.7fffb6d96f60
mov r9d, eax
mov r8d, 0x20d01
lea rcx, [rbp - 0x70]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll__CxxThrowException
int3
mov rdi, r13
mov qword [r15 + 0x58], rdi
lea rcx, [r15 + 0x60]
xor edx, edx
call fcn.7fffb6d94988
nop
lea rcx, [0x7fffb6d8c0a0]
mov qword [r15 + 0x78], rcx
mov qword [r15 + 0x80], r13
mov qword [r15 + 0x88], r13
mov qword [r15 + 0x90], r13
mov qword [r15 + 0x98], r13
lea r14, [r15 + 0xb0]
mov qword [rbp - 0x80], r14
mov byte [r14], r13b
lea rax, [0x7fffb6d953e0]
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x20], r13
mov dword [r14 + 0x30], r13d
mov dword [r14 + 0x28], r13d
mov qword [r15 + 0x140], rcx
mov qword [r15 + 0x148], r13
mov qword [r15 + 0x150], r13
mov dword [r15 + 0x158], r13d
mov qword [r15 + 0x160], r13
mov qword [r15 + 0x168], r13
mov dword [r15 + 0x170], r13d
mov ecx, 0x28
call fcn.7fffb6d812a8
mov rdi, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x7fffb6d8cd9d
mov edx, 0x80001000
mov rcx, rax
call qword [sym.imp.KernelBase.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x7fffb6d8cda0
call fcn.7fffb6d96f60
mov r9d, eax
mov r8d, 0x20d01
lea rcx, [rbp - 0x68]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x68]
call sub.msvcrt.dll__CxxThrowException
int3
mov rdi, r13
mov qword [r15 + 0x178], rdi
lea rcx, [r15 + 0xe8]
xor edx, edx
lea r8d, [rdx + 0x58]
call sub.msvcrt.dll_memset
mov dword [r15 + 0x138], r13d
mov rcx, r14
call fcn.7fffb6d98f34
test rbx, rbx
je 0x7fffb6d8d28f
cmp word [rbx], r13w
je 0x7fffb6d8d28f
lea r13, str._dpx_.tmp
test r12, r12
je 0x7fffb6d8ceb6
movzx eax, byte [r12 + 0xf]
movzx ecx, byte [r12 + 0xe]
movzx edx, byte [r12 + 0xd]
movzx r8d, byte [r12 + 0xc]
movzx r10d, byte [r12 + 0xb]
movzx r11d, byte [r12 + 0xa]
movzx ebx, byte [r12 + 9]
movzx edi, byte [r12 + 8]
movzx esi, word [r12 + 6]
movzx r14d, word [r12 + 4]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, dword [r12]
lea r8, str._08x_04x_04x_02x_02x_02x_02x_02x_02x_02x_02x_s
mov edx, 0x38
lea rcx, [rbp + 0x20]
call qword [sym.imp.msvcrt.dll_swprintf_s]
cmp eax, 0xffffffff
jne 0x7fffb6d8ce9d
mov r9d, 0x80004005
mov r8d, 0x20250
lea rcx, [rbp - 0x60]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll__CxxThrowException
int3
lea r13, [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.7fffb6d96fec
mov qword [r15 + 0x48], rax
mov rbx, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x50]
mov rcx, rbx
call fcn.7fffb6d97408
mov r14, rax
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x48]
call fcn.7fffb6d97408
mov rdi, rax
mov qword [rbp - 0x80], rax
mov rcx, r14
call qword [sym.imp.KernelBase.dll_GetFileAttributesW]
or r12d, 0xffffffff
cmp eax, r12d
je 0x7fffb6d8d245
test al, 0x10
je 0x7fffb6d8d245
mov rcx, rdi
call qword [sym.imp.KernelBase.dll_GetFileAttributesW]
cmp eax, r12d
je 0x7fffb6d8d1fb
test al, 0x10
je 0x7fffb6d8d1fb
xor r12d, r12d
mov qword [rbp - 0x40], r12
mov qword [r15 + 0x30], r14
mov qword [rbp - 0x80], r12
mov qword [r15 + 0x38], rdi
mov eax, dword [rbp + 0x320]
mov dword [r15 + 0x40], eax
test rsi, rsi
je 0x7fffb6d8cf39
lock inc dword [rsi]
mov qword [r15 + 0x168], rsi
mov ecx, 8
call fcn.7fffb6d812a8
mov qword [rbp - 0x78], rax
test rax, rax
je 0x7fffb6d8cf51
mov qword [rax], r15
jmp 0x7fffb6d8cf54
mov rax, r12
mov qword [r15 + 0x98], rax
mov edi, 0x10
mov ecx, edi
call fcn.7fffb6d812a8
mov qword [rbp - 0x78], rax
test rax, rax
je 0x7fffb6d8cf80
lea rcx, [0x7fffb6dd8298]
mov qword [rax], rcx
mov qword [rax + 8], r15
jmp 0x7fffb6d8cf83
mov rax, r12
mov qword [r15 + 0x20], rax
mov rcx, rdi
call fcn.7fffb6d812a8
mov qword [rbp - 0x78], rax
test rax, rax
je 0x7fffb6d8cfa8
lea rcx, [0x7fffb6dd8268]
mov qword [rax], rcx
mov qword [rax + 8], r15
jmp 0x7fffb6d8cfab
mov rax, r12
mov qword [r15 + 0x28], rax
call fcn.7fffb6da7f68
mov r8, rax
mov qword [r15 + 0x90], rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rdx, qword [r15 + 0x28]
mov rcx, r8
call qword [sym.imp.____1]
mov qword [r15 + 0xa0], r12
mov qword [r15 + 0xa8], r12
mov rdx, r13
mov rcx, qword [r15 + 0x30]
call fcn.7fffb6d98800
mov edi, eax
test eax, eax
jns 0x7fffb6d8d042
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
lea r9, str.Failed_to_create_temporary_directory_s_under_target_path_s__hr0x_x
lea r8, str.CJob::CJob
mov edx, 0x102
lea rcx, str.onecore_basecompressdpx_srcdpxjob.cpp
call fcn.7fffb6d96d30
mov r9d, edi
mov r8d, 0x20219
lea rcx, [rbp - 0x38]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x38]
call sub.msvcrt.dll__CxxThrowException
int3
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r15 + 0x30]
call fcn.7fffb6d976d4
mov qword [r15 + 0x50], rax
mov edx, 0x2002
mov rcx, rax
call qword [sym.imp.KernelBase.dll_SetFileAttributesW]
lea r14, str.delta_basis_root
mov rcx, r14
call fcn.7fffb6d9762c
mov rbx, rax
mov qword [rbp - 0x30], rax
test rax, rax
je 0x7fffb6d8d0f2
mov r8, rax
mov rdx, r14
mov rcx, r15
call fcn.7fffb6d8fab0
mov edi, eax
test eax, eax
jns 0x7fffb6d8d1e4
lea rcx, [rbp - 0x30]
call fcn.7fffb6d867b0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.Failed_to_set_option__s_s__hr0x_x
lea r8, str.CJob::CJob
mov edx, 0x117
lea rcx, str.onecore_basecompressdpx_srcdpxjob.cpp
call fcn.7fffb6d96d30
mov r9d, edi
mov r8d, 0x20252
lea rcx, [rbp - 0x28]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
mov edx, 0x104
lea rcx, [rbp + 0x90]
call qword [sym.imp.KernelBase.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x7fffb6d8d155
call fcn.7fffb6d96f60
mov ebx, eax
mov dword [rsp + 0x20], eax
lea r9, str.Failed_to_call_GetWindowsDirectory____hr0x_x
lea r8, str.CJob::CJob
mov edx, 0x126
lea rcx, str.onecore_basecompressdpx_srcdpxjob.cpp
call fcn.7fffb6d96d30
mov r9d, ebx
mov r8d, 0x20251
lea rcx, [rbp - 0x20]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll__CxxThrowException
int3
lea rcx, [rbp + 0x90]
call fcn.7fffb6d97578
mov rdi, rax
mov qword [rbp - 0x18], rax
mov r8, rax
mov rdx, r14
mov rcx, r15
call fcn.7fffb6d8fab0
mov esi, eax
test eax, eax
jns 0x7fffb6d8d1d5
lea rcx, [rbp - 0x18]
call fcn.7fffb6d867b0
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.Failed_to_set_option__s_s__hr0x_x
lea r8, str.CJob::CJob
mov edx, 0x135
lea rcx, str.onecore_basecompressdpx_srcdpxjob.cpp
call fcn.7fffb6d96d30
mov r9d, esi
mov r8d, 0x20252
lea rcx, [rbp - 0x10]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll__CxxThrowException
nop
test rdi, rdi
je 0x7fffb6d8d1e4
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop
test rbx, rbx
je 0x7fffb6d8d1f3
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop
mov rax, r15
jmp 0x7fffb6d8d2b5
mov qword [rsp + 0x20], rbx
lea r9, str.Invalid_Job_Base_Target_Path:__s
lea r8, str.CJob::CJob
mov edx, 0xd3
lea rcx, str.onecore_basecompressdpx_srcdpxjob.cpp
call fcn.7fffb6d96d30
mov r9d, 0x80070003
mov r8d, 0x2021a
lea rcx, [rbp - 8]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 8]
call sub.msvcrt.dll__CxxThrowException
int3
mov qword [rsp + 0x20], rbx
lea r9, str.Invalid_Job_Target_Path:__s
lea r8, str.CJob::CJob
mov edx, 0xc8
lea rcx, str.onecore_basecompressdpx_srcdpxjob.cpp
call fcn.7fffb6d96d30
mov r9d, 0x80070003
mov r8d, 0x2021a
lea rcx, [rbp]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp]
call sub.msvcrt.dll__CxxThrowException
nop
mov r9d, 0x80070057
mov r8d, 0x2021b
lea rcx, [rbp - 0x78]
call fcn.7fffb6d81278
lea rdx, [0x7fffb6df49d0]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.7fffb6dcff80
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret