Function at 0x1801a6be0
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 [0x180280780]
mov rax, qword [r12]
cmp rax, 4
jb 0x1801a6c91
lea rax, [0x180261e50]
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
call fcn.1801ab500
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.1801ab3f0
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, [0x180261e78]
lea r9, [0x180261d50]
xor r15d, r15d
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1801a6d54
mov r14, qword [rsp + 0x80]
test r14, r14
mov eax, 0x535f4f4b
cmove r15d, eax
cmp qword [rsp + 0x50], 0
je 0x1801a6d69
test r15d, r15d
je 0x1801a6d78
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r15d
xor edi, edi
cmp r15d, 0x535f4f4b
cmovne edi, r15d
test r14, r14
je 0x1801a6d26
lea rcx, [rsp + 0x50]
call fcn.18005d100
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 0x1801a7273
mov ecx, eax
call fcn.1801ab3b0
mov r14, rax
mov r15d, edx
cmp qword [rsp + 0x50], 0
jne 0x1801a6cfb
lea rcx, [rsp + 0x58]
call fcn.18005d100
test r15d, r15d
jne 0x1801a6d00
mov qword [rsp + 0x48], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x1801a6e3d
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb8], rax
lea rax, [0x1801aad10]
mov qword [rsp + 0xc0], rax
lea rax, [0x180261e98]
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
call fcn.1801ab500
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.1801ab3f0
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0xd0], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x1801a6ed6
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
call fcn.1801ab500
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.1801ab3f0
mov rcx, rbx
mov rdx, rdi
call fcn.1801aaf00
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 0x1801a6f78
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x1801a701a
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x535f4f4b
xor edi, edi
jmp 0x1801a6f9d
mov ecx, eax
call fcn.1801ab3b0
mov rdi, rax
test edx, edx
je 0x1801a701a
mov ebx, edx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edx
cmp edx, 0x535f4f4b
jne 0x1801a6f9f
xor ebx, ebx
test rdi, rdi
je 0x1801a6fae
lea rcx, [rsp + 0x50]
call fcn.18005d100
lea rcx, [rsp + 0x80]
call fcn.18005d0f0
lea rcx, [rsp + 0xb8]
call fcn.18005d0f0
lea rcx, [rsp + 0x48]
call fcn.18005d0f0
lea rcx, [rsp + 0xb0]
call fcn.18005d0f0
lea rcx, [rsp + 0xd8]
call fcn.18005d0f0
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 0x1801a7266
mov qword [rsp + 0xe0], rdi
lea rcx, [rsp + 0x80]
call fcn.18005d0f0
lea rbx, [rsp + 0xb8]
mov rcx, rbx
call fcn.18005d0f0
lea rcx, [rsp + 0x48]
call fcn.18005d0f0
lea rcx, [rsp + 0xb0]
call fcn.18005d0f0
mov rax, qword [r12]
cmp rax, 4
jb 0x1801a7114
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
lea rax, [0x1801aad60]
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
call fcn.1801ab500
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.1801ab3f0
mov rdi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xd8]
call fcn.18005d0f0
mov qword [rsp + 0xe8], rdi
mov rax, qword [r12]
cmp rax, 4
jb 0x1801a71ba
lea rax, [0x180261d88]
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
call fcn.1801ab500
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.1801ab3f0
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 0x1801a71fc
mov qword [rsi + 8], rdi
mov byte [rsi], 0x12
jmp 0x1801a7266
mov ecx, eax
call fcn.1801ab3b0
test edx, edx
je 0x1801a71f3
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edx
xor edi, edi
cmp edx, 0x535f4f4b
cmovne edi, edx
test rax, rax
je 0x1801a722a
lea rcx, [rsp + 0x50]
call fcn.18005d100
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.18005d100
lea rcx, [rsp + 0xd0]
call fcn.18005d100
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret