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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0xc0
mov edi, r8d
mov r14d, edx
mov rsi, rcx
and dword [rax - 0x68], 0
lea rdx, str.ASSOCIATORS_OF_Win32_DiskDrive.DeviceID.PhysicalDrive_d_WHERE_ResultClassWin32_PnPEntity
lea rcx, [rax - 0x30]
call fcn.140001340
nop
lea rdx, str.ASSOCIATORS_OF_Win32_PnPEntity.DeviceID_s_WHERE_AssocClassWin32_SCSIControllerDevice
lea rcx, [rsp + 0x90]
call fcn.140001340
nop
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14004f927
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14004f932
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x60], 1
and qword [rsp + 0x58], 0
and qword [rsp + 0xe8], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1401075a8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401075b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14004f86d
neg edi
sbb edi, edi
and edi, 0x80
lea rdx, str.._rootcimv2
lea rcx, [rsp + 0xa8]
call fcn.140015914
nop
mov rax, qword [rax]
test rax, rax
je 0x14004f684
mov rdx, qword [rax]
jmp 0x14004f686
xor edx, edx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0xe8]
mov qword [rsp + 0x40], r8
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], edi
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov edi, eax
shr edi, 0x1f
lea rcx, [rsp + 0xa8]
call fcn.14001a0c0
xor dil, 1
je 0x14004f86d
and dword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
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 + 0xe8]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14004f86d
mov r8d, r14d
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.140002f84
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lea rdx, str.DeviceID
lea rcx, [rsp + 0xa0]
call fcn.140001340
mov rdi, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140001888
lea rcx, [rax + 0x18]
mov qword [rsp + 0x70], rcx
mov r9, rdi
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x88]
call fcn.14004fc70
nop
mov r8, qword [rsp + 0x88]
cmp dword [r8 - 0x10], 0
je 0x14004f82b
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140002f84
lea rax, [rsp + 0x68]
mov qword [rsp + 0xb0], rax
lea rdx, str.DeviceID
lea rcx, [rsp + 0x68]
call fcn.140001340
mov rdi, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140001888
lea rcx, [rax + 0x18]
mov qword [rsp + 0x78], rcx
mov r9, rdi
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x80]
call fcn.14004fc70
nop
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14000179c
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f84a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004f84a
lea rcx, [0x1400e02c0]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [0x1400e02c0]
mov rcx, rsi
call fcn.140002188
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f86d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004f877
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x14004f893
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
and qword [rsp + 0xe8], 0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004f8a9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
and qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f8c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f8ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f90e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
lea r11, [rsp + 0xc0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
mov ecx, 0x80004005
call fcn.140001860
nop
mov ecx, 0x80004005
call fcn.140001860
int3