Function at 0x7ff6d8e80ff0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x7ff6d8eee010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.7ff6d8e79850
mov rsi, rax
call fcn.7ff6d8e6cc30
mov edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rbx]
mov rdi, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
test rdi, rdi
je 0x7ff6d8e810de
mov rcx, qword [rsi + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x7ff6d8e810d4
nop dword [rax]
mov rax, qword [rbx + 0x40]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
call qword [0x7ff6d8ec9610]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x7ff6d8e810aa
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x7ff6d8e810a5
cmp rbx, qword [rax + 0x10]
jne 0x7ff6d8e810a5
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x7ff6d8e81092
mov rbx, rax
jmp 0x7ff6d8e810cf
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x7ff6d8e810cf
nop word [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x7ff6d8e810c0
cmp rbx, qword [rsi]
jne 0x7ff6d8e81060
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
call fcn.7ff6d8e6cc30
mov edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax + 0x80]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rbx + 0x90]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call fcn.7ff6d8e6cc30
cmp dword [rax + 8], 2
jne 0x7ff6d8e8112c
call fcn.7ff6d8e6cc30
mov rcx, qword [rax + 0x80]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
jmp 0x7ff6d8e813fa
lea rcx, str.jhi_reset_starting
mov qword [rsp + 0x70], rbp
call fcn.7ff6d8e63170
lea rdx, str.IntelDalJhi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_RegisterEventSourceW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x7ff6d8e8118c
mov qword [rsp + 0x40], rbp
lea edx, [rbp + 4]
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov r9d, 0x40000002
mov word [rsp + 0x28], bp
mov rcx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.DLL_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.DLL_DeregisterEventSource]
call fcn.7ff6d8e79930
mov edx, 0xffffffff
mov rdi, rax
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rbx, qword [rdi]
mov rdx, rdi
mov rcx, rdi
mov r8, qword [rbx + 8]
call fcn.7ff6d8e6dfd0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
call fcn.7ff6d8e79850
lea rcx, str.Resetting_Session_Manager
mov rdi, rax
call fcn.7ff6d8e631b0
mov rcx, qword [rdi + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rdi]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x7ff6d8e81264
nop dword [rax]
lea rdx, [rbx + 0x80]
call fcn.7ff6d8e853c0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], bpl
je 0x7ff6d8e81238
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], bpl
jne 0x7ff6d8e81233
cmp rbx, qword [rax + 0x10]
jne 0x7ff6d8e81233
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], bpl
je 0x7ff6d8e81220
mov rbx, rax
jmp 0x7ff6d8e8125f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], bpl
jne 0x7ff6d8e8125f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], bpl
je 0x7ff6d8e81250
cmp rbx, qword [rdi]
jne 0x7ff6d8e81200
mov rcx, rdi
call fcn.7ff6d8e86940
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff6d8ef3c1c], eax
jle 0x7ff6d8e812d2
lea rcx, [0x7ff6d8ef3c1c]
call fcn.7ff6d8e98d08
cmp dword [0x7ff6d8ef3c1c], 0xffffffff
jne 0x7ff6d8e812d2
xorps xmm0, xmm0
lea rcx, [0x7ff6d8ec76f0]
xor eax, eax
movups xmmword [0x7ff6d8ef3c20], xmm0
mov qword [0x7ff6d8ef3c30], rax
call fcn.7ff6d8e9908c
lea rcx, [0x7ff6d8ef3c1c]
call fcn.7ff6d8e98ca8
lea rcx, [0x7ff6d8ef3c20]
call fcn.7ff6d8e7e570
call fcn.7ff6d8e6cc30
mov edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rbx]
mov rsi, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
test rsi, rsi
je 0x7ff6d8e8134c
mov dil, 1
call fcn.7ff6d8e6cc30
mov ebx, dword [rax + 0x58]
call fcn.7ff6d8e6cc30
cmp ebx, 3
jne 0x7ff6d8e81326
cmp dword [rax + 0x5c], 2
movzx edi, dil
cmove edi, ebp
mov rax, qword [rsi]
movzx edx, dil
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [0x7ff6d8ec9610]
test eax, eax
je 0x7ff6d8e8134c
mov edx, eax
lea rcx, str.Error:_VM_Plugin_Deinit_failed:_0x_X
call fcn.7ff6d8e631b0
call fcn.7ff6d8e6cc30
cmp dword [rax + 0x58], 1
je 0x7ff6d8e8139f
mov rcx, qword [0x7ff6d8ef1810]
test rcx, rcx
je 0x7ff6d8e8139f
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x7ff6d8e8137b
lea rcx, str.failed_to_close_heci_handle
call fcn.7ff6d8e631b0
jmp 0x7ff6d8e81393
mov rcx, qword [0x7ff6d8ef1808]
mov qword [0x7ff6d8ef1810], rbp
call qword [sym.imp.api_ms_win_devices_config_l1_1_1.dll_CM_Unregister_Notification]
test eax, eax
je 0x7ff6d8e8139f
lea rcx, str.Error:_failed_to_unregister_heci_events
call fcn.7ff6d8e631b0
call fcn.7ff6d8e6cc30
mov edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rbx]
mov dword [rbx + 8], 2
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
call fcn.7ff6d8e6cc30
lea rcx, str.Sending_reset_complete_event..._n
mov rbx, rax
call fcn.7ff6d8e631b0
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
call fcn.7ff6d8e6cc30
mov rcx, qword [rax + 0x80]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6d8e98b50
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret