Function at 0x14006d1cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x7e8]
sub rsp, 0x8c0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
mov r9d, dword [0x140278510]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r10, qword [rax + r9*8]
mov eax, dword [rcx + r10]
cmp dword [0x140279188], eax
jle 0x14006d279
lea rcx, [0x140279188]
call fcn.140022ce0
cmp dword [0x140279188], 0xffffffff
jne 0x14006d279
xor eax, eax
mov byte [rsp + 0x30], al
lea rdx, [0x140279168]
lea rcx, [rsp + 0x30]
call fcn.14006a894
lea rcx, [0x1401796b0]
call fcn.140022924
nop
lea rcx, [0x140279188]
call fcn.140022c80
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x38]
call fcn.14006ff30
mov qword [rsp + 0x38], rax
test ebx, ebx
je 0x14006d370
sub ebx, 1
je 0x14006d35d
cmp ebx, 1
je 0x14006d2d6
lea r8, str.Pipeline::EnsureVirtualizationDlls:_Unexpected_platforms_value
lea edx, [r15 + 0x1d]
lea rcx, [rbp + 0x90]
call fcn.140026a4c
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rsp + 0x60], r15d
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call fcn.140069800
lea rcx, [rbp + 0x68]
call fcn.1400fea8c
nop
lea rdx, [0x1402718b0]
cmp qword [0x1402718c8], 8
cmovae rdx, qword [0x1402718b0]
cmp qword [rax + 0x18], 8
jb 0x14006d324
mov rax, qword [rax]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rcx, rax
call fcn.140006f18
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x68]
call fcn.140007eb8
test bl, bl
je 0x14006d393
mov dword [rsp + 0x64], 1
lea r9, [rsp + 0x64]
lea rdx, [rbp - 0x28]
jmp 0x14006d37e
mov dword [rsp + 0x58], 1
lea r9, [rsp + 0x58]
lea rdx, [rbp - 0x58]
jmp 0x14006d37e
mov dword [rsp + 0x5c], r15d
lea r9, [rsp + 0x5c]
lea rdx, [rbp - 0x38]
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.140069800
mov rax, qword [0x140279138]
mov rbx, qword [rax]
mov qword [rbp - 0x70], rbx
mov qword [rsp + 0x68], rax
cmp rbx, rax
je 0x14006d639
lea r13, [0x140279100]
mov qword [rbp], 7
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x18]
call fcn.1400082c0
nop
mov r8d, dword [rbx + 0x40]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 8]
mov rdx, rcx
jmp 0x14006d400
cmp dword [rax + 0x1c], r8d
jge 0x14006d3fa
mov rax, qword [rax + 0x10]
jmp 0x14006d400
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x14006d3ee
mov qword [rbp - 0x60], rcx
cmp rdx, rcx
je 0x14006d41b
cmp r8d, dword [rdx + 0x1c]
jl 0x14006d41b
mov qword [rbp - 0x68], rdx
jmp 0x14006d422
mov qword [rbp - 0x78], rcx
mov rdx, rcx
mov qword [rsp + 0x78], rcx
cmp rdx, rcx
je 0x14006d594
lea r8, [rbp - 0x18]
mov rdx, r14
lea rcx, [rbp + 8]
call fcn.140037aa4
nop
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], r15d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rsp + 0x50], eax
inc eax
cmp eax, 1
jne 0x14006d486
cmp dword [rsp + 0x54], r15d
je 0x14006d47c
mov ecx, 0x103753
call fcn.140013b28
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x54], eax
lea rcx, [rbp + 8]
call fcn.14002a2a4
test al, al
jne 0x14006d57a
cmp qword [rsi + 0x10], r15
sete al
test al, al
jne 0x14006d4f5
lea r8, [rbp - 0x18]
mov rdx, rsi
lea rcx, [rbp + 0x28]
call fcn.140037aa4
lea rcx, [rbp + 0x28]
call fcn.14002a2a4
test al, al
je 0x14006d4e7
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006d4e7
bt eax, 0xa
jae 0x14006d4e7
lea rcx, [rbp + 0x28]
jmp 0x14006d56f
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x28]
call fcn.140007eb8
lea r8, [rbp - 0x18]
lea rdx, [0x140279168]
lea rcx, [rbp + 0x48]
call fcn.140037aa4
nop
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, str.Pipeline::EnsureVirtualizationDlls:_SymLinking__s_____s
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x6a3512
lea r8d, [rdx + 0x56]
call fcn.140067aa4
mov rcx, r14
call fcn.14002dbf8
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rdx, qword [rbp + 0x48]
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
test al, al
je 0x14006d5f2
lea rcx, [rbp + 0x48]
xor r8d, r8d
mov dl, 1
call fcn.140007eb8
nop
lea rcx, [rsp + 0x48]
call fcn.1400165c0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 8]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.140007eb8
cmp byte [rbx + 0x19], r15b
jne 0x14006d5dc
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
jne 0x14006d5c0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x14006d5b2
jmp 0x14006d5dc
mov rax, qword [rbx + 8]
jmp 0x14006d5d3
cmp rbx, qword [rax + 0x10]
jne 0x14006d5d9
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x14006d5c6
mov rbx, rax
mov rax, qword [0x140279138]
mov qword [rsp + 0x68], rax
cmp rbx, rax
je 0x14006d639
jmp 0x14006d3b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, str.Pipeline::EnsureVirtualizationDlls:_Failied_to_create_SymLink__s_____s.
mov edx, 0x58
lea rcx, [rbp + 0x420]
call fcn.140067564
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x420]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov r8, qword [rsp + 0x38]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140070fe0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret