Function at 0x140045d30
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x1400e90c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
lea r12, [0x140147c88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140045e10
xorps xmm0, xmm0
movups xmmword [0x140147c88], xmm0
mov qword [0x140147c98], r15
mov qword [0x140147ca0], r15
lea ecx, [r15 + 0x30]
call fcn.1400b81f4
mov qword [0x140147c88], rax
mov qword [0x140147c98], 0x21
mov qword [0x140147ca0], 0x2f
movups xmm0, xmmword [str.Failed_to_initialize_COM_library.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d3ae0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x20], cl
mov byte [rax + 0x21], r15b
mov rax, r12
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b7bd0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x140045ebe
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140147c88], xmm0
mov qword [0x140147c98], r15
mov qword [0x140147ca0], r15
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b81f4
mov rdx, rax
mov qword [0x140147c88], rax
mov qword [0x140147c98], 0x1e
mov qword [0x140147ca0], 0x1f
movups xmm0, xmmword [str.Failed_to_initialize_security.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d3b08]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400d3b10]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400d3b14]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], r15b
jmp 0x140045de0
mov qword [rbp - 0x21], r15
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cd4d8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400cd4e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140045f62
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140147c88], xmm0
mov qword [0x140147c98], r15
mov qword [0x140147ca0], r15
mov ecx, Ordinal_50
call fcn.1400b81f4
mov rdx, rax
mov qword [0x140147c88], rax
mov qword [0x140147c98], 0x25
mov qword [0x140147ca0], 0x2f
movups xmm0, xmmword [str.Failed_to_create_IWbemLocator_object.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d3b28]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400d3b38]
mov dword [rax + 0x20], ecx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rdx + 0x24], al
mov byte [rdx + 0x25], r15b
jmp 0x140045de0
mov qword [rbp - 0x29], r15
mov rax, qword [rbp - 0x21]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, Ordinal_27
call fcn.1400b81f4
mov rbx, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140045fb9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140046587
jmp 0x140045fbc
mov rbx, r15
mov qword [rbp - 0x51], rbx
test rbx, rbx
je 0x14004659d
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x21]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140046036
mov rcx, qword [rbx]
test rcx, rcx
je 0x140046017
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140046029
call fcn.1400b7e8c
mov qword [rbx + 8], r15
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400b7e8c
test edi, edi
jns 0x1400460cf
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140147c88], xmm0
mov qword [0x140147c98], r15
mov qword [0x140147ca0], r15
mov ecx, Ordinal_50
call fcn.1400b81f4
mov rcx, rax
mov qword [0x140147c88], rax
mov qword [0x140147c98], 0x2e
mov qword [0x140147ca0], 0x2f
movups xmm0, xmmword [str.Could_not_connect_to_WMI_namespace_ROOTCIMV2.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d3b68]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400d3b78]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x1400d3b80]
mov dword [rcx + 0x28], eax
movzx eax, word [0x1400d3b84]
mov word [rcx + 0x2c], ax
mov byte [rcx + 0x2e], 0
jmp 0x140045de0
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140046187
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140147c88], xmm0
mov qword [0x140147c98], r15
mov qword [0x140147ca0], r15
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b81f4
mov qword [0x140147c88], rax
mov qword [0x140147c98], 0x1c
mov qword [0x140147ca0], 0x1f
movups xmm0, xmmword [str.Could_not_set_proxy_blanket.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d3b98]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400d3ba0]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
jmp 0x140045de0
mov qword [rbp - 0x11], r15
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.1400b81f4
mov rbx, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x1400461d7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_BIOS
call fcn.1400b9680
mov qword [rbx], rax
jmp 0x1400461da
mov rbx, r15
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x14004659d
mov rsi, qword [rbx]
mov ecx, Ordinal_27
call fcn.1400b81f4
mov rdi, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140046228
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lea rcx, [0x1400d3bc4]
call fcn.1400b9680
mov qword [rdi], rax
jmp 0x14004622b
mov rdi, r15
mov qword [rbp - 0x41], rdi
test rdi, rdi
je 0x1400465a8
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, Ordinal_50
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x29]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14004629b
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004627b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14004628d
call fcn.1400b7e8c
mov qword [rdi + 8], r15
mov edx, Ordinal_27
mov rcx, rdi
call fcn.1400b7e8c
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400462da
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400462bb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400462cd
call fcn.1400b7e8c
mov qword [rbx + 8], r15
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400b7e8c
test esi, esi
jns 0x140046362
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140147c88], xmm0
mov qword [0x140147c98], r15
mov qword [0x140147ca0], r15
mov ecx, Ordinal_50
call fcn.1400b81f4
mov qword [0x140147c88], rax
mov qword [0x140147c98], 0x24
mov qword [0x140147ca0], 0x2f
movups xmm0, xmmword [str.Query_for_BIOS_serial_number_failed.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d3bd8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400d3be8]
mov dword [rax + 0x20], ecx
mov byte [rax + 0x24], 0
jmp 0x140045de0
mov qword [rbp - 0x19], r15
mov dword [rbp + 0xf], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
mov rax, qword [str.Unknown]
mov dword [rbp + 0x17], eax
movzx eax, word [0x1400cd5dc]
mov word [rbp + 0x1b], ax
movzx eax, byte [0x1400cd5de]
mov byte [rbp + 0x1d], al
mov byte [rbp + 0x1e], 0
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14004653d
movzx ebx, byte [rbp - 0x69]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x19]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 0xf], 0
je 0x14004653d
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14004651c
mov rdi, qword [rbp - 1]
mov ecx, Ordinal_27
call fcn.1400b81f4
mov rsi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14004645d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r15
mov dword [rsi + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x140046460
test rdi, rdi
jne 0x140046592
jmp 0x140046460
mov rsi, r15
mov qword [rbp - 0x31], rsi
test rsi, rsi
je 0x14004657c
mov rax, qword [rsi + 8]
test rax, rax
jne 0x140046482
mov rcx, qword [rsi]
call fcn.1400b9560
mov qword [rsi + 8], rax
mov r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140046490
mov rcx, qword [rbp + 0x2f]
cmp r14, rcx
ja 0x1400464c9
lea rdi, [rbp + 0x17]
cmp rcx, 0xf
cmova rdi, qword [rbp + 0x17]
mov qword [rbp + 0x27], r14
mov r8, r14
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + r14], 0
jmp 0x1400464dd
mov r9, rax
movzx r8d, bl
mov rdx, r14
lea rcx, [rbp + 0x17]
call fcn.14004b7c0
nop
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x14004651c
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400464fd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r15
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14004650f
call fcn.1400b7e8c
mov qword [rsi + 8], r15
mov edx, Ordinal_27
mov rcx, rsi
call fcn.1400b7e8c
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
jne 0x1400463c0
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [0x140147c88], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [0x140147c98], xmm1
jmp 0x140045de0
mov ecx, 0x8007000e
call fcn.1400b9550
nop
mov ecx, 0x8007000e
call fcn.1400b9550
nop
mov ecx, 0x8007000e
call fcn.1400b9550
nop
mov ecx, 0x8007000e
call fcn.1400b9550
nop
mov ecx, 0x8007000e
call fcn.1400b9550
int3