Function at 0x1400035b0
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 - 0x770]
sub rsp, 0x870
mov rax, qword [0x140036008]
xor rax, rsp
mov qword [rbp + 0x760], rax
lea rbx, [0x140038450]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400035f0
test rax, rax
jne 0x14000361d
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._ntoskrnl.exe
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rbx
call fcn.140005420
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1400047e0
mov rcx, rax
mov rdi, rax
call fcn.140004e90
mov rcx, qword [rdi + 0x80]
mov rbx, rax
test rcx, rcx
je 0x14000365c
call fcn.14000bcb0
mov qword [rdi + 0x80], 0
mov rcx, rdi
call fcn.14000bcb0
mov rcx, rsi
call fcn.14000bcb0
test rbx, rbx
je 0x140003969
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x830
call fcn.1400075a0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.PspCreateProcessNotifyRoutine
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
mov rdi, qword [rbx + 8]
test eax, eax
je 0x1400036c2
mov rax, qword [rsp + 0x68]
sub rax, rdi
jmp 0x1400036c4
xor eax, eax
xor edx, edx
mov qword [0x1400381f0], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.1400075a0
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
lea r8, str.PspCreateThreadNotifyRoutine
mov dword [rsp + 0x30], 0x58
mov rdx, rdi
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
mov rdi, qword [rbx + 8]
test eax, eax
je 0x140003717
mov rax, qword [rsp + 0x68]
sub rax, rdi
jmp 0x140003719
xor eax, eax
xor edx, edx
mov qword [0x1400381f8], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.1400075a0
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
lea r8, str.PspLoadImageNotifyRoutine
mov dword [rsp + 0x30], 0x58
mov rdx, rdi
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x140003769
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x14000376b
xor eax, eax
xor edx, edx
mov qword [0x140038200], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.1400075a0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.EtwThreatIntProvRegHandle
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400037bc
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x1400037be
xor eax, eax
lea r8, str.Protection
mov qword [0x140038210], rax
lea rdx, str._EPROCESS
mov rcx, rbx
call fcn.140005220
mov eax, eax
lea r8, str.GuidEntry
lea rdx, str._ETW_REG_ENTRY
mov qword [0x140038208], rax
mov rcx, rbx
call fcn.140005220
mov eax, eax
lea r8, str.ProviderEnableInfo
lea rdx, str._ETW_GUID_ENTRY
mov qword [0x140038218], rax
mov rcx, rbx
call fcn.140005220
mov eax, eax
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [0x140038220], rax
mov r8d, 0x830
call fcn.1400075a0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.PsProcessType
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x14000386c
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x14000386e
xor eax, eax
xor edx, edx
mov qword [0x140038228], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.1400075a0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.PsThreadType
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400038bf
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x1400038c1
xor eax, eax
lea r8, str.CallbackList
mov qword [0x140038230], rax
lea rdx, str._OBJECT_TYPE
mov rcx, rbx
call fcn.140005220
mov eax, eax
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [0x140038238], rax
mov r8d, 0x830
call fcn.1400075a0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.SeCiCallbacks
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x140003931
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x140003933
xor eax, eax
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov qword [0x140038240], rax
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, qword [rbx]
call fcn.14000bcb0
mov rcx, rbx
mov qword [rbx], 0
call fcn.14000bcb0
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140006640
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret