Function at 0x140001e80
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edi, edi
mov r15, rcx
test rcx, rcx
je 0x140001ed3
mov rax, qword [rcx]
test byte [rax], 2
jne 0x140001ec1
lea rcx, str.____Krnlmode_operation_failed:_missing_Krnlmode_mode_in_config
call fcn.1400014f0
lea eax, [rdi + 6]
jmp 0x1400021ba
mov ebp, dword [rax + 0x28]
lea rcx, str.___Checking_if_any_EDR_Kernel_callbacks_are_configured...
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__putws]
jmp 0x140001ed5
mov ebp, edi
mov edx, 0x3808
mov qword [rsp + 0xc0], rsi
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rsi, rax
test rax, rax
jne 0x140001f0a
lea rcx, str.____Couldnt_allocate_memory_to_enumerate_the_drivers_in_Kernel_callbacks
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__putws]
lea eax, [rsi + 0x13]
jmp 0x1400021b2
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x88], r13
test r15, r15
je 0x140001f2c
lea rcx, str.___Check_if_EDR_callbacks_are_registered_on_process___thread_creation__image_loading
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__putws]
mov r8d, ebp
mov qword [rsp + 0xc8], r12
mov rdx, rsi
xor ecx, ecx
call fcn.140004b00
mov r8d, ebp
mov rdx, rsi
mov ecx, 1
mov ebx, eax
call fcn.140004b00
mov r8d, ebp
mov rdx, rsi
mov ecx, 2
or ebx, eax
call fcn.140004b00
mov r13d, eax
or r13d, ebx
test r15, r15
je 0x140001ffc
test r13d, r13d
je 0x140001f81
mov dword [r15 + 0x10], 1
cmp dword [r15 + 0x10], edi
lea rax, [0x14000b750]
lea rdx, [0x14000b758]
cmovne rdx, rax
lea rcx, str.___Object_callbacks_have__sbeen_found
call fcn.1400014f0
lea rcx, str.___Check_if_EDR_callbacks_are_registered_on_processes_and_threads_handle_creation_duplication
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__putws]
mov rcx, rsi
call fcn.140003a50
mov r12d, eax
test eax, eax
je 0x140001fc7
mov dword [r15 + 0x14], 1
cmp dword [r15 + 0x14], edi
lea rax, str.present
lea rdx, str.not_found
cmovne rdx, rax
lea rcx, str.___Enabled_EDR_object_callbacks_are__s___n
call fcn.1400014f0
lea rcx, str.___Check_the_ETW_Threat_Intelligence_Provider_state
mov qword [r15 + 0x18], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__putws]
jmp 0x140002010
mov rcx, rsi
call fcn.140003a50
mov rcx, rsi
mov r12d, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, ebp
mov qword [rsp + 0x80], r14
call fcn.140004460
mov rsi, rax
test rax, rax
jne 0x14000202e
mov ebx, edi
jmp 0x14000213a
lea r14, [rsp + 0x70]
mov ebx, 1
movabs rbp, 0x800000000000
movabs rax, 0xffff800000000000
nop dword [rax]
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x6c], edi
mov qword [rsp + 0x48], rsi
movdqu xmmword [rsp + 0x5c], xmm0
cmp rbx, 4
jb 0x14000207b
mov dword [rsp + 0x58], 4
jmp 0x140002092
cmp rbx, 2
sbb eax, eax
add eax, 2
mov dword [rsp + 0x58], eax
movabs rax, 0xffff800000000000
mov dword [rsp + 0x54], edi
cmp rsi, rbp
jb 0x1400021d3
cmp rsi, rax
jb 0x1400021ed
call fcn.140002a10
mov rcx, rax
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x74]
mov r9d, 0x30
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x30
mov edx, 0x80002048
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x58]
add rsi, rax
cmp rbx, 4
jb 0x1400020fd
mov eax, dword [rsp + 0x5c]
mov dword [r14], eax
jmp 0x140002116
cmp rbx, 2
jb 0x14000210e
movzx eax, word [rsp + 0x5c]
mov word [r14], ax
jmp 0x140002116
movzx eax, byte [rsp + 0x5c]
mov byte [r14], al
mov eax, dword [rsp + 0x58]
add r14, rax
sub rbx, rax
movabs rax, 0xffff800000000000
jne 0x140002050
cmp byte [rsp + 0x70], 1
mov ebx, edi
sete bl
test r15, r15
je 0x14000217d
test ebx, ebx
je 0x14000214b
mov dword [r15 + 0x24], 1
mov eax, dword [r15 + 0x24]
lea rdx, str.DISABLED
or dword [r15 + 0x20], eax
lea rcx, str.___ETW_Threat_Intelligence_Provider_is__s__n_n
cmp dword [r15 + 0x20], edi
lea rax, str.ENABLED
cmovne rdx, rax
call fcn.1400014f0
mov dword [r15 + 0xc], 1
test r13d, r13d
jne 0x14000218b
test r12d, r12d
jne 0x14000218b
test ebx, ebx
je 0x140002190
mov edi, 0x14
mov r14, qword [rsp + 0x80]
mov eax, edi
mov r12, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb8]
mov r13, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x90
pop r15
pop rdi
pop rbp
ret
mov rdx, rsi
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov rdx, rsi
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3