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

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x4d0
mov qword [r11 - 0x468], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x14035b8c0]
xor rax, rsp
mov qword [rsp + 0x4c8], rax
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x54], ebx
lea rcx, [r11 - 0x40]
call fcn.140009d24
nop
mov byte [rsp + 0x4a0], bl
lea r8d, [rbx + 0xf]
lea rdx, str.srl::WMI2::Init
lea rcx, [rsp + 0x4a8]
call fcn.14000997c
nop
call fcn.140022280
cmp dword [rax + 8], 4
jl 0x1400865c1
mov byte [rsp + 0x4a0], 1
lea rcx, [rsp + 0x4a0]
call fcn.1400183a0
mov byte [rsp + 0x50], 0
lea rsi, [r14 + 0x30]
mov qword [rsp + 0x20], rsi
lea r9, [0x1402dd010]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402dd0e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140086745
mov ecx, 0x18
call fcn.14008a6f0
mov rdi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140086631
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.ROOTSecurityCenter2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14008723b
jmp 0x140086634
mov rdi, rbx
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x140087246
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140086659
mov rdx, qword [rax]
jmp 0x14008665c
mov rdx, rbx
mov rcx, qword [rsi]
lea r15, [r14 + 0x38]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x18]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400866f0
mov qword [rsp + 0x70], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
mov dword [rsp + 0x68], eax
jne 0x1400866e7
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400866e7
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400866c8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400866da
call fcn.14008a738
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140004154
mov qword [rsp + 0x60], rbx
mov eax, dword [rsp + 0x58]
test eax, eax
js 0x140086737
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r15]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14008672b
mov byte [rsp + 0x50], 1
jmp 0x14008674c
mov rcx, qword [r15]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r15], rbx
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsi], rbx
jmp 0x14008674c
mov qword [rsi], rbx
mov qword [r14 + 0x38], rbx
jmp 0x140086755
cmp byte [rsp + 0x50], 0
je 0x140086c9c
mov byte [r14 + 0x28], 1
call fcn.140022280
cmp dword [rax + 8], 3
jl 0x140087200
call fcn.140022280
mov r12, rax
lea rcx, [rsp + 0x160]
call fcn.14001b520
nop
lea rcx, [rsp + 0x420]
call fcn.140009d24
nop
mov r8d, 5
lea rdx, str.TRACE
lea rcx, [rsp + 0x420]
call fcn.14000997c
lea rcx, [rsp + 0x360]
call fcn.140009d24
nop
mov r14d, ebx
mov r15d, 2
cmp dword [r12 + 0x10], 0
jle 0x140086861
cmp r14d, 0xa
jge 0x140086861
mov rcx, qword [rsp + 0x370]
mov rdx, qword [rsp + 0x378]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x140086837
lea rsi, [rcx + 2]
mov qword [rsp + 0x370], rsi
lea rdi, [rsp + 0x360]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x360]
lea rcx, [rdi + rcx*2]
mov r8d, 4
lea rdx, [0x1402f0290]
call fcn.14022e100
mov word [rdi + rsi*2], bx
jmp 0x140086853
mov qword [rsp + 0x20], r15
lea r9, [0x1402f0290]
mov rdx, r15
lea rcx, [rsp + 0x360]
call fcn.1400230d0
inc r14d
cmp r14d, dword [r12 + 0x10]
jl 0x1400867d5
lea rcx, [rsp + 0x400]
call fcn.140009d24
nop
lea rcx, [rsp + 0x3e0]
call fcn.140009d24
nop
lea r8, [rsp + 0x3e0]
lea rdx, [rsp + 0x400]
mov rcx, r12
call fcn.1400223b0
lea r14, [rsp + 0x360]
cmp qword [rsp + 0x378], 8
cmovae r14, qword [rsp + 0x360]
mov edx, 0x2040
lea rcx, [rsp + 0x98]
call fcn.14022c1f4
mov rcx, qword [rsp + 0x170]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x170]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x400]
cmp qword [rsp + 0x418], 8
cmovae rdx, qword [rsp + 0x400]
mov r8, qword [rsp + 0x410]
lea rcx, [rsp + 0x170]
call fcn.140018d10
mov rdi, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0xa8]
call fcn.14022c1f4
mov rsi, rax
lea rdx, [0x1402eff50]
mov rcx, rdi
call fcn.140018930
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rsi + 8]
call qword [rsi]
mov edx, 6
lea rcx, [rsp + 0xb8]
call fcn.14022c21c
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rcx + rdi + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0xc8]
call fcn.14022c208
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x3e0]
cmp qword [rsp + 0x3f8], 8
cmovae rdx, qword [rsp + 0x3e0]
mov r8, qword [rsp + 0x3f0]
mov rcx, rdi
call fcn.140018d10
mov rdi, rax
mov edx, 5
lea rcx, [rsp + 0xd8]
call fcn.14022c21c
mov rsi, rax
lea rdx, [0x1402eff50]
mov rcx, rdi
call fcn.140018930
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
mov eax, 0x20
mov word [rdx + rdi + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0xe8]
call fcn.14022c1f4
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x420]
cmp qword [rsp + 0x438], 8
cmovae rdx, qword [rsp + 0x420]
mov r8, qword [rsp + 0x430]
mov rcx, rdi
call fcn.140018d10
lea rdx, [0x1402f02e0]
mov rcx, rax
call fcn.140018930
mov rcx, rax
mov rdx, r14
call fcn.140018930
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036af98], eax
jle 0x140086aca
lea rcx, [0x14036af98]
call fcn.140229c6c
cmp dword [0x14036af98], 0xffffffff
jne 0x140086aca
lea rdi, [0x14036afa0]
mov rcx, rdi
call fcn.140009d24
lea rcx, [0x14027cd90]
call fcn.140229a10
lea rcx, [0x14036af98]
call fcn.140229c0c
jmp 0x140086ad1
lea rdi, [0x14036afa0]
lea rcx, [rsp + 0x3a0]
call fcn.140006790
movdqa xmm0, xmmword [0x1402f6db0]
movdqu xmmword [rsp + 0x3b0], xmm0
mov word [rsp + 0x3a0], bx
mov dword [rsp + 0x54], r15d
mov rcx, qword [rsp + 0x1e8]
test cl, 2
jne 0x140086b3a
mov rax, qword [rsp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x140086b3a
mov rax, qword [rsp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rsp + 0x1e0]
cmovb r8, qword [rsp + 0x1e0]
sub r8, rdx
jmp 0x140086b6e
test cl, 4
jne 0x140086b7e
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140086b7e
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x1c8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x3a0]
call fcn.14000997c
and r15d, 0xfffffffd
mov dword [rsp + 0x54], r15d
or r15d, 1
mov dword [rsp + 0x54], r15d
mov rdx, qword [0x14036afb8]
cmp rdx, 8
jb 0x140086bd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14036afa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086bd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140087251
call fcn.140004154
movups xmm0, xmmword [rsp + 0x3a0]
movups xmmword [0x14036afa0], xmm0
movups xmm1, xmmword [rsp + 0x3b0]
movups xmmword [0x14036afb0], xmm1
movdqa xmm0, xmmword [0x1402f6db0]
movdqu xmmword [rsp + 0x3b0], xmm0
mov word [rsp + 0x3a0], bx
and r15d, 0xfffffffe
mov dword [rsp + 0x54], r15d
lea rcx, [rsp + 0x3a0]
call fcn.140009568
nop
lea rcx, [rsp + 0x3e0]
call fcn.140009568
nop
lea rcx, [rsp + 0x400]
call fcn.140009568
nop
lea rcx, [rsp + 0x360]
call fcn.140009568
nop
lea rcx, [rsp + 0x420]
call fcn.140009568
nop
lea rcx, [rsp + 0x160]
call fcn.14001b1e0
call fcn.140022280
cmp qword [0x14036afb8], 8
cmovae rdi, qword [0x14036afa0]
mov r8, qword [0x14036afb0]
mov rdx, rdi
mov rcx, rax
call fcn.140018d10
lea rdx, str.WMI2_inited_ok.
jmp 0x1400871d0
call fcn.140022280
cmp dword [rax + 8], 3
jl 0x140087200
call fcn.140022280
mov r12, rax
lea rcx, [rsp + 0x260]
call fcn.14001b520
nop
lea rcx, [rsp + 0x480]
call fcn.140009d24
nop
mov r8d, 5
lea rdx, str.TRACE
lea rcx, [rsp + 0x480]
call fcn.14000997c
lea rcx, [rsp + 0x380]
call fcn.140009d24
nop
mov r14d, ebx
cmp dword [r12 + 0x10], 0
jle 0x140086d9c
mov r15d, 2
nop dword [rax]
cmp r14d, 0xa
jge 0x140086d9c
mov rcx, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x398]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x140086d72
lea rsi, [rcx + 2]
mov qword [rsp + 0x390], rsi
lea rdi, [rsp + 0x380]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x380]
lea rcx, [rdi + rcx*2]
mov r8d, 4
lea rdx, [0x1402f0290]
call fcn.14022e100
mov word [rdi + rsi*2], bx
jmp 0x140086d8e
mov qword [rsp + 0x20], r15
lea r9, [0x1402f0290]
mov rdx, r15
lea rcx, [rsp + 0x380]
call fcn.1400230d0
inc r14d
cmp r14d, dword [r12 + 0x10]
jl 0x140086d10
lea rcx, [rsp + 0x460]
call fcn.140009d24
nop
lea rcx, [rsp + 0x440]
call fcn.140009d24
nop
lea r8, [rsp + 0x440]
lea rdx, [rsp + 0x460]
mov rcx, r12
call fcn.1400223b0
lea r14, [rsp + 0x380]
cmp qword [rsp + 0x398], 8
cmovae r14, qword [rsp + 0x380]
mov edx, 0x2040
lea rcx, [rsp + 0xf8]
call fcn.14022c1f4
mov rcx, qword [rsp + 0x270]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x270]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x460]
cmp qword [rsp + 0x478], 8
cmovae rdx, qword [rsp + 0x460]
mov r8, qword [rsp + 0x470]
lea rcx, [rsp + 0x270]
call fcn.140018d10
mov rdi, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x108]
call fcn.14022c1f4
mov rsi, rax
lea rdx, [0x1402eff50]
mov rcx, rdi
call fcn.140018930
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rsi + 8]
call qword [rsi]
mov edx, 6
lea rcx, [rsp + 0x118]
call fcn.14022c21c
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rcx + rdi + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0x128]
call fcn.14022c208
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x440]
cmp qword [rsp + 0x458], 8
cmovae rdx, qword [rsp + 0x440]
mov r8, qword [rsp + 0x450]
mov rcx, rdi
call fcn.140018d10
mov rdi, rax
mov edx, 5
lea rcx, [rsp + 0x138]
call fcn.14022c21c
mov rsi, rax
lea rdx, [0x1402eff50]
mov rcx, rdi
call fcn.140018930
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
mov eax, 0x20
mov word [rdx + rdi + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x148]
call fcn.14022c1f4
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x480]
cmp qword [rsp + 0x498], 8
cmovae rdx, qword [rsp + 0x480]
mov r8, qword [rsp + 0x490]
mov rcx, rdi
call fcn.140018d10
lea rdx, [0x1402f02e0]
mov rcx, rax
call fcn.140018930
mov rcx, rax
mov rdx, r14
call fcn.140018930
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036af98], eax
jle 0x140087005
lea rcx, [0x14036af98]
call fcn.140229c6c
cmp dword [0x14036af98], 0xffffffff
jne 0x140087005
lea rdi, [0x14036afa0]
mov rcx, rdi
call fcn.140009d24
lea rcx, [0x14027cd90]
call fcn.140229a10
lea rcx, [0x14036af98]
call fcn.140229c0c
jmp 0x14008700c
lea rdi, [0x14036afa0]
lea rcx, [rsp + 0x3c0]
call fcn.140006790
movdqa xmm0, xmmword [0x1402f6db0]
movdqu xmmword [rsp + 0x3d0], xmm0
mov word [rsp + 0x3c0], bx
mov esi, 8
mov dword [rsp + 0x54], esi
mov rcx, qword [rsp + 0x2e8]
test cl, 2
jne 0x140087079
mov rax, qword [rsp + 0x2b8]
mov r8, qword [rax]
test r8, r8
je 0x140087079
mov rax, qword [rsp + 0x298]
mov rdx, qword [rax]
cmp r8, qword [rsp + 0x2e0]
cmovb r8, qword [rsp + 0x2e0]
sub r8, rdx
jmp 0x1400870ad
test cl, 4
jne 0x1400870bd
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400870bd
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x2c8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x3c0]
call fcn.14000997c
and esi, 0xfffffff7
mov dword [rsp + 0x54], esi
or esi, 4
mov dword [rsp + 0x54], esi
mov rdx, qword [0x14036afb8]
cmp rdx, 8
jb 0x140087111
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14036afa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008710c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140087257
call fcn.140004154
movups xmm0, xmmword [rsp + 0x3c0]
movups xmmword [0x14036afa0], xmm0
movups xmm1, xmmword [rsp + 0x3d0]
movups xmmword [0x14036afb0], xmm1
movdqa xmm0, xmmword [0x1402f6db0]
movdqu xmmword [rsp + 0x3d0], xmm0
mov word [rsp + 0x3c0], bx
and esi, 0xfffffffb
mov dword [rsp + 0x54], esi
lea rcx, [rsp + 0x3c0]
call fcn.140009568
nop
lea rcx, [rsp + 0x440]
call fcn.140009568
nop
lea rcx, [rsp + 0x460]
call fcn.140009568
nop
lea rcx, [rsp + 0x380]
call fcn.140009568
nop
lea rcx, [rsp + 0x480]
call fcn.140009568
nop
lea rcx, [rsp + 0x260]
call fcn.14001b1e0
call fcn.140022280
cmp qword [0x14036afb8], 8
cmovae rdi, qword [0x14036afa0]
mov r8, qword [0x14036afb0]
mov rdx, rdi
mov rcx, rax
call fcn.140018d10
lea rdx, str.WMI2_init_failure.
mov rcx, rax
call fcn.140018930
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rbx, rax
mov dl, 0xa
add rcx, rax
call fcn.140019200
movzx edx, ax
mov rcx, rbx
call fcn.140019040
mov rcx, rbx
call fcn.140019c40
nop
lea rcx, [rsp + 0x4a0]
call fcn.140019d90
mov rcx, qword [rsp + 0x4c8]
xor rcx, rsp
call fcn.140229750
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov ecx, 0x8007000e
call fcn.14022aaf0
nop
mov ecx, 0x8007000e
call fcn.14022aaf0
nop
call fcn.140230b64
nop
call fcn.140230b64
int3