Function at 0x140008e40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140029040]
xor rax, rsp
mov qword [rbp + 0x210], rax
lea rdx, str.C:WindowsSystem32_
lea rcx, [rsp + 0x50]
call fcn.140013470
nop
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, rdi
xor esi, esi
cmp rax, 0xc
jb 0x140008ecf
lea rax, [rdi + 0xc]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 7
cmova rbx, qword [rsp + 0x50]
lea rcx, [rbx + rdi*2]
mov r8d, 0x18
lea rdx, str.ntoskrnl.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x18], si
jmp 0x140008eee
mov qword [rsp + 0x20], 0xc
lea r9, str.ntoskrnl.exe
mov edx, 0xc
lea rcx, [rsp + 0x50]
call fcn.140014f40
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x140008f42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERR_GetCurrentDirectoryW_failed:_n_terror__0x_08X_n
call fcn.140001180
jmp 0x1400090e1
lea rdx, [rbp]
lea rcx, str._INFO_NTOSKRNLPath:_ls_n
call fcn.140001180
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
lea rcx, str._INFO_NTOSKRNL___ls_n
call fcn.140001180
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400220e0]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], si
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], si
movups xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], si
mov byte [rbp - 0x10], al
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], rsi
mov dword [rbp - 0xc], esi
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call fcn.140013470
nop
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140016a20
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140009039
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009034
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b60
test ebx, ebx
je 0x14000912a
lea rcx, str._ERR_SYMBOL_PARSER::Initialize_failed:_n
call fcn.140001180
mov edx, ebx
lea rcx, str._tSymbolErr_____0x_08X_n
call fcn.140001180
mov edx, dword [rbp - 0xc]
lea rcx, str._tLastWin32Err___08X_n
call fcn.140001180
mov eax, dword [rbp - 0xc]
add eax, 0x7ff3fffb
cmp eax, 1
ja 0x140009084
lea rcx, str._tSymbol_file_not_found_on_Microsoft_Public_Symbol_Server_n
call fcn.140001180
nop
lea rcx, [rbp - 0x70]
call fcn.140016200
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400090cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009189
call fcn.140018b60
movdqa xmm0, xmmword [0x1400220e0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140009123
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000911e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091e0
call fcn.140018b60
xor eax, eax
jmp 0x1400091ec
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, str._INFO_DownLoad_NTOSKRNL_PDB_Success:_n_INFO_path___ls_n_n
call fcn.140001180
nop
lea rcx, [rbp - 0x70]
call fcn.140016200
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140009195
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009190
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009190
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b60
movdqa xmm0, xmmword [0x1400220e0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400091ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400091e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b60
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140018b40
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret