Function at 0x140012920
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
push rbp
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
lea rax, str.System32driversVBoxMouse.sys
xor esi, esi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x3d2]
lea rax, str.System32driversVBoxGuest.sys
mov word [rbp + 0x3d0], si
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, str.System32driversVBoxSF.sys
mov r8d, 0x206
mov qword [rsp + 0x30], rax
lea rax, str.System32driversVBoxVideo.sys
mov qword [rsp + 0x38], rax
lea rax, str.System32_vboxdisp.dll
mov qword [rsp + 0x40], rax
lea rax, str.System32_vboxhook.dll
mov qword [rsp + 0x48], rax
lea rax, str.System32_vboxmrxnp.dll
mov qword [rsp + 0x50], rax
lea rax, str.System32_vboxogl.dll
mov qword [rsp + 0x58], rax
lea rax, str.System32_vboxoglarrayspu.dll
mov qword [rsp + 0x60], rax
lea rax, str.System32_vboxoglcrutil.dll
mov qword [rsp + 0x68], rax
lea rax, str.System32_vboxoglerrorspu.dll
mov qword [rsp + 0x70], rax
lea rax, str.System32_vboxoglfeedbackspu.dll
mov qword [rsp + 0x78], rax
lea rax, str.System32_vboxoglpackspu.dll
mov qword [rbp - 0x80], rax
lea rax, str.System32_vboxoglpassthroughspu.dll
mov qword [rbp - 0x78], rax
lea rax, str.System32_vboxservice.exe
mov qword [rbp - 0x70], rax
lea rax, str.System32_vboxtray.exe
mov qword [rbp - 0x68], rax
lea rax, str.System32VBoxControl.exe
mov qword [rbp - 0x60], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov word [rbp + 0x1c0], si
mov r8d, 0x206
lea rcx, [rbp + 0x1c2]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
mov qword [rbp - 0x50], rsi
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.140014c60
test eax, eax
je 0x140012a78
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov rdi, rsi
nop dword [rax + rax]
mov r8, qword [rsp + rdi*8 + 0x20]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
mov word [rbp - 0x40], si
mov r8d, 0x1fe
lea rcx, [rbp - 0x3e]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x1c0]
mov edx, pe_nt_image_headers64
lea r8, str.Checking_file__s
lea rcx, [rbp - 0x40]
call fcn.14000b460
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012b2c
test al, 0x10
jne 0x140012b2c
lea rdx, [rbp - 0x40]
lea rcx, str.____s
call fcn.14000b0a0
lea rcx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x140012b00
mov ebx, 0x5f
sub rbx, rax
je 0x140012b25
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, 1
jne 0x140012b13
mov ecx, 1
jmp 0x140012b74
lea rdx, [rbp - 0x40]
lea rcx, str.____s
call fcn.14000b0a0
lea rcx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140012b47
mov ebx, 0x5f
sub rbx, rax
je 0x140012b72
nop word [rax + rax]
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, 1
jne 0x140012b60
mov ecx, esi
lea rdx, [rbp - 0x40]
call fcn.140014610
inc rdi
cmp rdi, 0x11
jl 0x140012a80
call fcn.140014c60
test eax, eax
je 0x140012b9d
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.1400177b0
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret