Function at 0x14004315c
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 - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp], rax
mov r15, rcx
call fcn.14003cbb0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r12d, r12d
test eax, eax
jns 0x1400431a9
lea eax, [r12 + 1]
jmp 0x14004362e
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c03d8]
mov edi, 1
mov r8d, edi
xor edx, edx
lea rcx, [0x1400c03c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400431e7
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
jmp 0x14004362e
mov qword [rsp + 0x50], r12
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x78]
call fcn.140042fc0
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x140043217
mov rdx, qword [rdx]
jmp 0x14004321a
mov rdx, r12
lea rax, [rsp + 0x50]
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 rcx, qword [rsp + 0x58]
call rbx
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140043044
test ebx, ebx
jns 0x140043265
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400431da
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400432a1
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140043255
mov qword [rsp + 0x70], r12
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.140076f90
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400432e3
mov qword [rax + 8], r12
mov dword [rax + 0x10], edi
lea rcx, str.SELECT__FROM_Win32_DiskDrive
call fcn.140078140
mov qword [rbx], rax
jmp 0x1400432e6
mov rbx, r12
mov qword [rbp - 0x80], rbx
test rbx, rbx
je 0x140043676
mov rsi, qword [rbx]
mov ecx, Ordinal_27
call fcn.140076f90
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140043325
mov qword [rax + 8], r12
mov dword [rax + 0x10], edi
lea rcx, [0x1400d0de0]
call fcn.140078140
mov qword [rbx], rax
jmp 0x140043328
mov rbx, r12
mov qword [rsp + 0x78], rbx
test rbx, rbx
je 0x14004366b
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, Ordinal_50
mov r8, rsi
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x50]
call r14
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140043044
nop
lea rcx, [rbp - 0x80]
call fcn.140043044
test ebx, ebx
js 0x140043294
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x60], r12d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140043605
or r14, 0xffffffffffffffff
lea ebx, [r14 + 8]
mov esi, 0x1000
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x68]
mov r8d, edi
mov edx, r14d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rsp + 0x60], r12d
je 0x140043605
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.MediaType
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x1400435f7
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
mov word [rbp - 0x60], r12w
mov r8, r14
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14004340e
lea rcx, [rbp - 0x60]
call fcn.140011600
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r9, str.Fixed_hard_disk
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, [rbp - 0x60]
call fcn.140010250
test eax, eax
jne 0x1400435b2
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x14004359c
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x40], r12w
mov r8, r14
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140043496
lea rcx, [rbp - 0x40]
call fcn.140011600
nop
lea rcx, [rbp - 0x40]
call fcn.1400430b0
lea r8, [rbp - 0x40]
lea rdx, str.DISK_SERIAL_NUM
lea rcx, [rbp - 0x20]
call fcn.140012830
nop
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1400434fe
mov qword [rdx], r12
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov word [rax], r12w
add qword [r15 + 8], 0x20
jmp 0x14004350a
mov r8, rax
mov rcx, r15
call fcn.140045490
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140043546
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rsi
jb 0x140043541
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043656
call fcn.14007721c
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], rbx
mov word [rbp - 0x20], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14004358f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x14004358a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004365d
call fcn.14007721c
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x40], r12w
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400435ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
cmp rdx, rsi
mov rax, rcx
jb 0x1400435e5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043664
call fcn.14007721c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
mov word [rbp - 0x60], r12w
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x14004339c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140076f70
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x8007000e
call fcn.140078130
nop
mov ecx, 0x8007000e
call fcn.140078130
int3