Function at 0x18000a8b0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1608]
mov eax, 0x1708
call fcn.180001020
sub rsp, rax
mov rax, qword [0x180051010]
xor rax, rsp
mov qword [rbp + 0x15e0], rax
cmp qword [0x180052ec0], 0
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
mov r13, r9
mov r12d, r8d
mov r14, rdx
mov rsi, rcx
jne 0x18000a92e
lea r9, str.int___cdecl_rtldrNativeLoadSystem_const_char__const_char__unsigned_int_struct_RTLDRMODINTERNAL__
mov r8, rax
mov edx, 0xbf
lea rcx, str.g_hModKernel32
call fcn.18000cf90
mov rdx, rsi
lea rcx, str.rtldrNativeLoadSystem__s____is_called_before_IPRT_has_configured_the_windows_loader__n
call fcn.18000cfa0
call fcn.18000cfd0
int3
movzx eax, byte [0x180054094]
test al, al
jne 0x18000a95b
mov rcx, qword [0x180052f40]
lea rdx, str.RtlDosApplyFileIsolationRedirection_Ustr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180054098], rax
mov byte [0x180054094], 1
lea rax, [rbp + 0x5d0]
mov edx, 0x104
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov r15d, 0xffffffcc
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jb 0x18000a98c
lea eax, [r15 - 0x44]
jmp 0x18000ac38
mov qword [rsp + 0x1700], rbx
xor ebx, ebx
cmp qword [0x180054098], rbx
mov qword [rsp + 0x16f8], rdi
je 0x18000ab97
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
mov r9d, 0x104
mov qword [rsp + 0x28], rax
lea rdx, [rbx - 1]
lea rax, [rsp + 0x50]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.18000f9a0
test eax, eax
js 0x18000ab97
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x3c0]
mov qword [rbp - 0x78], rax
lea r9, [rbp - 0x80]
movzx eax, word [rsp + 0x50]
lea r8, [0x180027598]
add ax, ax
mov qword [rsp + 0x38], rbx
mov word [rbp - 0x70], ax
lea rdx, [rbp - 0x70]
add ax, 2
mov qword [rsp + 0x30], rbx
mov word [rbp - 0x6e], ax
lea ecx, [rbx + 1]
lea rax, [rbp + 0x1b0]
mov dword [rbp - 0x80], 0x2060000
mov qword [rbp - 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov rax, qword [0x180054098]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x58], rbx
call qword [case.0x18001f8e5.0]
test eax, eax
js 0x18000ab97
mov rdi, qword [rsp + 0x58]
mov r11d, ebx
mov r9d, ebx
movzx r10d, word [rdi]
test r10, r10
je 0x18000ab8c
mov rbx, qword [rdi + 8]
nop word [rax + rax]
movzx edx, word [rbp + r9*2 - 0x60]
lea rax, [rbx + r9*2]
movzx ecx, word [rax]
cmp edx, 0x5c
je 0x18000aaf1
cmp edx, 0x2f
je 0x18000aaf1
cmp dx, cx
je 0x18000aaec
cmp edx, 0x7f
jae 0x18000ab41
cmp ecx, 0x7f
jae 0x18000ab41
mov r8d, edx
lea eax, [rcx - 0x41]
cmp eax, 0x1a
lea edx, [rcx + 0x20]
cmovae edx, ecx
lea eax, [r8 - 0x41]
cmp eax, 0x1a
lea ecx, [r8 + 0x20]
cmovae ecx, r8d
cmp ecx, edx
jne 0x18000ab41
inc r9
jmp 0x18000ab38
cmp ecx, 0x5c
je 0x18000aafb
cmp ecx, 0x2f
jne 0x18000ab41
xor ecx, ecx
lea rdx, [rbp - 0x60]
test r9, r9
setne cl
add r11d, ecx
sub rdx, rbx
nop dword [rax]
inc r9
lea rax, [rax + 2]
cmp r9, r10
jae 0x18000ab41
movzx ecx, word [rdx + rax]
cmp cx, 0x5c
je 0x18000ab2c
cmp cx, 0x2f
jne 0x18000ab38
cmp word [rax], 0x5c
je 0x18000ab10
cmp word [rax], 0x2f
je 0x18000ab10
cmp r9, r10
jb 0x18000aaa0
xor ebx, ebx
cmp r11d, 2
jb 0x18000ab8c
movzx edx, word [rdi]
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9d, 0x1004
shr rdx, 1
mov qword [rsp + 0x20], rbx
call fcn.180005000
test eax, eax
lea rcx, [rsp + 0x68]
cmovns r15d, ebx
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test r15d, r15d
jns 0x18000abfc
jmp 0x18000ab97
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
mov r9d, 0x1004
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
lea rcx, [rbp - 0x60]
call fcn.180005000
test eax, eax
js 0x18000ac28
mov r8, rsi
lea rcx, [rbp + 0x5d0]
mov edx, 0x1004
call fcn.180016cf0
test r14, r14
je 0x18000abf8
test eax, eax
js 0x18000ac28
mov r8, r14
lea rcx, [rbp + 0x5d0]
mov edx, 0x1004
call fcn.180016d10
test eax, eax
js 0x18000ac28
lea rcx, [rbp + 0x5d0]
call fcn.180016c50
test al, al
je 0x18000ac23
xor r9d, r9d
lea rcx, [rbp + 0x5d0]
mov r8d, r12d
mov rdx, r13
call fcn.1800036a0
jmp 0x18000ac28
mov eax, 0xfffffd9e
mov rdi, qword [rsp + 0x16f8]
mov rbx, qword [rsp + 0x1700]
mov rcx, qword [rbp + 0x15e0]
xor rcx, rsp
call fcn.180001160
add rsp, 0x1708
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret