Function at 0x1400227f0
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.14001aa00
mov rsi, rax
call fcn.14000bb40
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 0x1400228e5
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 0x1400228db
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 0x1400228d6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400228b1
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1400228d6
nop dword [rax]
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400228a0
jmp 0x1400228d6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400228d3
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1400228d3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400228c0
mov rbx, rax
cmp rbx, qword [rsi]
jne 0x140022860
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
call fcn.14000bb40
mov rbx, rax
mov edx, 0xffffffff
mov rcx, qword [rax + 0x80]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x90]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
call fcn.14000bb40
cmp dword [rax + 8], 2
je 0x140022b78
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 0x14002297b
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.14001aac0
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.14000c650
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.14001aa00
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 0x140022a5b
lea rdx, [rbx + 0x80]
call fcn.140028600
cmp byte [rbx + 0x19], 0
jne 0x140022a56
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140022a31
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140022a56
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140022a20
jmp 0x140022a56
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140022a53
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140022a53
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140022a40
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x1400229f2
mov rcx, rdi
call fcn.14002a890
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
call fcn.14001d560
mov rcx, rax
call fcn.14001fb10
call fcn.14000bb40
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 0x140022ae1
mov dil, 1
call fcn.14000bb40
mov ebx, dword [rax + 0x58]
call fcn.14000bb40
cmp ebx, 3
jne 0x140022ac2
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 0x140022ae1
mov edx, eax
lea rcx, str.Error:_VM_Plugin_Deinit_failed:_0x_X
call fcn.140003050
call fcn.14000bb40
cmp dword [rax + 0x58], 1
je 0x140022b34
mov rcx, qword [0x140096690]
test rcx, rcx
je 0x140022b34
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
jne 0x140022b10
lea rcx, str.failed_to_close_heci_handle
call fcn.140003050
jmp 0x140022b28
mov qword [0x140096690], rbp
mov rcx, qword [0x140096688]
call qword [sym.imp.api_ms_win_devices_config_l1_1_1.dll_CM_Unregister_Notification]
test eax, eax
je 0x140022b34
lea rcx, str.Error:_failed_to_unregister_heci_events
call fcn.140003050
call fcn.14000bb40
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.14000bb40
mov rbx, rax
lea rcx, str.Sending_reset_complete_event..._n
call fcn.140003050
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
call fcn.14000bb40
mov rcx, qword [rax + 0x80]
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]