Function at 0x14003a890
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.P__v_]
mov rax, qword [r12]
cmp rax, 4
jb 0x14003a941
lea rax, [0x140098680]
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_t_
call fcn.14003f0e0
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.14003f020
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, [0x1400986a8]
lea r9, [0x140098580]
xor r15d, r15d
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14003aa04
mov r14, qword [rsp + 0x80]
test r14, r14
mov eax, 0x535f4f4b
cmove r15d, eax
cmp qword [rsp + 0x50], 0
je 0x14003aa19
test r15d, r15d
je 0x14003aa28
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r15d
xor edi, edi
cmp r15d, 0x535f4f4b
cmovne edi, r15d
test r14, r14
je 0x14003a9d6
lea rcx, [rsp + 0x50]
call fcn.14003a1b0
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 0x14003af23
mov ecx, eax
call fcn.14003efe0
mov r14, rax
mov r15d, edx
cmp qword [rsp + 0x50], 0
jne 0x14003a9ab
lea rcx, [rsp + 0x58]
call fcn.14003a1b0
test r15d, r15d
jne 0x14003a9b0
mov qword [rsp + 0x48], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x14003aaed
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb8], rax
lea rax, [0x14003e940]
mov qword [rsp + 0xc0], rax
lea rax, [0x1400986c8]
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_t_
call fcn.14003f0e0
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.14003f020
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0xd0], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x14003ab86
lea rax, str.Calling_ConnectServer
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_t_
call fcn.14003f0e0
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.14003f020
mov rcx, rbx
mov rdx, rdi
call fcn.14003eb30
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 0x14003ac28
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14003acca
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x535f4f4b
xor edi, edi
jmp 0x14003ac4d
mov ecx, eax
call fcn.14003efe0
mov rdi, rax
test edx, edx
je 0x14003acca
mov ebx, edx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edx
cmp edx, 0x535f4f4b
jne 0x14003ac4f
xor ebx, ebx
test rdi, rdi
je 0x14003ac5e
lea rcx, [rsp + 0x50]
call fcn.14003a1b0
lea rcx, [rsp + 0x80]
call fcn.14003a1a0
lea rcx, [rsp + 0xb8]
call fcn.14003a1a0
lea rcx, [rsp + 0x48]
call fcn.14003a1a0
lea rcx, [rsp + 0xb0]
call fcn.14003a1a0
lea rcx, [rsp + 0xd8]
call fcn.14003a1a0
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 0x14003af16
mov qword [rsp + 0xe0], rdi
lea rcx, [rsp + 0x80]
call fcn.14003a1a0
lea rbx, [rsp + 0xb8]
mov rcx, rbx
call fcn.14003a1a0
lea rcx, [rsp + 0x48]
call fcn.14003a1a0
lea rcx, [rsp + 0xb0]
call fcn.14003a1a0
mov rax, qword [r12]
cmp rax, 4
jb 0x14003adc4
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
lea rax, [0x14003e990]
mov qword [rsp + 0xc0], rax
lea rax, str.Got_service
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.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.4_srcconnection.rs_t_
call fcn.14003f0e0
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.14003f020
mov rdi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xd8]
call fcn.14003a1a0
mov qword [rsp + 0xe8], rdi
mov rax, qword [r12]
cmp rax, 4
jb 0x14003ae6a
lea rax, [0x1400985b8]
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_t_
call fcn.14003f0e0
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.14003f020
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 0x14003aeac
mov qword [rsi + 8], rdi
mov byte [rsi], 0x12
jmp 0x14003af16
mov ecx, eax
call fcn.14003efe0
test edx, edx
je 0x14003aea3
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edx
xor edi, edi
cmp edx, 0x535f4f4b
cmovne edi, edx
test rax, rax
je 0x14003aeda
lea rcx, [rsp + 0x50]
call fcn.14003a1b0
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.14003a1b0
lea rcx, [rsp + 0xd0]
call fcn.14003a1b0
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret