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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x140309918]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor ebx, ebx
mov qword [r11 - 0x50], rbx
movdqa xmm0, xmmword [0x1402c4550]
movdqu xmmword [r11 - 0x40], xmm0
mov word [r11 - 0x50], bx
mov byte [r11 - 0x58], bl
lea rdx, str.srl::WMI3::Init
lea rcx, [r11 - 0x50]
call fcn.140009b0c
nop
call fcn.14001ff60
cmp dword [rax + 8], 4
jl 0x14006cabb
lea rcx, [rsp + 0x260]
call fcn.140015b00
xor r15b, r15b
mov byte [rsp + 0x50], r15b
lea rsi, [r14 + 0x30]
mov qword [rsp + 0x20], rsi
lea r9, [0x1402ab3d0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402ab3c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14006cc05
mov ecx, 0x18
call fcn.14007435c
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14006cb2b
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14006d281
jmp 0x14006cb2e
mov rdi, rbx
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x14006d28c
mov rcx, qword [rsi]
lea r12, [r14 + 0x38]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r12
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
mov rdx, qword [rdi]
call qword [rax + 0x18]
mov r13d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14006cbac
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006cb8d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14006cb9f
call fcn.1400743a4
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.14000410c
test r13d, r13d
js 0x14006cbfa
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 [r12]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14006cbec
mov r15b, 1
mov byte [rsp + 0x50], r15b
jmp 0x14006cc0c
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r12], rbx
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14006cc09
mov qword [r14 + 0x38], rbx
mov qword [rsi], rbx
jmp 0x14006cc1b
test r15b, r15b
je 0x14006d1f1
mov byte [r14 + 0x28], 1
call fcn.14001ff60
cmp dword [rax + 8], 3
jl 0x14006d247
call fcn.14001ff60
mov rsi, rax
lea rcx, [rsp + 0xc0]
call fcn.140018c70
nop
mov qword [rsp + 0x1f8], 7
mov qword [rsp + 0x1f0], 5
movsd xmm0, qword [str.TRACE]
movsd qword [rsp + 0x1e0], xmm0
movzx eax, word [0x1402bdc00]
mov word [rsp + 0x1e8], ax
mov word [rsp + 0x1ea], bx
mov qword [rsp + 0x1c0], rbx
mov rdx, rbx
mov qword [rsp + 0x1d0], rbx
mov r8d, 7
mov qword [rsp + 0x1d8], r8
mov word [rsp + 0x1c0], bx
mov edi, ebx
cmp dword [rsi + 0x10], 0
jle 0x14006cd35
nop
cmp edi, 0xa
jge 0x14006cd35
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x1c0]
cmp rax, 2
jb 0x14006cd02
lea rax, [rdx + 2]
mov qword [rsp + 0x1d0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x1c0]
mov eax, dword [0x1402bdbf0]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], bx
jmp 0x14006cd1c
mov qword [rsp + 0x20], 2
lea r9, [0x1402bdbf0]
mov edx, 2
call fcn.140021050
inc edi
cmp edi, dword [rsi + 0x10]
jge 0x14006cd35
mov r8, qword [rsp + 0x1d8]
mov rdx, qword [rsp + 0x1d0]
jmp 0x14006ccc0
mov qword [rsp + 0x220], rbx
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x238], 7
mov word [rsp + 0x220], bx
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x218], 7
mov word [rsp + 0x200], bx
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x220]
mov rcx, rsi
call fcn.1400200b0
lea r14, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 8
cmovae r14, qword [rsp + 0x1c0]
mov edx, 0x2040
lea rcx, [rsp + 0x60]
call fcn.140213ce8
mov rcx, qword [rsp + 0xd0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xd0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae rdx, qword [rsp + 0x220]
mov r8, qword [rsp + 0x230]
lea rcx, [rsp + 0xd0]
call fcn.140016440
mov rdi, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x70]
call fcn.140213ce8
mov rsi, rax
lea rdx, [0x1402bd728]
mov rcx, rdi
call fcn.140016180
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 + 0x80]
call fcn.140213d10
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 + 0x90]
call fcn.140213cfc
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x200]
cmp qword [rsp + 0x218], 8
cmovae rdx, qword [rsp + 0x200]
mov r8, qword [rsp + 0x210]
mov rcx, rdi
call fcn.140016440
mov rdi, rax
mov edx, 5
lea rcx, [rsp + 0xa0]
call fcn.140213d10
mov rsi, rax
lea rdx, [0x1402bd728]
mov rcx, rdi
call fcn.140016180
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 + 0xb0]
call fcn.140213ce8
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 8
cmovae rdx, qword [rsp + 0x1e0]
mov r8, qword [rsp + 0x1f0]
mov rcx, rdi
call fcn.140016440
lea rdx, [0x1402bdc20]
mov rcx, rax
call fcn.140016180
mov rcx, rax
mov rdx, r14
call fcn.140016180
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1403190b4], eax
jg 0x14006d297
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0xd8]
call fcn.140019840
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x14006cfe6
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14030a5d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cfe1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d2e5
call fcn.14000410c
movups xmm0, xmmword [rsp + 0x240]
movups xmmword [0x14030a5d0], xmm0
movups xmm1, xmmword [rsp + 0x250]
movups xmmword [0x14030a5e0], xmm1
mov qword [rsp + 0x250], rbx
mov qword [rsp + 0x258], 7
mov word [rsp + 0x240], bx
mov rdx, qword [rsp + 0x218]
cmp rdx, 8
jb 0x14006d068
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d063
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d2eb
call fcn.14000410c
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x218], 7
mov word [rsp + 0x200], bx
mov rdx, qword [rsp + 0x238]
cmp rdx, 8
jb 0x14006d0cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d0c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d2f1
call fcn.14000410c
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x238], 7
mov word [rsp + 0x220], bx
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 8
jb 0x14006d130
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d12b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d2f7
call fcn.14000410c
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], 7
mov word [rsp + 0x1c0], bx
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 8
jb 0x14006d194
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d18f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d2fd
call fcn.14000410c
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], bx
lea rcx, [rsp + 0xc0]
call fcn.140018b60
call fcn.14001ff60
lea rdx, [0x14030a5d0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14030a5d0]
mov r8, qword [0x14030a5e0]
mov rcx, rax
call fcn.140016440
lea rdx, str.WMI3_inited_ok.
jmp 0x14006d236
call fcn.14001ff60
cmp dword [rax + 8], 3
jl 0x14006d247
call fcn.14001ff60
mov rcx, rax
mov edx, 3
call fcn.140020400
mov rbx, rax
call fcn.14001ff60
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14006d223
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140016440
lea rdx, str.WMI3_init_failure.
mov rcx, rax
call fcn.140016180
mov rcx, rax
call fcn.140017390
nop
lea rcx, [rsp + 0x260]
call fcn.140017420
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1402113c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x8007000e
call fcn.140212650
nop
mov ecx, 0x8007000e
call fcn.140212650
nop
lea rcx, [0x1403190b4]
call fcn.1402117e4
cmp dword [0x1403190b4], 0xffffffff
jne 0x14006cf8a
mov qword [0x14030a5d0], rbx
movdqa xmm0, xmmword [0x1402c4550]
movdqu xmmword [0x14030a5e0], xmm0
lea rcx, [0x14025d1d0]
call fcn.140211618
lea rcx, [0x1403190b4]
call fcn.140211784
nop
jmp 0x14006cf8a
call fcn.14021a3fc
nop
call fcn.14021a3fc
nop
call fcn.14021a3fc
nop
call fcn.14021a3fc
nop
call fcn.14021a3fc
int3