Function at 0x18005f440
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 [0x180140f20]
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.1800a8ae0
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call fcn.1800a8ae0
xor edi, edi
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
mov qword [rsp + 0x28], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r14, [0x180142ea0]
mov dword [rsp + 0x20], edi
mov rcx, r14
mov eax, edi
nop dword [rax]
cmp dword [rcx], 8
je 0x18005f572
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x18005f560
jmp 0x18005f5bf
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x18005f5bf
mov eax, edi
mov rcx, r14
cmp dword [rcx], 8
je 0x18005f634
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x18005f587
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 0x18005f5bf
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.1800a8ae0
lea r9, [rbp - 0x60]
mov edx, 0x100
lea r8, str.Checking_file__s
lea rcx, [rbp + 0x3c0]
call fcn.18005dd20
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005f629
test al, 0x10
je 0x18005f652
inc rbx
cmp rbx, 0xd
jl 0x18005f5d0
jmp 0x18005f657
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x18005f59b
mov rbx, qword [r14 + rcx*8 + 0x28]
jmp 0x18005f59e
mov esi, 1
mov dword [rsp + 0x20], edi
mov ecx, edi
mov rdx, r14
cmp dword [rdx], 8
je 0x18005f672
inc ecx
add rdx, 0x30
cmp ecx, 0x1e
jb 0x18005f660
jmp 0x18005f6d1
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x18005f6d1
mov eax, edi
mov rcx, r14
cmp dword [rcx], 8
je 0x18005f69a
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x18005f688
jmp 0x18005f6af
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], dil
je 0x18005f6af
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 0x18005f6d1
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov eax, esi
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.1800871a0
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