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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbp, rcx
mov r8d, 0x1df
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, [0x1400e4bf0]
call fcn.14005f240
xor r13d, r13d
mov qword [rsp + 0x70], r13
lea r12, [rbp + 0x88]
mov qword [rsp + 0x20], r12
lea r9, [0x1400d42d0]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1400d42f0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov r9d, eax
mov r8d, 0x1e7
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400d43d0]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1400d43a0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
mov r9d, eax
mov r8d, 0x1f5
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
test ebx, ebx
jne 0x14006a64f
lea rcx, str.rootwmi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
lea r14, [rbp + 0x90]
mov rcx, qword [rsp + 0x70]
mov r10, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r9d, ebx
mov r8d, 0x208
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
test ebx, ebx
jne 0x14006a3ce
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoSetProxyBlanket]
mov r9d, eax
mov r8d, 0x21e
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
lea rbx, [rbp + 0xf0]
mov qword [rsp + 0x20], rbx
lea r9, [0x1400d43e0]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x1400d4390]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov r9d, eax
mov r8d, 0x226
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
call fcn.140045a70
mov qword [rbp + 0xd8], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x138]
mov rax, qword [rbp + 0xd8]
mov qword [rax + 0xa0], rcx
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r8, [rbp + 0xe8]
mov rdx, qword [rbp + 0xd8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r9d, eax
mov r8d, 0x236
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rcx]
lea r8, [rbp + 0xe0]
lea rdx, [0x1400d43b0]
call qword [rax]
mov r9d, eax
mov r8d, 0x243
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
mov rsi, qword [r14]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400c0f54
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14006a4e2
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r13
mov dword [rdi + 0x10], 1
lea rcx, str.SELECT__FROM_BIOSEvent
call fcn.1400c60b0
mov qword [rdi], rax
jmp 0x14006a4e5
mov rdi, r13
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x14006a6a1
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400c0f54
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14006a52f
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], 1
lea rcx, [0x140111d40]
call fcn.1400c60b0
mov qword [rbx], rax
jmp 0x14006a532
mov rbx, r13
mov qword [rsp + 0x68], rbx
test rbx, rbx
je 0x14006a696
mov r10, qword [rsi]
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x80
mov r8, qword [rdi]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [r10 + 0xb8]
mov r15d, eax
mov esi, 0xffffffff
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14006a5af
mov rcx, qword [rbx]
test rcx, rcx
je 0x14006a58f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14006a5a1
call fcn.1400c094c
mov qword [rbx + 8], r13
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400c094c
nop
lock xadd dword [rdi + 0x10], esi
cmp esi, 1
jne 0x14006a5e9
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006a5ca
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r13
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14006a5dc
call fcn.1400c094c
mov qword [rdi + 8], r13
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400c094c
mov r9d, r15d
mov r8d, 0x259
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r9, [rbp + 0x100]
lea r8, [0x1400d43c0]
mov rdx, qword [r14]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r9d, eax
mov r8d, 0x268
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, str._s__d_hr_x
call fcn.14005f240
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8d, 0x273
jmp 0x14006a655
mov r8d, 0x278
lea rdx, str.CMcAcpiWmi::ConnectToNamespace
lea rcx, [0x1400e4bf0]
call fcn.14005f240
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c0920
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1400c60a0
nop
mov ecx, 0x8007000e
call fcn.1400c60a0
int3