Function at 0x140084cdc
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 - 0x7b8]
sub rsp, 0x890
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
mov r9d, dword [0x140264b40]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r10, qword [rax + r9*8]
mov eax, dword [rcx + r10]
cmp dword [0x140264708], eax
jle 0x140084d84
lea rcx, [0x140264708]
call fcn.140122f84
cmp dword [0x140264708], 0xffffffff
jne 0x140084d84
lea rdx, [0x1402646e8]
lea rcx, [rsp + 0x30]
call fcn.140081fb4
lea rcx, [0x1401724a0]
call fcn.140122c20
nop
lea rcx, [0x140264708]
call fcn.140122f28
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x38]
call fcn.1400f06b0
mov qword [rsp + 0x38], rax
test ebx, ebx
je 0x140084e76
sub ebx, 1
je 0x140084e63
cmp ebx, 1
je 0x140084ddb
lea r8, str.Pipeline::EnsureVirtualizationDlls:_Unexpected_platforms_value
lea edx, [r15 + 0x1d]
lea rcx, [rbp + 0x60]
call fcn.140029a64
lea rdx, [0x1401e3810]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rsp + 0x58], r15d
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400efbd8
lea rcx, [rbp + 0x38]
call fcn.1400fb8a8
nop
lea rdx, [0x14025c9c0]
cmp qword [0x14025c9d8], 8
cmovae rdx, qword [0x14025c9c0]
cmp qword [rax + 0x18], 8
jb 0x140084e2a
mov rax, qword [rax]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rcx, rax
call fcn.1400076bc
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x38]
call fcn.14000867c
test bl, bl
je 0x140084e99
mov dword [rsp + 0x5c], 1
lea r9, [rsp + 0x5c]
lea rdx, [rbp - 0x78]
jmp 0x140084e84
mov dword [rsp + 0x60], 1
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x68]
jmp 0x140084e84
mov dword [rsp + 0x64], r15d
lea r9, [rsp + 0x64]
lea rdx, [rbp - 0x58]
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.1400efbd8
mov rax, qword [0x140264698]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140085125
lea r13, [0x140264660]
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x48]
call fcn.140008a84
nop
mov r8d, dword [rbx + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rdx + 8]
mov rcx, rdx
cmp byte [rax + 0x19], r15b
jne 0x140084f12
cmp dword [rax + 0x1c], r8d
jge 0x140084efb
mov rax, qword [rax + 0x10]
jmp 0x140084f01
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x140084eef
cmp rcx, rdx
je 0x140084f12
cmp r8d, dword [rcx + 0x1c]
jge 0x140084f15
mov rcx, rdx
cmp rcx, rdx
je 0x140085079
lea r8, [rbp - 0x48]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.14000ffc4
nop
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rsp + 0x50], eax
test eax, eax
jne 0x140084f6b
cmp dword [rsp + 0x54], r15d
sete al
test al, al
je 0x1400850cf
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rsp + 0x54], eax
lea rcx, [rbp - 0x28]
call fcn.140010638
test al, al
jne 0x14008505f
cmp qword [rsi + 0x10], r15
sete al
test al, al
jne 0x140084fda
lea r8, [rbp - 0x48]
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.14000ffc4
lea rcx, [rbp - 8]
call fcn.140010638
test al, al
je 0x140084fcc
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140084fcc
bt eax, 0xa
jae 0x140084fcc
lea rcx, [rbp - 8]
jmp 0x140085054
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 8]
call fcn.14000867c
lea r8, [rbp - 0x48]
lea rdx, [0x1402646e8]
lea rcx, [rbp + 0x18]
call fcn.14000ffc4
nop
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
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.14003f600
mov rcx, r14
call fcn.1400228c8
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
test al, al
je 0x1400850de
lea rcx, [rbp + 0x18]
xor r8d, r8d
mov dl, 1
call fcn.14000867c
nop
lea rcx, [rsp + 0x48]
call fcn.140014f04
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.14000867c
cmp byte [rbx + 0x19], r15b
jne 0x1400850c1
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
jne 0x1400850a5
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r15b
je 0x140085097
jmp 0x1400850c1
mov rax, qword [rbx + 8]
jmp 0x1400850b8
cmp rbx, qword [rax + 0x10]
jne 0x1400850be
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x1400850ab
mov rbx, rax
cmp rbx, qword [0x140264698]
je 0x140085125
jmp 0x140084eb3
mov dword [0], 1
xor ecx, ecx
int 0x29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, str.Pipeline::EnsureVirtualizationDlls:_Failied_to_create_SymLink__s_____s.
mov edx, 0x58
lea rcx, [rbp + 0x3f0]
call fcn.140080408
lea rdx, [0x1401e3810]
lea rcx, [rbp + 0x3f0]
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.140012700
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.140121d80
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret