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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400da180]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
mov dword [rbp - 0x29], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r12b
mov dword [rbp - 0x29], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jne 0x140058a77
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov r14, 0xffffffffffffffff
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jne 0x140058a77
mov qword [rbp + 7], r12
mov qword [rbp - 0x11], r12
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b96e8]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1400b96f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140058a53
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400bec40]
call qword [rax + 0x18]
test eax, eax
jne 0x140058a53
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0xa]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jne 0x140058a53
mov qword [rbp - 1], r12
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x30]
lea r8, str.SELECT__FROM_Win32_BIOS
lea rdx, [0x1400bec98]
call qword [rax + 0xa0]
test eax, eax
jne 0x140058a53
mov qword [rbp - 9], r12
mov dword [rbp + 0x27], r12d
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea rdx, [rbp + 0x27]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 9]
lea r8d, [r12 + 1]
mov edx, r14d
call qword [rax + 0x20]
test eax, eax
jne 0x140058a49
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xf]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
jne 0x140058a3f
mov rdi, qword [rbp + 0x17]
lea ecx, [rax + 0x18]
call fcn.1400aa600
mov rbx, rax
mov qword [rbp - 0x21], rax
test rax, rax
je 0x140058987
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14005898a
test rdi, rdi
jne 0x140058aad
jmp 0x14005898a
mov rbx, r12
mov qword [rbp - 0x21], rbx
test rbx, rbx
je 0x140058aa2
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400589ac
mov rcx, qword [rbx]
call fcn.1400aa330
mov qword [rbx + 8], rax
mov rdi, r14
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400589b0
mov rcx, qword [rsi + 0x18]
cmp rdi, rcx
ja 0x1400589e7
mov r15, rsi
cmp rcx, 0xf
jbe 0x1400589ce
mov r15, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
mov rdx, rax
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rdi], 0
jmp 0x1400589f9
mov r9, rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140009950
nop
lock xadd dword [rbx + 0x10], r14d
cmp r14d, 1
jne 0x140058a35
mov rcx, qword [rbx]
test rcx, rcx
je 0x140058a16
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140058a28
call fcn.1400aa63c
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400aa63c
lea rcx, [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140058a62
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140058a71
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400aa5e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400aa320
nop
mov ecx, 0x8007000e
call fcn.1400aa320
int3