Function at 0x180030220
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 [0x1801f5f20]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
lea rax, str.System32driversVBoxMouse.sys
xor edx, edx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x1d0]
lea rax, str.System32driversVBoxGuest.sys
mov r8d, 0x208
mov qword [rsp + 0x38], rax
lea rax, str.System32driversVBoxSF.sys
mov qword [rsp + 0x40], rax
lea rax, str.System32driversVBoxVideo.sys
mov qword [rsp + 0x48], rax
lea rax, str.System32_vboxdisp.dll
mov qword [rsp + 0x50], rax
lea rax, str.System32_vboxhook.dll
mov qword [rsp + 0x58], rax
lea rax, str.System32_vboxmrxnp.dll
mov qword [rsp + 0x60], rax
lea rax, str.System32_vboxogl.dll
mov qword [rsp + 0x68], rax
lea rax, str.System32_vboxoglarrayspu.dll
mov qword [rsp + 0x70], rax
lea rax, str.System32_vboxoglcrutil.dll
mov qword [rsp + 0x78], rax
lea rax, str.System32_vboxoglerrorspu.dll
mov qword [rbp - 0x80], rax
lea rax, str.System32_vboxoglfeedbackspu.dll
mov qword [rbp - 0x78], rax
lea rax, str.System32_vboxoglpackspu.dll
mov qword [rbp - 0x70], rax
lea rax, str.System32_vboxoglpassthroughspu.dll
mov qword [rbp - 0x68], rax
lea rax, str.System32_vboxservice.exe
mov qword [rbp - 0x60], rax
lea rax, str.System32_vboxtray.exe
mov qword [rbp - 0x58], rax
lea rax, str.System32VBoxControl.exe
mov qword [rbp - 0x50], rax
call fcn.1801530a0
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x208
call fcn.1801530a0
xor edi, edi
lea rcx, [rbp + 0x1d0]
mov edx, 0x104
mov qword [rsp + 0x28], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.180033010
test eax, eax
je 0x180030367
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov esi, edi
mov rbx, rdi
nop dword [rax]
mov r8, qword [rsp + rbx*8 + 0x30]
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
lea rcx, [rbp + 0x3e0]
mov r8d, 0x200
call fcn.1801530a0
lea r9, [rbp - 0x40]
mov edx, 0x100
lea r8, str.Checking_file__s
lea rcx, [rbp + 0x3e0]
call fcn.1800301c0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800303c9
test al, 0x10
je 0x1800303d4
inc rbx
cmp rbx, 0x11
jl 0x180030370
jmp 0x1800303d9
mov esi, 1
lea r8, [0x1801fb670]
mov dword [rsp + 0x20], edi
mov rdx, r8
mov ecx, edi
nop dword [rax]
cmp dword [rdx], 8
je 0x180030402
inc ecx
add rdx, 0x30
cmp ecx, 0x1e
jb 0x1800303f0
jmp 0x180030461
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r8 + rcx*8 + 0x24], dil
je 0x180030461
mov eax, edi
mov rcx, r8
cmp dword [rcx], 8
je 0x18003042a
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x180030418
jmp 0x18003043f
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r8 + rcx*8 + 0x24], dil
je 0x18003043f
mov rdi, qword [r8 + 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 0x180030461
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov eax, esi
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.180131f30
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