Function at 0x14002fa50
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
lea rax, str.System32drivers_vmnet.sys
xor edx, edx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x1b0]
lea rax, str.System32drivers_vmmouse.sys
mov r8d, 0x208
mov qword [rsp + 0x38], rax
lea rax, str.System32drivers_vmusb.sys
mov qword [rsp + 0x40], rax
lea rax, str.System32drivers_vm3dmp.sys
mov qword [rsp + 0x48], rax
lea rax, str.System32drivers_vmci.sys
mov qword [rsp + 0x50], rax
lea rax, str.System32drivers_vmhgfs.sys
mov qword [rsp + 0x58], rax
lea rax, str.System32drivers_vmmemctl.sys
mov qword [rsp + 0x60], rax
lea rax, str.System32drivers_vmx86.sys
mov qword [rsp + 0x68], rax
lea rax, str.System32drivers_vmrawdsk.sys
mov qword [rsp + 0x70], rax
lea rax, str.System32drivers_vmusbmouse.sys
mov qword [rsp + 0x78], rax
lea rax, str.System32drivers_vmkdb.sys
mov qword [rbp - 0x80], rax
lea rax, str.System32drivers_vmnetuserif.sys
mov qword [rbp - 0x78], rax
lea rax, str.System32drivers_vmnetadapter.sys
mov qword [rbp - 0x70], rax
call fcn.1400773b0
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call fcn.1400773b0
xor edi, edi
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
mov qword [rsp + 0x28], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r14, [0x1400f4370]
mov dword [rsp + 0x20], edi
mov rcx, r14
mov eax, edi
nop dword [rax]
cmp dword [rcx], 8
je 0x14002fb82
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002fb70
jmp 0x14002fbcf
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x14002fbcf
mov eax, edi
mov rcx, r14
cmp dword [rcx], 8
je 0x14002fc44
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002fb97
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call rbx
cmp dword [rsp + 0x20], edi
je 0x14002fbcf
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov esi, edi
mov rbx, rdi
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rsp + rbx*8 + 0x30]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
lea rcx, [rbp + 0x3c0]
mov r8d, 0x200
call fcn.1400773b0
lea r9, [rbp - 0x60]
mov edx, 0x100
lea r8, str.Checking_file__s
lea rcx, [rbp + 0x3c0]
call fcn.14002db30
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002fc39
test al, 0x10
je 0x14002fc62
inc rbx
cmp rbx, 0xd
jl 0x14002fbe0
jmp 0x14002fc67
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x14002fbab
mov rbx, qword [r14 + rcx*8 + 0x28]
jmp 0x14002fbae
mov esi, 1
mov dword [rsp + 0x20], edi
mov ecx, edi
mov rdx, r14
cmp dword [rdx], 8
je 0x14002fc82
inc ecx
add rdx, 0x30
cmp ecx, 0x1e
jb 0x14002fc70
jmp 0x14002fce1
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x14002fce1
mov eax, edi
mov rcx, r14
cmp dword [rcx], 8
je 0x14002fcaa
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002fc98
jmp 0x14002fcbf
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x14002fcbf
mov rdi, qword [r14 + rcx*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call rdi
cmp dword [rsp + 0x20], 0
je 0x14002fce1
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov eax, esi
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140057d50
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret