Function at 0x140044260
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, 0xd0
mov rax, qword [0x1400e70c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r15d, r15d
lea r12, [0x140145c78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140044341
xorps xmm0, xmm0
movups xmmword [0x140145c78], xmm0
mov qword [0x140145c88], r15
mov qword [0x140145c90], r15
mov ecx, Ordinal_50
call fcn.1400b6a38
mov qword [0x140145c78], rax
mov qword [0x140145c88], 0x21
mov qword [0x140145c90], 0x2f
movups xmm0, xmmword [str.Failed_to_initialize_COM_library.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d1ab0]
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 + 0x3f]
xor rcx, rsp
call fcn.1400b6410
lea r11, [rsp + 0xd0]
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
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x1400443f0
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140145c78], xmm0
mov qword [0x140145c88], r15
mov qword [0x140145c90], r15
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6a38
mov rdx, rax
mov qword [0x140145c78], rax
mov qword [0x140145c88], 0x1e
mov qword [0x140145c90], 0x1f
movups xmm0, xmmword [str.Failed_to_initialize_security.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d1ad8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400d1ae0]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400d1ae4]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], r15b
jmp 0x140044311
mov qword [rbp - 0x19], r15
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cb4a8]
xor edx, edx
mov r8d, 1
lea rcx, [0x1400cb4b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140044496
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140145c78], xmm0
mov qword [0x140145c88], r15
mov qword [0x140145c90], r15
mov ecx, Ordinal_50
call fcn.1400b6a38
mov rdx, rax
mov qword [0x140145c78], rax
mov qword [0x140145c88], 0x25
mov qword [0x140145c90], 0x2f
movups xmm0, xmmword [str.Failed_to_create_IWbemLocator_object.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d1af8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400d1b08]
mov dword [rax + 0x20], ecx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rdx + 0x24], al
mov byte [rdx + 0x25], r15b
jmp 0x140044311
mov qword [rbp - 0x21], r15
mov rax, qword [rbp - 0x19]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, Ordinal_27
call fcn.1400b6a38
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400444ed
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 0x140044a81
jmp 0x1400444f0
mov rbx, r15
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x140044a97
lea rax, [rbp - 0x21]
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 - 0x19]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14004456a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004454b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004455d
call fcn.1400b66d0
mov qword [rbx + 8], r15
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400b66d0
test edi, edi
jns 0x140044603
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140145c78], xmm0
mov qword [0x140145c88], r15
mov qword [0x140145c90], r15
mov ecx, Ordinal_50
call fcn.1400b6a38
mov rcx, rax
mov qword [0x140145c78], rax
mov qword [0x140145c88], 0x2e
mov qword [0x140145c90], 0x2f
movups xmm0, xmmword [str.Could_not_connect_to_WMI_namespace_ROOTCIMV2.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d1b38]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400d1b48]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x1400d1b50]
mov dword [rcx + 0x28], eax
movzx eax, word [0x1400d1b54]
mov word [rcx + 0x2c], ax
mov byte [rcx + 0x2e], 0
jmp 0x140044311
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
mov edx, 0xa
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400446bc
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140145c78], xmm0
mov qword [0x140145c88], r15
mov qword [0x140145c90], r15
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6a38
mov qword [0x140145c78], rax
mov qword [0x140145c88], 0x1c
mov qword [0x140145c90], 0x1f
movups xmm0, xmmword [str.Could_not_set_proxy_blanket.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d1b68]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400d1b70]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
jmp 0x140044311
mov qword [rbp - 9], r15
mov rax, qword [rbp - 0x21]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.1400b6a38
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14004470c
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.1400b7fe0
mov qword [rbx], rax
jmp 0x14004470f
mov rbx, r15
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x140044a97
mov rsi, qword [rbx]
mov ecx, Ordinal_27
call fcn.1400b6a38
mov rdi, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x14004475d
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, [0x1400d1b94]
call fcn.1400b7fe0
mov qword [rdi], rax
jmp 0x140044760
mov rdi, r15
mov qword [rbp - 0x31], rdi
test rdi, rdi
je 0x140044aa2
lea rax, [rbp - 9]
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 - 0x21]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400447d0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400447b0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400447c2
call fcn.1400b66d0
mov qword [rdi + 8], r15
mov edx, Ordinal_27
mov rcx, rdi
call fcn.1400b66d0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14004480f
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400447f0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140044802
call fcn.1400b66d0
mov qword [rbx + 8], r15
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400b66d0
test esi, esi
jns 0x140044897
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140145c78], xmm0
mov qword [0x140145c88], r15
mov qword [0x140145c90], r15
mov ecx, Ordinal_50
call fcn.1400b6a38
mov qword [0x140145c78], rax
mov qword [0x140145c88], 0x24
mov qword [0x140145c90], 0x2f
movups xmm0, xmmword [str.Query_for_BIOS_serial_number_failed.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d1ba8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400d1bb8]
mov dword [rax + 0x20], ecx
mov byte [rax + 0x24], 0
jmp 0x140044311
mov qword [rbp - 0x11], r15
mov dword [rbp + 0x17], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_getsockopt]
movdqu xmmword [rbp + 0x2f], xmm1
mov rax, qword [str.Unknown]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1400cb5ac]
mov word [rbp + 0x23], ax
movzx eax, byte [0x1400cb5ae]
mov byte [rbp + 0x25], al
mov byte [rbp + 0x26], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140044a37
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 0x17], 0
je 0x140044a37
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x140044a16
mov rdi, qword [rbp + 7]
mov ecx, Ordinal_27
call fcn.1400b6a38
mov rbx, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x14004498f
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
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140044992
test rdi, rdi
jne 0x140044a8c
jmp 0x140044992
mov rbx, r15
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x140044a76
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400449b4
mov rcx, qword [rbx]
call fcn.1400b7ec0
mov qword [rbx + 8], rax
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400449c0
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.14004a1a0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140044a16
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400449f7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140044a09
call fcn.1400b66d0
mov qword [rbx + 8], r15
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400b66d0
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 9]
test rcx, rcx
jne 0x1400448f0
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 9]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [0x140145c78], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [0x140145c88], xmm1
jmp 0x140044311
mov ecx, 0x8007000e
call fcn.1400b7eb0
nop
mov ecx, 0x8007000e
call fcn.1400b7eb0
nop
mov ecx, 0x8007000e
call fcn.1400b7eb0
nop
mov ecx, 0x8007000e
call fcn.1400b7eb0
nop
mov ecx, 0x8007000e
call fcn.1400b7eb0
int3