Function at 0x14007e860
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.140001130
sub rsp, rax
mov rax, qword [0x1400f54e0]
xor rax, rsp
mov qword [rbp + 0x15e0], rax
cmp qword [0x140105c10], 0
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
mov r13, r9
mov r12d, r8d
mov r14, rdx
mov rsi, rcx
jne 0x14007e8de
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.140057f60
mov rdx, rsi
lea rcx, str.rtldrNativeLoadSystem__s____is_called_before_IPRT_has_configured_the_windows_loader__n
call fcn.140057f70
call fcn.140057fa0
int3
movzx eax, byte [0x140108e64]
test al, al
jne 0x14007e90b
mov rcx, qword [0x140105c90]
lea rdx, str.RtlDosApplyFileIsolationRedirection_Ustr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140108e68], rax
mov byte [0x140108e64], 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 0x14007e93c
lea eax, [r15 - 0x44]
jmp 0x14007ebe8
mov qword [rsp + 0x1700], rbx
xor ebx, ebx
cmp qword [0x140108e68], rbx
mov qword [rsp + 0x16f8], rdi
je 0x14007eb47
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.14005b270
test eax, eax
js 0x14007eb47
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, [0x1400c4388]
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 [0x140108e68]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x58], rbx
call qword [case.0x140035d81.0]
test eax, eax
js 0x14007eb47
mov rdi, qword [rsp + 0x58]
mov r11d, ebx
mov r9d, ebx
movzx r10d, word [rdi]
test r10, r10
je 0x14007eb3c
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 0x14007eaa1
cmp edx, 0x2f
je 0x14007eaa1
cmp dx, cx
je 0x14007ea9c
cmp edx, 0x7f
jae 0x14007eaf1
cmp ecx, 0x7f
jae 0x14007eaf1
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 0x14007eaf1
inc r9
jmp 0x14007eae8
cmp ecx, 0x5c
je 0x14007eaab
cmp ecx, 0x2f
jne 0x14007eaf1
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 0x14007eaf1
movzx ecx, word [rdx + rax]
cmp cx, 0x5c
je 0x14007eadc
cmp cx, 0x2f
jne 0x14007eae8
cmp word [rax], 0x5c
je 0x14007eac0
cmp word [rax], 0x2f
je 0x14007eac0
cmp r9, r10
jb 0x14007ea50
xor ebx, ebx
cmp r11d, 2
jb 0x14007eb3c
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.1400594a0
test eax, eax
lea rcx, [rsp + 0x68]
cmovns r15d, ebx
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test r15d, r15d
jns 0x14007ebac
jmp 0x14007eb47
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.1400594a0
test eax, eax
js 0x14007ebd8
mov r8, rsi
lea rcx, [rbp + 0x5d0]
mov edx, 0x1004
call fcn.140050610
test r14, r14
je 0x14007eba8
test eax, eax
js 0x14007ebd8
mov r8, r14
lea rcx, [rbp + 0x5d0]
mov edx, 0x1004
call fcn.14006eb20
test eax, eax
js 0x14007ebd8
lea rcx, [rbp + 0x5d0]
call fcn.140036eb0
test al, al
je 0x14007ebd3
xor r9d, r9d
lea rcx, [rbp + 0x5d0]
mov r8d, r12d
mov rdx, r13
call fcn.1400598a0
jmp 0x14007ebd8
mov eax, 0xfffffd9e
mov rdi, qword [rsp + 0x16f8]
mov rbx, qword [rsp + 0x1700]
mov rcx, qword [rbp + 0x15e0]
xor rcx, rsp
call fcn.140001270
add rsp, 0x1708
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret