Function at 0x140006700
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rbp + 0x750], rax
call fcn.140006a60
mov rcx, rax
call fcn.140003560
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1400082d0
mov rcx, rax
mov rdi, rax
call fcn.140008bd0
mov rcx, qword [rdi + 0x70]
mov rbx, rax
test rcx, rcx
je 0x14000676e
call fcn.1400164d4
mov qword [rdi + 0x70], 0
mov rcx, rdi
call fcn.1400164d4
mov rcx, rsi
call fcn.1400164d4
test rbx, rbx
je 0x140006a33
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x830
call fcn.14000c5f0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
lea r8, str.PspCreateProcessNotifyRoutine
mov dword [rsp + 0x20], 0x58
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400067d2
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x1400067d4
xor eax, eax
xor edx, edx
mov qword [0x14004e220], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c5f0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
lea r8, str.PspCreateThreadNotifyRoutine
mov dword [rsp + 0x20], 0x58
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x140006826
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x140006828
xor eax, eax
xor edx, edx
mov qword [0x14004e228], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c5f0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
lea r8, str.PspLoadImageNotifyRoutine
mov dword [rsp + 0x20], 0x58
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x14000687a
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x14000687c
xor eax, eax
xor edx, edx
mov qword [0x14004e230], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c5f0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
lea r8, str.EtwThreatIntProvRegHandle
mov dword [rsp + 0x20], 0x58
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400068ce
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x1400068d0
xor eax, eax
lea r8, str.Protection
mov qword [0x14004e240], rax
lea rdx, str._EPROCESS
mov rcx, rbx
call fcn.140008f00
mov eax, eax
lea r8, str.GuidEntry
lea rdx, str._ETW_REG_ENTRY
mov qword [0x14004e238], rax
mov rcx, rbx
call fcn.140008f00
mov eax, eax
lea r8, str.ProviderEnableInfo
lea rdx, str._ETW_GUID_ENTRY
mov qword [0x14004e248], rax
mov rcx, rbx
call fcn.140008f00
mov eax, eax
lea rcx, [rsp + 0x20]
xor edx, edx
mov qword [0x14004e250], rax
mov r8d, 0x830
call fcn.14000c5f0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
lea r8, str.PsProcessType
mov dword [rsp + 0x20], 0x58
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x14000697f
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x140006981
xor eax, eax
xor edx, edx
mov qword [0x14004e258], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c5f0
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
lea r8, str.PsThreadType
mov dword [rsp + 0x20], 0x58
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400069d3
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x1400069d5
xor eax, eax
lea r8, str.CallbackList
mov qword [0x14004e260], rax
lea rdx, str._OBJECT_TYPE
mov rcx, rbx
call fcn.140008f00
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, eax
mov qword [0x14004e268], 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.1400164d4
mov rcx, rbx
mov qword [rbx], 0
call fcn.1400164d4
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.14000b2e0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret