Function at 0x140006650
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 [0x14003a018]
xor rax, rsp
mov qword [rbp + 0x750], rax
call fcn.1400069b0
mov rcx, rax
call fcn.140003630
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140007890
mov rcx, rax
mov rdi, rax
call fcn.140008600
mov rcx, qword [rdi + 0x70]
mov rbx, rax
test rcx, rcx
je 0x1400066be
call fcn.14000e90c
mov qword [rdi + 0x70], 0
mov rcx, rdi
call fcn.14000e90c
mov rcx, rsi
call fcn.14000e90c
test rbx, rbx
je 0x140006987
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x830
call fcn.14000c2a0
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]
mov rdi, qword [rbx + 8]
test eax, eax
je 0x140006725
mov rax, qword [rsp + 0x58]
sub rax, rdi
jmp 0x140006727
xor eax, eax
xor edx, edx
mov qword [0x14003c1e0], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c2a0
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
lea r8, str.PspCreateThreadNotifyRoutine
mov dword [rsp + 0x20], 0x58
mov rdx, rdi
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
mov rdi, qword [rbx + 8]
test eax, eax
je 0x14000677b
mov rax, qword [rsp + 0x58]
sub rax, rdi
jmp 0x14000677d
xor eax, eax
xor edx, edx
mov qword [0x14003c1e8], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c2a0
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
lea r8, str.PspLoadImageNotifyRoutine
mov dword [rsp + 0x20], 0x58
mov rdx, rdi
mov dword [rsp + 0x70], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x1400067ce
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x1400067d0
xor eax, eax
xor edx, edx
mov qword [0x14003c1f0], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c2a0
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 0x140006822
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x140006824
xor eax, eax
lea r8, str.Protection
mov qword [0x14003c200], rax
lea rdx, str._EPROCESS
mov rcx, rbx
call fcn.140008970
mov eax, eax
lea r8, str.GuidEntry
lea rdx, str._ETW_REG_ENTRY
mov qword [0x14003c1f8], rax
mov rcx, rbx
call fcn.140008970
mov eax, eax
lea r8, str.ProviderEnableInfo
lea rdx, str._ETW_GUID_ENTRY
mov qword [0x14003c208], rax
mov rcx, rbx
call fcn.140008970
mov eax, eax
lea rcx, [rsp + 0x20]
xor edx, edx
mov qword [0x14003c210], rax
mov r8d, 0x830
call fcn.14000c2a0
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 0x1400068d3
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x1400068d5
xor eax, eax
xor edx, edx
mov qword [0x14003c218], rax
mov r8d, 0x830
lea rcx, [rsp + 0x20]
call fcn.14000c2a0
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 0x140006927
mov rax, qword [rsp + 0x58]
sub rax, qword [rbx + 8]
jmp 0x140006929
xor eax, eax
lea r8, str.CallbackList
mov qword [0x14003c220], rax
lea rdx, str._OBJECT_TYPE
mov rcx, rbx
call fcn.140008970
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, eax
mov qword [0x14003c228], 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.14000e90c
mov rcx, rbx
mov qword [rbx], 0
call fcn.14000e90c
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.14000b000
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