Function at 0x1400226b0
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
call fcn.14001a890
mov rsi, rax
call fcn.14000baa0
mov rbx, rax
mov edx, 0xffffffff
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
test rdi, rdi
je 0x1400227a5
mov edx, 0xffffffff
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14002279b
nop
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [rax + 0x40]
cmp byte [rbx + 0x19], 0
jne 0x140022796
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140022771
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140022796
nop dword [rax]
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140022760
jmp 0x140022796
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140022793
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140022793
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140022780
mov rbx, rax
cmp rbx, qword [rsi]
jne 0x140022720
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
call fcn.14000baa0
mov rbx, rax
mov edx, 0xffffffff
mov rcx, qword [rax + 0x78]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
call fcn.14000baa0
cmp dword [rax + 8], 2
je 0x140022a38
lea rcx, str.jhi_reset_starting
call fcn.140003010
lea rdx, str.IntelDalJhi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
xor ebp, ebp
test rax, rax
je 0x140022838
xor r8d, r8d
lea edx, [rbp + 4]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], ebp
mov word [rsp + 0x28], bp
mov qword [rsp + 0x20], rbp
mov r9d, 0x40000002
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
call fcn.14001a950
mov rbx, rax
mov edx, 0xffffffff
mov rcx, qword [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop
mov rdx, qword [rbx]
mov rdx, qword [rdx + 8]
mov rcx, rbx
call fcn.14000c5b0
mov rcx, qword [rbx]
mov qword [rcx + 8], rcx
mov rcx, qword [rbx]
mov qword [rcx], rcx
mov rax, qword [rbx]
mov qword [rax + 0x10], rax
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
call fcn.14001a890
mov rdi, rax
lea rcx, str.Resetting_Session_Manager
call fcn.140003050
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rdi]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x14002291b
nop
lea rdx, [rbx + 0x80]
call fcn.140028380
cmp byte [rbx + 0x19], 0
jne 0x140022916
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400228f1
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140022916
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400228e0
jmp 0x140022916
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140022913
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140022913
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140022900
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x1400228b0
mov rcx, rdi
call fcn.14002a610
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
call fcn.14001d410
mov rcx, rax
call fcn.14001f9c0
call fcn.14000baa0
mov rbx, rax
mov edx, 0xffffffff
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rsi, qword [rbx + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
test rsi, rsi
je 0x1400229a1
mov dil, 1
call fcn.14000baa0
mov ebx, dword [rax + 0x58]
call fcn.14000baa0
cmp ebx, 3
jne 0x140022982
movzx edi, dil
cmp dword [rax + 0x5c], 2
cmove edi, ebp
mov rax, qword [rsi]
movzx edx, dil
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je 0x1400229a1
mov edx, eax
lea rcx, str.Error:_VM_Plugin_Deinit_failed:_0x_X
call fcn.140003050
call fcn.14000baa0
cmp dword [rax + 0x58], 1
je 0x1400229f4
mov rcx, qword [0x140095690]
test rcx, rcx
je 0x1400229f4
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
jne 0x1400229d0
lea rcx, str.failed_to_close_heci_handle
call fcn.140003050
jmp 0x1400229e8
mov qword [0x140095690], rbp
mov rcx, qword [0x140095688]
call qword [sym.imp.USER32.dll_UnregisterDeviceNotification]
test eax, eax
jne 0x1400229f4
lea rcx, str.Error:_failed_to_unregister_heci_events
call fcn.140003050
call fcn.14000baa0
mov rbx, rax
mov edx, 0xffffffff
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov dword [rbx + 8], 2
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
call fcn.14000baa0
mov rbx, rax
lea rcx, str.Sending_reset_complete_event..._n
call fcn.140003050
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
call fcn.14000baa0
mov rcx, qword [rax + 0x78]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]