Function at 0x180420050
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 [0x180528ce8]
mov rax, qword [r12]
cmp rax, 4
jb 0x180420101
lea rax, [0x1804e7570]
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.180424ea0
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.180424d90
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, [0x1804e7598]
lea r9, [0x1804e7470]
xor r15d, r15d
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1804201c4
mov r14, qword [rsp + 0x80]
test r14, r14
mov eax, 0x535f4f4b
cmove r15d, eax
cmp qword [rsp + 0x50], 0
je 0x1804201d9
test r15d, r15d
je 0x1804201e8
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r15d
xor edi, edi
cmp r15d, 0x535f4f4b
cmovne edi, r15d
test r14, r14
je 0x180420196
lea rcx, [rsp + 0x50]
call fcn.1802d31e0
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 0x1804206e3
mov ecx, eax
call fcn.180424d50
mov r14, rax
mov r15d, edx
cmp qword [rsp + 0x50], 0
jne 0x18042016b
lea rcx, [rsp + 0x58]
call fcn.1802d31e0
test r15d, r15d
jne 0x180420170
mov qword [rsp + 0x48], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x1804202ad
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb8], rax
lea rax, [0x1804246c0]
mov qword [rsp + 0xc0], rax
lea rax, [0x1804e75b8]
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.180424ea0
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.180424d90
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0xd0], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x180420346
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.180424ea0
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.180424d90
mov rcx, rbx
mov rdx, rdi
call fcn.1804248a0
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 0x1804203e8
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x18042048a
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x535f4f4b
xor edi, edi
jmp 0x18042040d
mov ecx, eax
call fcn.180424d50
mov rdi, rax
test edx, edx
je 0x18042048a
mov ebx, edx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edx
cmp edx, 0x535f4f4b
jne 0x18042040f
xor ebx, ebx
test rdi, rdi
je 0x18042041e
lea rcx, [rsp + 0x50]
call fcn.1802d31e0
lea rcx, [rsp + 0x80]
call fcn.1802d31d0
lea rcx, [rsp + 0xb8]
call fcn.1802d31d0
lea rcx, [rsp + 0x48]
call fcn.1802d31d0
lea rcx, [rsp + 0xb0]
call fcn.1802d31d0
lea rcx, [rsp + 0xd8]
call fcn.1802d31d0
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 0x1804206d6
mov qword [rsp + 0xe0], rdi
lea rcx, [rsp + 0x80]
call fcn.1802d31d0
lea rbx, [rsp + 0xb8]
mov rcx, rbx
call fcn.1802d31d0
lea rcx, [rsp + 0x48]
call fcn.1802d31d0
lea rcx, [rsp + 0xb0]
call fcn.1802d31d0
mov rax, qword [r12]
cmp rax, 4
jb 0x180420584
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
lea rax, [0x180424710]
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.180424ea0
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.180424d90
mov rdi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xd8]
call fcn.1802d31d0
mov qword [rsp + 0xe8], rdi
mov rax, qword [r12]
cmp rax, 4
jb 0x18042062a
lea rax, [0x1804e74a8]
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.180424ea0
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.180424d90
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 0x18042066c
mov qword [rsi + 8], rdi
mov byte [rsi], 0x12
jmp 0x1804206d6
mov ecx, eax
call fcn.180424d50
test edx, edx
je 0x180420663
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edx
xor edi, edi
cmp edx, 0x535f4f4b
cmovne edi, edx
test rax, rax
je 0x18042069a
lea rcx, [rsp + 0x50]
call fcn.1802d31e0
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.1802d31e0
lea rcx, [rsp + 0xd0]
call fcn.1802d31e0
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret