Function at 0x140007650
Capabilities:
Delete file
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 [0x140051018]
xor rax, rsp
mov qword [rbp + 0x760], rax
lea rbx, [0x1400534a0]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x140007690
test rax, rax
jne 0x1400076bd
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.140004410
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1400097c0
mov rcx, rax
mov rdi, rax
call fcn.14000b280
mov rcx, qword [rdi + 0x80]
mov rbx, rax
test rcx, rcx
je 0x1400076fc
call fcn.1400183e4
mov qword [rdi + 0x80], 0
mov rcx, rdi
call fcn.1400183e4
mov rcx, rsi
call fcn.1400183e4
test rbx, rbx
je 0x140007a0e
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x830
call fcn.14000e900
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]
test eax, eax
je 0x14000775f
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x140007761
xor eax, eax
xor edx, edx
mov qword [0x140053240], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.14000e900
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.PspCreateThreadNotifyRoutine
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400077b2
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x1400077b4
xor eax, eax
xor edx, edx
mov qword [0x140053248], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.14000e900
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.PspLoadImageNotifyRoutine
mov dword [rsp + 0x30], 0x58
mov dword [rbp - 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x140007805
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x140007807
xor eax, eax
xor edx, edx
mov qword [0x140053250], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.14000e900
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 0x140007858
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x14000785a
xor eax, eax
lea r8, str.Protection
mov qword [0x140053260], rax
lea rdx, str._EPROCESS
mov rcx, rbx
call fcn.14000b620
mov eax, eax
lea r8, str.GuidEntry
lea rdx, str._ETW_REG_ENTRY
mov qword [0x140053258], rax
mov rcx, rbx
call fcn.14000b620
mov eax, eax
lea r8, str.ProviderEnableInfo
lea rdx, str._ETW_GUID_ENTRY
mov qword [0x140053268], rax
mov rcx, rbx
call fcn.14000b620
mov eax, eax
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [0x140053270], rax
mov r8d, 0x830
call fcn.14000e900
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 0x140007908
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x14000790a
xor eax, eax
xor edx, edx
mov qword [0x140053278], rax
mov r8d, 0x830
lea rcx, [rsp + 0x30]
call fcn.14000e900
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 0x14000795b
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x14000795d
xor eax, eax
lea r8, str.CallbackList
mov qword [0x140053280], rax
lea rdx, str._OBJECT_TYPE
mov rcx, rbx
call fcn.14000b620
mov eax, eax
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [0x140053288], rax
mov r8d, 0x830
call fcn.14000e900
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 0x1400079cd
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x1400079cf
xor eax, eax
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov qword [0x140053290], 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 qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx]
call fcn.1400183e4
mov rcx, rbx
mov qword [rbx], 0
call fcn.1400183e4
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14000d570
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