Function at 0x140013f40
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 - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
lea rax, str.System32drivers_vmnet.sys
xor esi, esi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x3b2]
lea rax, str.System32drivers_vmmouse.sys
mov word [rbp + 0x3b0], si
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, str.System32drivers_vmusb.sys
mov r8d, 0x206
mov qword [rsp + 0x30], rax
lea rax, str.System32drivers_vm3dmp.sys
mov qword [rsp + 0x38], rax
lea rax, str.System32drivers_vmci.sys
mov qword [rsp + 0x40], rax
lea rax, str.System32drivers_vmhgfs.sys
mov qword [rsp + 0x48], rax
lea rax, str.System32drivers_vmmemctl.sys
mov qword [rsp + 0x50], rax
lea rax, str.System32drivers_vmx86.sys
mov qword [rsp + 0x58], rax
lea rax, str.System32drivers_vmrawdsk.sys
mov qword [rsp + 0x60], rax
lea rax, str.System32drivers_vmusbmouse.sys
mov qword [rsp + 0x68], rax
lea rax, str.System32drivers_vmkdb.sys
mov qword [rsp + 0x70], rax
lea rax, str.System32drivers_vmnetuserif.sys
mov qword [rsp + 0x78], rax
lea rax, str.System32drivers_vmnetadapter.sys
mov qword [rbp - 0x80], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov word [rbp + 0x1a0], si
mov r8d, 0x206
lea rcx, [rbp + 0x1a2]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
mov qword [rbp - 0x70], rsi
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.140014c60
test eax, eax
je 0x14001406c
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov rdi, rsi
nop
mov r8, qword [rsp + rdi*8 + 0x20]
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
mov word [rbp - 0x60], si
mov r8d, 0x1fe
lea rcx, [rbp - 0x5e]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x1a0]
mov edx, pe_nt_image_headers64
lea r8, str.Checking_file__s
lea rcx, [rbp - 0x60]
call fcn.14000b460
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001411c
test al, 0x10
jne 0x14001411c
lea rdx, [rbp - 0x60]
lea rcx, str.____s
call fcn.14000b0a0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x1400140f0
mov ebx, 0x5f
sub rbx, rax
je 0x140014115
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, 1
jne 0x140014103
mov ecx, 1
jmp 0x140014164
lea rdx, [rbp - 0x60]
lea rcx, str.____s
call fcn.14000b0a0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140014137
mov ebx, 0x5f
sub rbx, rax
je 0x140014162
nop word [rax + rax]
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, 1
jne 0x140014150
mov ecx, esi
lea rdx, [rbp - 0x60]
call fcn.140014610
inc rdi
cmp rdi, 0xd
jl 0x140014070
call fcn.140014c60
test eax, eax
je 0x14001418d
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.1400177b0
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret