Function at 0x1400f95c0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14035cb78]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
movzx r13d, dl
mov qword [rsp + 0x70], rcx
test dl, dl
je 0x1400f972f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OLE32.dll_CoInitializeEx]
test eax, eax
jns 0x1400f972f
lfence
mov edx, eax
lea rcx, [rbp + 0x100]
call fcn.1400fa270
nop
mov r8, rax
lea rdx, str.__WmiEventManager__Set_WMI_Event_Receiver_fail_CoInitializeEx_failed:._Error_code_
lea rcx, [rbp + 0x60]
call fcn.1400b9790
mov rcx, rax
call fcn.1401bd6a0
mov rdi, rax
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1400f968c
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9687
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fa0c8
call fcn.1401c72f8
lfence
xor ebx, ebx
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], SafeArrayGetLBound
mov byte [rbp + 0x100], bl
lea edx, [rbx + 2]
mov rcx, rdi
call fcn.140163bf0
mov rcx, rdi
call fcn.1401c7a6c
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], SafeArrayGetLBound
lea ecx, [rbx + 0x40]
call fcn.1400b9950
mov rdx, rax
mov qword [rbp - 0x58], 0x35
mov qword [rbp - 0x50], 0x3f
movups xmm0, xmmword [str._WmiEventManager__Set_WMI_Event_Receiver_fail_:_Step1]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140276eb8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140276ec8]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x140276ed8]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x140276edc]
mov byte [rdx + 0x34], al
mov byte [rdx + 0x35], bl
mov qword [rbp - 0x68], rdx
lea rcx, [rbp - 0x68]
call fcn.1401630b0
jmp 0x1400f987e
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x14029ac78]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14029abc8]
call qword [sym.imp.OLE32.dll_CoCreateInstance]
test eax, eax
jns 0x1400f98b3
lfence
mov edx, eax
lea rcx, [rbp + 0x120]
call fcn.1400fa270
nop
mov r8, rax
lea rdx, str.__WmiEventManager__Set_WMI_Event_Receiver_fail_CoCreateInstance_failed:._Error_code_
lea rcx, [rbp + 0x80]
call fcn.1400b9790
mov rcx, rax
call fcn.1401bd6a0
mov rdi, rax
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x1400f97d6
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f97d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fa0ce
call fcn.1401c72f8
lfence
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], SafeArrayGetLBound
mov byte [rbp + 0x120], 0
mov edx, 2
mov rcx, rdi
call fcn.140163bf0
mov rcx, rdi
call fcn.1401c7a6c
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], SafeArrayGetLBound
mov ecx, 0x40
call fcn.1400b9950
mov rdx, rax
mov qword [rbp - 0x38], 0x35
mov qword [rbp - 0x30], 0x3f
movups xmm0, xmmword [str._WmiEventManager__Set_WMI_Event_Receiver_fail_:_Step3]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140276f48]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140276f58]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x140276f68]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x140276f6c]
mov byte [rdx + 0x34], al
mov byte [rdx + 0x35], 0
mov qword [rbp - 0x48], rdx
lea rcx, [rbp - 0x48]
call fcn.1401630b0
call qword [sym.imp.OLE32.dll_CoUninitialize]
mov eax, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1401c7850
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x50], rbx
mov ecx, SafeArrayPutElement
call fcn.1401c72bc
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400f98f5
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x1400fa0b2
jmp 0x1400f98f8
mov rdi, rbx
mov qword [rbp - 0x78], rdi
test rdi, rdi
je 0x1400fa0bd
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rax, qword [rax + 0x18]
call qword [case.0x1400bb8d5.0]
mov esi, eax
mov r15d, 0xffffffff
mov ecx, r15d
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400f9982
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400f9963
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400f9975
call fcn.1401c7a6c
mov qword [rdi + 8], rbx
mov edx, SafeArrayPutElement
mov rcx, rdi
call fcn.1401c72f8
test esi, esi
jns 0x1400f9ab7
lfence
mov edx, esi
lea rcx, [rbp + 0x140]
call fcn.1400fa270
nop
mov r8, rax
lea rdx, str.__WmiEventManager__Set_WMI_Event_Receiver_fail_ConnectServer_failed:._Error_code_
lea rcx, [rbp + 0xa0]
call fcn.1400b9790
mov rcx, rax
call fcn.1401bd6a0
mov rdi, rax
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x1400f99fe
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f99f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fa0d4
call fcn.1401c72f8
lfence
mov qword [rbp + 0x150], rbx
mov qword [rbp + 0x158], SafeArrayGetLBound
mov byte [rbp + 0x140], 0
mov edx, 2
mov rcx, rdi
call fcn.140163bf0
mov rcx, rdi
call fcn.1401c7a6c
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], SafeArrayGetLBound
mov ecx, 0x40
call fcn.1400b9950
mov rdx, rax
mov qword [rbp - 0x18], 0x35
mov qword [rbp - 0x10], 0x3f
movups xmm0, xmmword [str._WmiEventManager__Set_WMI_Event_Receiver_fail_:_Step4]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140276ff8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140277008]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x140277018]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x14027701c]
mov byte [rdx + 0x34], al
mov byte [rdx + 0x35], 0
mov qword [rbp - 0x28], rdx
lea rcx, [rbp - 0x28]
call fcn.1401630b0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
jmp 0x1400f9878
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLE32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400f9c1a
lfence
mov edx, eax
lea rcx, [rbp + 0x160]
call fcn.1400fa270
nop
mov r8, rax
lea rdx, str.__WmiEventManager__Set_WMI_Event_Receiver_fail_CoSetProxyBlanket_failed:._Error_code_
lea rcx, [rbp + 0xc0]
call fcn.1400b9790
mov rcx, rax
call fcn.1401bd6a0
mov rdi, rax
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x1400f9b61
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9b5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fa0da
call fcn.1401c72f8
lfence
mov qword [rbp + 0x170], rbx
mov qword [rbp + 0x178], SafeArrayGetLBound
mov byte [rbp + 0x160], 0
mov edx, 2
mov rcx, rdi
call fcn.140163bf0
mov rcx, rdi
call fcn.1401c7a6c
mov qword [rbp - 8], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], SafeArrayGetLBound
mov ecx, 0x40
call fcn.1400b9950
mov rdx, rax
mov qword [rbp + 8], 0x35
mov qword [rbp + 0x10], 0x3f
movups xmm0, xmmword [str._WmiEventManager__Set_WMI_Event_Receiver_fail_:_Step5]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140277088]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140277098]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x1402770a8]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x1402770ac]
mov byte [rdx + 0x34], al
mov byte [rdx + 0x35], 0
mov qword [rbp - 8], rdx
lea rcx, [rbp - 8]
call fcn.1401630b0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
jmp 0x1400f9aa0
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x14029aca8]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x14029ab98]
call qword [sym.imp.OLE32.dll_CoCreateInstance]
mov ecx, 0x28
call fcn.1401c72bc
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400f9c89
mov dword [rax + 8], ebx
lea rax, vtable.WmiEventManager.0
mov qword [r14], rax
mov dword [r14 + 0x18], 0x9a
mov dword [r14 + 0x1c], 0x9b
mov dword [r14 + 0x20], 0x98
mov dword [r14 + 0x24], 0x97
jmp 0x1400f9c8c
mov r14, rbx
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x1400bb8d5.0]
mov qword [rbp - 0x80], rbx
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp - 0x80]
mov rdx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x1400bb8d5.0]
mov qword [rsp + 0x68], rbx
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x14029ac28]
mov rax, qword [rax]
call qword [case.0x1400bb8d5.0]
mov ecx, SafeArrayPutElement
call fcn.1401c72bc
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400f9d0d
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_AsusAtkWmiEvent
call fcn.1401fcb80
mov qword [rsi], rax
jmp 0x1400f9d10
mov rsi, rbx
mov qword [rbp + 0x58], rsi
test rsi, rsi
je 0x1400fa0bd
mov ecx, SafeArrayPutElement
call fcn.1401c72bc
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400f9d50
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [0x1402770d0]
call fcn.1401fcb80
mov qword [rdi], rax
jmp 0x1400f9d53
mov rdi, rbx
mov qword [rbp - 0x70], rdi
test rdi, rdi
je 0x1400fa0e0
mov r10, qword [rsp + 0x50]
mov rax, qword [r10]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9d, 0x80
mov r8, qword [rsi]
mov rdx, qword [rdi]
mov rcx, r10
mov rax, qword [rax + 0xb8]
call qword [case.0x1400bb8d5.0]
mov r12d, eax
mov ecx, r15d
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400f9dd4
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400f9db4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400f9dc6
call fcn.1401c7a6c
mov qword [rdi + 8], rbx
mov edx, SafeArrayPutElement
mov rcx, rdi
call fcn.1401c72f8
nop
lock xadd dword [rsi + 0x10], r15d
cmp r15d, 1
jne 0x1400f9e10
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f9df1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rbx
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400f9e03
call fcn.1401c7a6c
mov qword [rsi + 8], rbx
mov edx, SafeArrayPutElement
mov rcx, rsi
call fcn.1401c72f8
test r12d, r12d
jns 0x1400f9f9e
lfence
mov edx, r12d
lea rcx, [rbp + 0x180]
call fcn.1400fa270
nop
mov r8, rax
lea rdx, str.__WmiEventManager__Set_WMI_Event_Receiver_fail_ExecNotificationQueryAsync_failed:._Error_code_
lea rcx, [rbp + 0xe0]
call fcn.1400b9790
mov rcx, rax
call fcn.1401bd6a0
mov rdi, rax
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x1400f9e8e
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9e89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fa0ac
call fcn.1401c72f8
lfence
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x198], SafeArrayGetLBound
mov byte [rbp + 0x180], 0
mov edx, 2
mov rcx, rdi
call fcn.140163bf0
mov rcx, rdi
call fcn.1401c7a6c
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], SafeArrayGetLBound
mov ecx, 0x40
call fcn.1400b9950
mov rdx, rax
mov qword [rbp + 0x28], 0x35
mov qword [rbp + 0x30], 0x3f
movups xmm0, xmmword [str._WmiEventManager__Set_WMI_Event_Receiver_fail_:_Step6]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140277158]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140277168]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x140277178]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x14027717c]
mov byte [rdx + 0x34], al
mov byte [rdx + 0x35], 0
mov qword [rbp + 0x18], rdx
lea rcx, [rbp + 0x18]
call fcn.1401630b0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
jmp 0x1400f9878
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], SafeArrayGetLBound
mov ecx, 0x30
call fcn.1400b9950
mov qword [rbp + 0x48], 0x2b
mov qword [rbp + 0x50], 0x2f
movups xmm0, xmmword [str._WmiEventManager__Set_WMI_Event_Receiver_OK]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140277190]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402771a0]
movsd qword [rax + 0x20], xmm0
movzx edx, word [0x1402771a8]
mov word [rax + 0x28], dx
movzx edx, byte [0x1402771aa]
mov byte [rax + 0x2a], dl
mov byte [rax + 0x2b], 0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.1401630b0
mov rcx, qword [rsp + 0x70]
call fcn.1400fa350
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400bb8d5.0]
test r13b, r13b
je 0x1400fa0a5
call qword [sym.imp.OLE32.dll_CoUninitialize]
xor eax, eax
jmp 0x1400f9883
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
mov ecx, 0x8007000e
call fcn.1401fc910
nop
mov ecx, 0x8007000e
call fcn.1401fc910
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
mov ecx, 0x8007000e
call fcn.1401fc910
int3