Function at 0x140042450
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 [0x1400bd028]
mov rax, qword [r12]
cmp rax, 4
jb 0x140042501
lea rax, str.o_t_n_
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.140046d90
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.140046cd0
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, [0x1400a09c8]
lea r9, [0x1400a08a0]
xor r15d, r15d
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400425c4
mov r14, qword [rsp + 0x80]
test r14, r14
mov eax, 0x535f4f4b
cmove r15d, eax
cmp qword [rsp + 0x50], 0
je 0x1400425d9
test r15d, r15d
je 0x1400425e8
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r15d
xor edi, edi
cmp r15d, 0x535f4f4b
cmovne edi, r15d
test r14, r14
je 0x140042596
lea rcx, [rsp + 0x50]
call fcn.140041d70
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 0x140042ae3
mov ecx, eax
call fcn.140046c90
mov r14, rax
mov r15d, edx
cmp qword [rsp + 0x50], 0
jne 0x14004256b
lea rcx, [rsp + 0x58]
call fcn.140041d70
test r15d, r15d
jne 0x140042570
mov qword [rsp + 0x48], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x1400426ad
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb8], rax
lea rax, [0x1400465f0]
mov qword [rsp + 0xc0], rax
lea rax, [0x1400a09e8]
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.140046d90
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.140046cd0
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0xd0], r14
mov rax, qword [r12]
cmp rax, 4
jb 0x140042746
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.140046d90
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.140046cd0
mov rcx, rbx
mov rdx, rdi
call fcn.1400467e0
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 0x1400427e8
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14004288a
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x535f4f4b
xor edi, edi
jmp 0x14004280d
mov ecx, eax
call fcn.140046c90
mov rdi, rax
test edx, edx
je 0x14004288a
mov ebx, edx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edx
cmp edx, 0x535f4f4b
jne 0x14004280f
xor ebx, ebx
test rdi, rdi
je 0x14004281e
lea rcx, [rsp + 0x50]
call fcn.140041d70
lea rcx, [rsp + 0x80]
call fcn.140041d60
lea rcx, [rsp + 0xb8]
call fcn.140041d60
lea rcx, [rsp + 0x48]
call fcn.140041d60
lea rcx, [rsp + 0xb0]
call fcn.140041d60
lea rcx, [rsp + 0xd8]
call fcn.140041d60
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 0x140042ad6
mov qword [rsp + 0xe0], rdi
lea rcx, [rsp + 0x80]
call fcn.140041d60
lea rbx, [rsp + 0xb8]
mov rcx, rbx
call fcn.140041d60
lea rcx, [rsp + 0x48]
call fcn.140041d60
lea rcx, [rsp + 0xb0]
call fcn.140041d60
mov rax, qword [r12]
cmp rax, 4
jb 0x140042984
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
lea rax, [0x140046640]
mov qword [rsp + 0xc0], rax
lea rax, str.P_n_n_
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.140046d90
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.140046cd0
mov rdi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xd8]
call fcn.140041d60
mov qword [rsp + 0xe8], rdi
mov rax, qword [r12]
cmp rax, 4
jb 0x140042a2a
lea rax, [0x1400a08d8]
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.140046d90
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.140046cd0
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 0x140042a6c
mov qword [rsi + 8], rdi
mov byte [rsi], 0x12
jmp 0x140042ad6
mov ecx, eax
call fcn.140046c90
test edx, edx
je 0x140042a63
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edx
xor edi, edi
cmp edx, 0x535f4f4b
cmovne edi, edx
test rax, rax
je 0x140042a9a
lea rcx, [rsp + 0x50]
call fcn.140041d70
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.140041d70
lea rcx, [rsp + 0xd0]
call fcn.140041d70
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret