Function at 0x7ff649560ff0
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 [0x7ff6495ce010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.7ff649559850
mov rsi, rax
call fcn.7ff64954cc30
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 0x7ff6495610de
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 0x7ff6495610d4
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 [0x7ff6495a9610]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x7ff6495610aa
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x7ff6495610a5
cmp rbx, qword [rax + 0x10]
jne 0x7ff6495610a5
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x7ff649561092
mov rbx, rax
jmp 0x7ff6495610cf
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x7ff6495610cf
nop word [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x7ff6495610c0
cmp rbx, qword [rsi]
jne 0x7ff649561060
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
call fcn.7ff64954cc30
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.7ff64954cc30
cmp dword [rax + 8], 2
jne 0x7ff64956112c
call fcn.7ff64954cc30
mov rcx, qword [rax + 0x80]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
jmp 0x7ff6495613fa
lea rcx, str.jhi_reset_starting
mov qword [rsp + 0x70], rbp
call fcn.7ff649543170
lea rdx, str.IntelDalJhi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_RegisterEventSourceW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x7ff64956118c
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.7ff649559930
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.7ff64954dfd0
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.7ff649559850
lea rcx, str.Resetting_Session_Manager
mov rdi, rax
call fcn.7ff6495431b0
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 0x7ff649561264
nop dword [rax]
lea rdx, [rbx + 0x80]
call fcn.7ff6495653c0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], bpl
je 0x7ff649561238
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], bpl
jne 0x7ff649561233
cmp rbx, qword [rax + 0x10]
jne 0x7ff649561233
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], bpl
je 0x7ff649561220
mov rbx, rax
jmp 0x7ff64956125f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], bpl
jne 0x7ff64956125f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], bpl
je 0x7ff649561250
cmp rbx, qword [rdi]
jne 0x7ff649561200
mov rcx, rdi
call fcn.7ff649566940
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 [0x7ff6495d3c1c], eax
jle 0x7ff6495612d2
lea rcx, [0x7ff6495d3c1c]
call fcn.7ff649578d08
cmp dword [0x7ff6495d3c1c], 0xffffffff
jne 0x7ff6495612d2
xorps xmm0, xmm0
lea rcx, [0x7ff6495a76f0]
xor eax, eax
movups xmmword [0x7ff6495d3c20], xmm0
mov qword [0x7ff6495d3c30], rax
call fcn.7ff64957908c
lea rcx, [0x7ff6495d3c1c]
call fcn.7ff649578ca8
lea rcx, [0x7ff6495d3c20]
call fcn.7ff64955e570
call fcn.7ff64954cc30
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 0x7ff64956134c
mov dil, 1
call fcn.7ff64954cc30
mov ebx, dword [rax + 0x58]
call fcn.7ff64954cc30
cmp ebx, 3
jne 0x7ff649561326
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 [0x7ff6495a9610]
test eax, eax
je 0x7ff64956134c
mov edx, eax
lea rcx, str.Error:_VM_Plugin_Deinit_failed:_0x_X
call fcn.7ff6495431b0
call fcn.7ff64954cc30
cmp dword [rax + 0x58], 1
je 0x7ff64956139f
mov rcx, qword [0x7ff6495d1810]
test rcx, rcx
je 0x7ff64956139f
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x7ff64956137b
lea rcx, str.failed_to_close_heci_handle
call fcn.7ff6495431b0
jmp 0x7ff649561393
mov rcx, qword [0x7ff6495d1808]
mov qword [0x7ff6495d1810], rbp
call qword [sym.imp.api_ms_win_devices_config_l1_1_1.dll_CM_Unregister_Notification]
test eax, eax
je 0x7ff64956139f
lea rcx, str.Error:_failed_to_unregister_heci_events
call fcn.7ff6495431b0
call fcn.7ff64954cc30
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.7ff64954cc30
lea rcx, str.Sending_reset_complete_event..._n
mov rbx, rax
call fcn.7ff6495431b0
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
call fcn.7ff64954cc30
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.7ff649578b50
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret