Function at 0x14000f290
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400a0f20]
xor rax, rsp
mov qword [rbp + 0x140], rax
lea rdx, str.vgsvcPageSharingInspectGuest_n
mov ecx, 3
call fcn.140002470
xor esi, esi
cmp qword [0x1400a4b48], rsi
mov qword [rsp + 0x38], rsi
je 0x14000f3a4
cmp qword [0x1400a4b50], rsi
je 0x14000f3a4
cmp qword [0x1400a4b58], rsi
je 0x14000f3a4
cmp qword [0x1400a4b60], rsi
je 0x14000f3a4
mov rax, qword [0x1400a4b40]
test rax, rax
je 0x14000f3a4
xor edx, edx
lea ecx, [rsi + 2]
call qword [case.0x14004be35.0]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000f345
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.vgsvcPageSharingInspectGuest:_CreateToolhelp32Snapshot_failed_with__d_n
lea ecx, [rsi + 3]
call fcn.140002470
jmp 0x14000f766
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov edi, eax
mov rcx, rbx
mov rax, qword [0x1400a4b48]
call qword [case.0x14004be35.0]
nop word [rax + rax]
mov ecx, dword [rsp + 0x48]
cmp ecx, edi
je 0x14000f382
lea rdx, [rsp + 0x38]
call fcn.14000f790
mov rax, qword [0x1400a4b50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [case.0x14004be35.0]
test eax, eax
jne 0x14000f370
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1400a4b78]
test rax, rax
je 0x14000f73f
xor r8d, r8d
mov dword [rsp + 0x30], esi
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x30]
lea ecx, [r8 + 0xb]
call qword [case.0x14004be35.0]
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14000f3eb
lea rdx, str.ZwQuerySystemInformation_returned_length_0_n
lea ecx, [rax + 1]
call fcn.140002470
jmp 0x14000f73f
mov rcx, rax
mov qword [rsp + 0x278], r14
lea rdx, [0x140054850]
call fcn.14001ed50
mov r14, rax
test rax, rax
je 0x14000f737
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0xb
mov rax, qword [0x1400a4b78]
call qword [case.0x14004be35.0]
test eax, eax
je 0x14000f44a
mov r8d, eax
lea rdx, str.ZwQuerySystemInformation_returned__x__1__n
mov ecx, 1
call fcn.140002470
jmp 0x14000f72f
cmp dword [r14], esi
jbe 0x14000f72f
mov qword [rsp + 0x270], r12
mov qword [rsp + 0x280], r15
nop dword [rax]
nop word [rax + rax]
mov eax, esi
lea rdx, str._n_n___KERNEL__MODULE_NAME:______s
imul r15, rax, 0x128
mov ecx, 4
movzx eax, word [r15 + r14 + 0x2e]
add rax, r15
movzx r8d, byte [rax + r14 + 0x30]
call fcn.140002470
lea rdi, [r14 + 0x30]
mov ecx, 4
add rdi, r15
lea rdx, str._n_____executable_______s
mov r8, rdi
call fcn.140002470
mov r8d, dword [r15 + r14 + 0x24]
lea rdx, str._n_____flags___________0x_08X_n
mov ecx, 4
call fcn.140002470
cmp dword [r15 + r14 + 0x24], 0
je 0x14000f714
mov rdx, qword [r15 + r14 + 0x18]
lea rcx, [rsp + 0x38]
call fcn.140034b50
test rax, rax
jne 0x14000f714
mov rdx, qword [r15 + r14 + 0x18]
lea rcx, [0x1400a4a20]
call fcn.140034d90
mov rbx, rax
test rax, rax
jne 0x14000f707
lea rdx, [0x140054850]
mov ecx, 0x270
call fcn.14001ed50
mov rbx, rax
test rax, rax
je 0x14000f71f
movzx eax, word [r15 + r14 + 0x2e]
lea rdx, [r14 + 0x30]
add rax, r15
lea rcx, [rbx + 0x68]
add rdx, rax
call sym.NetMonitor.exe_nocrt_strcpy
mov edx, 0x200
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [r14 + 0x31]
mov edx, 0x5c
add rcx, r15
call sym.NetMonitor.exe_nocrt_strchr
test rax, rax
jne 0x14000f638
lea r8, [0x140057ec8]
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.1400350a0
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x200
call fcn.1400350a0
lea r8, [rsp + 0x40]
mov ecx, 3
lea rdx, str.Unexpected_kernel_module_name_try__s_n
call fcn.140002470
lea rcx, [rsp + 0x40]
call fcn.140034ff0
test al, al
jne 0x14000f666
mov edx, 0x200
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, str.drivers_
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.1400350a0
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x200
call fcn.1400350a0
lea r8, [rsp + 0x40]
mov ecx, 3
lea rdx, str.Unexpected_kernel_module_name_try__s_n
call fcn.140002470
lea rcx, [rsp + 0x40]
call fcn.140034ff0
test al, al
jne 0x14000f666
lea rdx, str.Unexpected_kernel_module_name__s_n
mov r8, rdi
mov ecx, 1
call fcn.140002470
mov rcx, rbx
call fcn.14001ed80
jmp 0x14000f714
lea rcx, [rax + 1]
mov edx, 0x5c
call sym.NetMonitor.exe_nocrt_strchr
test rax, rax
jne 0x14000f654
lea rdx, str.Unexpected_kernel_module_name__s__2__n
jmp 0x14000f61e
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 0x200
call fcn.1400350a0
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x168]
call sym.NetMonitor.exe_nocrt_strcpy
mov rax, qword [r15 + r14 + 0x18]
xor edx, edx
mov qword [rbx + 0x50], rax
mov rcx, rbx
mov eax, dword [r15 + r14 + 0x20]
mov dword [rbx + 0x58], eax
mov rax, qword [r15 + r14 + 0x18]
mov qword [rbx], rax
call fcn.14000fa50
lea r8, [rbx + 0x68]
mov ecx, 3
lea rdx, str._n_n___KERNEL__MODULE_NAME:______s
call fcn.140002470
lea r8, [rbx + 0x168]
mov ecx, 3
lea rdx, str._n_____executable_______s
call fcn.140002470
mov r8, qword [rbx + 0x50]
lea rdx, str._n_____base_address_____010p
mov ecx, 3
call fcn.140002470
mov r8d, dword [r15 + r14 + 0x24]
lea rdx, str._n_____flags___________0x_08X
mov ecx, 3
call fcn.140002470
mov r8d, dword [rbx + 0x58]
lea rdx, str._n_____base_size________d
mov ecx, 3
call fcn.140002470
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140034b80
inc esi
cmp esi, dword [r14]
jb 0x14000f470
mov r12, qword [rsp + 0x270]
mov r15, qword [rsp + 0x280]
mov rcx, r14
call fcn.14001ed80
mov r14, qword [rsp + 0x278]
xor r8d, r8d
lea rdx, [0x14000f210]
lea rcx, [0x1400a4a20]
call fcn.140034a60
call fcn.1400530b0
mov rax, qword [rsp + 0x38]
mov qword [0x1400a4a20], rax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140001250
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret