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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov r13, r8
mov rbx, rdx
mov qword [rbp - 0x28], rcx
mov r12, qword [str.__a_]
mov rax, qword [r12]
xor ecx, ecx
cmp rax, 4
setne cl
mov eax, 0xff
cmovbe eax, ecx
test al, al
je 0x140011ac7
movzx eax, al
cmp eax, 0xff
jne 0x140011b10
lea rax, str.Calling_CoCreateInstance_for_CLSID_WbemLocator
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
lea rax, str.IWbemLocator
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.wmi::connectionC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.3_srcconnection.rs
lea rcx, [rbp + 0x20]
mov edx, 4
mov r9d, 0xb9
call fcn.140019c80
mov qword [rbp - 0x18], 0
mov qword [rbp + 0x20], 1
mov qword [rbp + 0x28], 0
lea rsi, [rbp - 0x18]
mov qword [rsp + 0x20], rsi
lea rcx, [0x140053708]
lea r9, [0x1400535e0]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140011b70
mov rdi, r12
mov r14, qword [rbp - 0x18]
test r14, r14
je 0x140011d5f
mov r12b, 1
cmp qword [rbp + 0x20], 0
jne 0x140011b8e
jmp 0x140011d73
mov ecx, eax
call fcn.140019020
mov r14, rax
mov r15d, edx
mov rdi, r12
xor r12d, r12d
cmp qword [rbp + 0x20], 0
je 0x140011d73
test r12b, r12b
je 0x140011d85
mov qword [rbp + 0x58], r14
mov r12, rdi
mov rax, qword [rdi]
lea r15, [rbp + 0x58]
cmp rax, 4
mov rdi, r13
mov r13, rsi
jb 0x140011c0f
mov qword [rbp - 0x18], r15
lea rax, [0x140011900]
mov qword [rbp - 0x10], rax
lea rax, [0x140053728]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 1
mov qword [rsp + 0x20], 0
lea r8, str.wmi::connectionC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.3_srcconnection.rs
lea rcx, [rbp + 0x20]
mov edx, 4
mov r9d, 0xbd
call fcn.140019c80
mov r14, qword [rbp + 0x58]
mov qword [rbp + 8], r14
mov rax, qword [r12]
xor ecx, ecx
cmp rax, 4
setne cl
mov eax, 0xff
cmovbe eax, ecx
test al, al
mov rsi, qword [rbp - 0x28]
je 0x140011c3a
movzx eax, al
cmp eax, 0xff
jne 0x140011c83
lea rax, str.Calling_ConnectServer
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
lea rax, str.IWbemLocator
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.wmi::connectionC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.3_srcconnection.rs
lea rcx, [rbp + 0x20]
mov edx, 4
mov r9d, 0xc3
call fcn.140019c80
mov rcx, rbx
mov rdx, rdi
call fcn.1400182e0
mov qword [rbp], rax
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp - 0x18], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x80
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 8]
mov r8, rbp
lea r9, [rbp + 0x18]
call fcn.140015af0
cmp qword [rbp + 0x20], 0
mov rdi, qword [rbp + 0x28]
je 0x140011dc2
mov ebx, dword [rbp + 0x30]
mov qword [rbp + 0x20], rdi
mov dword [rbp + 0x28], ebx
test rdi, rdi
je 0x140011d11
lea rcx, [rbp + 0x20]
call fcn.140017fa0
lea rcx, [rbp - 0x18]
call fcn.140018490
lea rcx, [rbp + 0x58]
call fcn.140018490
lea rcx, [rbp + 0x50]
call fcn.140018490
lea rcx, [rbp + 0x18]
call fcn.140018490
mov rcx, rbp
call fcn.140018490
movzx eax, byte [rbp + 0x17]
mov byte [rsi + 3], al
movzx eax, word [rbp + 0x15]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x140011f5f
xor r14d, r14d
xor r15d, r15d
xor r12d, r12d
cmp qword [rbp + 0x20], 0
jne 0x140011b8e
lea rcx, [rbp + 0x28]
call fcn.140017fa0
test r12b, r12b
jne 0x140011b97
mov qword [rbp + 0x20], r14
mov dword [rbp + 0x28], r15d
test r14, r14
je 0x140011d9b
lea rcx, [rbp + 0x20]
call fcn.140017fa0
movzx eax, byte [rbp + 0x52]
mov rsi, qword [rbp - 0x28]
mov byte [rsi + 3], al
movzx eax, word [rbp + 0x50]
mov word [rsi + 1], ax
mov dword [rsi + 4], r15d
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x140011f68
mov qword [rbp - 0x20], rdi
lea rbx, [rbp - 0x18]
mov rcx, rbx
call fcn.140018490
lea rcx, [rbp + 0x58]
call fcn.140018490
lea rcx, [rbp + 0x50]
call fcn.140018490
lea rcx, [rbp + 0x18]
call fcn.140018490
mov rax, qword [r12]
cmp rax, 4
jb 0x140011e59
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rax, [0x140011940]
mov qword [rbp - 0x10], rax
lea rax, str.Got_service
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 1
mov qword [rsp + 0x20], 0
lea r8, str.wmi::connectionC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.3_srcconnection.rs
lea rcx, [rbp + 0x20]
mov edx, 4
mov r9d, 0xd3
call fcn.140019c80
mov rdi, qword [rbp - 0x20]
mov rcx, rbp
call fcn.140018490
mov qword [rbp - 0x38], rdi
mov rax, qword [r12]
xor ecx, ecx
cmp rax, 4
setne cl
mov eax, 0xff
cmovbe eax, ecx
test al, al
je 0x140011e88
movzx eax, al
cmp eax, 0xff
jne 0x140011ed1
lea rax, [0x140053618]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
lea rax, str.IWbemLocator
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.wmi::connectionC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.13.3_srcconnection.rs
lea rcx, [rbp + 0x20]
mov edx, 4
mov r9d, 0xa5
call fcn.140019c80
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 0x140011f13
mov qword [rsi + 8], rdi
mov byte [rsi], 0x12
jmp 0x140011f5f
mov ecx, eax
call fcn.140019020
mov edi, edx
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], edx
test rax, rax
je 0x140011f31
lea rcx, [rbp + 0x20]
call fcn.140017fa0
movzx eax, byte [rbp + 0x5a]
mov byte [rsi + 3], al
movzx eax, word [rbp + 0x58]
mov word [rsi + 1], ax
mov dword [rsi + 4], edi
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rbp - 8]
mov qword [rsi + 0x18], rax
mov byte [rsi], 0
lea rcx, [rbp - 0x38]
call fcn.140017fa0
lea rcx, [rbp + 8]
call fcn.140017fa0
mov rax, rsi
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret