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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r12, qword [str.Pm_r_]
mov rax, qword [r12]
cmp rax, 4
jb 0x14005a821
lea rax, [0x1400b79c0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.4_srcconnection.rs_by_v_
call fcn.14005f170
lea rcx, str.wmi::connectionCalling_CoCreateInstance_for_CLSID_WbemLocator
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], 0xf
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov edx, 4
xor r9d, r9d
call fcn.14005f0b0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400b79e8]
lea r9, [0x1400b78c0]
xor r15d, r15d
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005a8e4
mov r14, qword [rsp + 0x80]
test r14, r14
mov eax, 0x535f4f4b
cmove r15d, eax
cmp qword [rsp + 0x50], 0
je 0x14005a8f9
test r15d, r15d
je 0x14005a908
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r15d
xor edi, edi
cmp r15d, 0x535f4f4b
cmovne edi, r15d
test r14, r14
je 0x14005a8b6
lea rcx, [rsp + 0x50]
call fcn.14005a080
movzx eax, byte [rsp + 0xb2]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0xb0]
mov word [rsi + 1], ax
mov dword [rsi + 4], edi
movups xmm0, xmmword [rsp + 0xe8]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x14005ae03
mov ecx, eax
call fcn.14005f070
mov r14, rax
mov r15d, edx
cmp qword [rsp + 0x50], 0
jne 0x14005a88b
lea rcx, [rsp + 0x58]
call fcn.14005a080
test r15d, r15d
jne 0x14005a890
mov qword [rsp + 0x48], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x14005a9cd
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb8], rax
lea rax, [0x14005e9d0]
mov qword [rsp + 0xc0], rax
lea rax, [0x1400b7a08]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.4_srcconnection.rs_by_v_
call fcn.14005f170
lea rcx, str.wmi::connectionCalling_CoCreateInstance_for_CLSID_WbemLocator
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], 0xf
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov edx, 4
xor r9d, r9d
call fcn.14005f0b0
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0xd0], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x14005aa66
lea rax, str.0z_v_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.4_srcconnection.rs_by_v_
call fcn.14005f170
lea rcx, str.wmi::connectionCalling_CoCreateInstance_for_CLSID_WbemLocator
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], 0xf
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov edx, 4
xor r9d, r9d
call fcn.14005f0b0
mov rcx, rbx
mov rdx, rdi
call fcn.14005ebc0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x50], 0
mov r10, qword [r14]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [r10 + 0x18]
test eax, eax
js 0x14005ab08
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14005abaa
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x535f4f4b
xor edi, edi
jmp 0x14005ab2d
mov ecx, eax
call fcn.14005f070
mov rdi, rax
test edx, edx
je 0x14005abaa
mov ebx, edx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edx
cmp edx, 0x535f4f4b
jne 0x14005ab2f
xor ebx, ebx
test rdi, rdi
je 0x14005ab3e
lea rcx, [rsp + 0x50]
call fcn.14005a080
lea rcx, [rsp + 0x80]
call fcn.14005a070
lea rcx, [rsp + 0xb8]
call fcn.14005a070
lea rcx, [rsp + 0x48]
call fcn.14005a070
lea rcx, [rsp + 0xb0]
call fcn.14005a070
lea rcx, [rsp + 0xd8]
call fcn.14005a070
movzx eax, byte [rsp + 0xaf]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0xad]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0xe8]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x14005adf6
mov qword [rsp + 0xe0], rdi
lea rcx, [rsp + 0x80]
call fcn.14005a070
lea rbx, [rsp + 0xb8]
mov rcx, rbx
call fcn.14005a070
lea rcx, [rsp + 0x48]
call fcn.14005a070
lea rcx, [rsp + 0xb0]
call fcn.14005a070
mov rax, qword [r12]
cmp rax, 4
jb 0x14005aca4
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
lea rax, [0x14005ea20]
mov qword [rsp + 0xc0], rax
lea rax, str.pz_v_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 1
lea rcx, str._by_v_
call fcn.14005f170
lea rcx, str.wmi::connectionCalling_CoCreateInstance_for_CLSID_WbemLocator
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], 0xf
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov edx, 4
xor r9d, r9d
call fcn.14005f0b0
mov rdi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xd8]
call fcn.14005a070
mov qword [rsp + 0xe8], rdi
mov rax, qword [r12]
cmp rax, 4
jb 0x14005ad4a
lea rax, [0x1400b78f8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.4_srcconnection.rs_by_v_
call fcn.14005f170
lea rcx, str.wmi::connectionCalling_CoCreateInstance_for_CLSID_WbemLocator
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], 0xf
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov edx, 4
xor r9d, r9d
call fcn.14005f0b0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14005ad8c
mov qword [rsi + 8], rdi
mov byte [rsi], 0x12
jmp 0x14005adf6
mov ecx, eax
call fcn.14005f070
test edx, edx
je 0x14005ad83
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edx
xor edi, edi
cmp edx, 0x535f4f4b
cmovne edi, edx
test rax, rax
je 0x14005adba
lea rcx, [rsp + 0x50]
call fcn.14005a080
mov byte [rsi], 0
movzx eax, word [rsp + 0x48]
mov word [rsi + 1], ax
movzx eax, byte [rsp + 0x4a]
mov byte [rsi + 3], al
mov dword [rsi + 4], edi
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rsi + 0x18], rax
lea rcx, [rsp + 0xe8]
call fcn.14005a080
lea rcx, [rsp + 0xd0]
call fcn.14005a080
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret