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

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, 0x100
mov rax, qword [0x14019f0c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x29], rcx
xor r12d, r12d
mov dword [rbp - 0x71], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], r12b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14003958e
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov r8d, 3
lea rdx, [0x140146244]
mov rcx, r14
call fcn.140044700
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140039563
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003955e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039ac7
call fcn.1401159d4
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401152a0
lea r11, [rsp + 0x100]
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 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 edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [0x1401458c8]
xor edx, edx
mov r8d, 1
lea rcx, [0x1401458d8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rax, qword [rbp - 0x31]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, Ordinal_26
call fcn.140115680
mov rbx, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x140039635
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
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140039ad4
jmp 0x140039638
mov rbx, r12
mov qword [rbp - 0x79], rbx
test rbx, rbx
je 0x140039ae5
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
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
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x31]
call rdi
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400396b1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140039692
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400396a4
call fcn.1401159d4
mov qword [rbx + 8], r12
mov edx, Ordinal_26
mov rcx, rbx
call fcn.1401159d4
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, Ordinal_26
call fcn.140115680
mov rbx, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400396fd
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
lea rcx, str.SELECT_SerialNumber_FROM_Win32_BaseBoard
call fcn.1401166f0
mov qword [rbx], rax
jmp 0x140039700
mov rbx, r12
mov qword [rbp - 0x79], rbx
test rbx, rbx
je 0x140039ae5
mov rsi, qword [rbx]
mov ecx, Ordinal_26
call fcn.140115680
mov rdi, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x14003974e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, [0x140184e64]
call fcn.1401166f0
mov qword [rdi], rax
jmp 0x140039751
mov rdi, r12
mov qword [rbp - 0x69], rdi
test rdi, rdi
je 0x140039af0
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x39]
call r15
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400397c0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400397a0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400397b2
call fcn.1401159d4
mov qword [rdi + 8], r12
mov edx, Ordinal_26
mov rcx, rdi
call fcn.1401159d4
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400397ff
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400397e0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400397f2
call fcn.1401159d4
mov qword [rbx + 8], r12
mov edx, Ordinal_26
mov rcx, rbx
call fcn.1401159d4
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400398a3
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 1], 0
je 0x14003989f
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, [0x140184e68]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rbp - 0x19]
call fcn.1401165d0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140039866
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.1400436c0
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
jne 0x140039810
jmp 0x1400398a3
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdi, qword [rbp + 0x17]
xorps xmm0, xmm0
test rdi, rdi
jne 0x1400398ff
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
mov r8d, 3
lea rdx, [0x140146244]
lea rcx, [rbp - 0x61]
call fcn.140044700
lea rax, [rbp - 0x61]
mov ebx, 2
jmp 0x1400399dc
movups xmmword [rbp - 0x21], xmm0
lea rsi, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rsi, qword [rbp + 7]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140039ace
cmp rdi, 0xf
ja 0x140039942
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x21], xmm0
jmp 0x1400399d3
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x14003997e
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140115680
mov rcx, rax
test rax, rax
je 0x140039a7c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400399b8
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14003999b
mov rax, r12
jmp 0x1400399b8
cmp rcx, 0x1000
jb 0x1400399b3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140039adf
jmp 0x14003995c
call fcn.140115680
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x21]
mov ebx, 4
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 1
test bl, 4
je 0x140039a45
and ebx, 0xfffffffb
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140039a45
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039a3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401159d4
nop
test bl, 2
je 0x140039a89
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140039a89
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039a83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401159d4
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140039563
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003955e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003955e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140037170
nop
mov ecx, 0x8007000e
call fcn.1401165c0
nop
call fcn.140002d50
int3
mov ecx, 0x8007000e
call fcn.1401165c0
nop
mov ecx, 0x8007000e
call fcn.1401165c0
int3