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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1409b0280]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, rcx
mov qword [rbp - 0x80], rcx
xor ebx, ebx
mov r12d, ebx
mov dword [rsp + 0x50], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
jne 0x1400139d4
lea edx, [rbx + 2]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1400139f3
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], bl
jmp 0x140013fac
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140013a74
cmp eax, 0x80010119
je 0x140013a74
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov dword [rsp + 0x50], 1
jmp 0x140013f83
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a0b80]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401a0b90]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140013abf
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov dword [rsp + 0x50], 1
jmp 0x140013f83
mov rdi, qword [rbp - 0x68]
mov qword [rbp + 0x30], rdi
movups xmm0, xmmword [str.ROOTCIMV2]
movups xmmword [rbp + 0x98], xmm0
mov eax, dword [0x1401bf8e0]
mov dword [rbp + 0xa8], eax
movzx eax, word [0x1401bf8e4]
mov word [rbp + 0xac], ax
mov rax, qword [rdi]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rcx
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
lea rdx, [rbp + 0x98]
mov rcx, rdi
call qword [rax + Ordinal_26]
test eax, eax
jns 0x140013b58
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov dword [rsp + 0x50], 1
test rdi, rdi
je 0x140013b53
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140013f83
mov rsi, qword [rbp - 0x60]
mov qword [rbp + 0x38], rsi
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, rsi
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140013bd2
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov dword [rsp + 0x50], 1
test rsi, rsi
je 0x140013bbe
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
nop
test rdi, rdi
je 0x140013bcd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140013f83
movabs rax, 0x4c00510057
mov qword [rbp + 0x90], rax
movaps xmm0, xmmword [str.SELECT_Name_FROM_Win32_OperatingSystem]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm1, xmmword [0x1401bf900]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmm0, xmmword [0x1401bf910]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmmword [0x1401bf920]
movaps xmmword [rbp + 0xe0], xmm1
movsd xmm0, qword [0x1401bf930]
movsd qword [rbp + 0xf0], xmm0
mov eax, dword [0x1401bf938]
mov dword [rbp + 0xf8], eax
movzx eax, word [0x1401bf93c]
mov word [rbp + 0xfc], ax
mov rax, qword [rsi]
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_50
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [rax + 0xa0]
test eax, eax
jns 0x140013cb9
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov dword [rsp + 0x50], 1
test rsi, rsi
je 0x140013ca5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
nop
test rdi, rdi
je 0x140013cb4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140013f83
mov r14, qword [rbp - 0x58]
mov qword [rbp + 0x40], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x38], 0
test r14, r14
je 0x140013e75
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [r14]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
mov rcx, r14
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 0x18], 0
je 0x140013e6d
mov rbx, qword [rbp - 0x70]
mov qword [rbp + 0x48], rbx
mov rax, qword [rbx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, [0x1401bf970]
mov rcx, rbx
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea rax, vtable.std::_Func_impl_no_alloc_class__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_version_name_void_::_18::_lambda_1___void___.0
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x50]
mov qword [rbp + 0x88], rax
mov r13, qword [rbp - 0x48]
or r12d, 2
test r13, r13
jne 0x140013d8a
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], r13b
jmp 0x140013da6
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140012210
xor r13d, r13d
mov dword [rsp + 0x50], r12d
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140013de6
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013de1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013fe5
call fcn.14015a48c
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x28], xmm1
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.140010b40
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
sete al
test rcx, rcx
je 0x140013e59
test al, al
jne 0x140013fdf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140013e59
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbp + 0x88], r13
test rbx, rbx
je 0x140013e68
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140013cf0
mov rbx, qword [rbp - 0x28]
mov r13, qword [rbp - 0x20]
lea rax, [rbp - 0x38]
cmp r13, 0xf
cmova rax, qword [rbp - 0x38]
mov qword [rbp - 0x70], rax
test rbx, rbx
je 0x140013f21
mov r8, rbx
mov edx, 0x7c
mov rcx, rax
call fcn.1401961b0
mov rcx, rax
test rax, rax
je 0x140013f21
sub rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140013f21
cmp rcx, rbx
ja 0x140013ecd
lea rax, [rbp - 0x38]
cmp r13, 0xf
cmova rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], rcx
mov byte [rax + rcx], 0
jmp 0x140013f21
mov r13, rcx
sub r13, rbx
mov rdx, qword [rbp - 0x20]
mov rax, rdx
sub rax, rbx
cmp r13, rax
ja 0x140013f0a
mov qword [rbp - 0x28], rcx
lea rax, [rbp - 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x38]
add rbx, rax
mov r8, r13
xor edx, edx
mov rcx, rbx
call fcn.140195d30
mov byte [rbx + r13], 0
jmp 0x140013f21
mov byte [rsp + 0x20], 0
mov r9, r13
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.1400123c0
xor eax, eax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], al
or r12d, 1
mov dword [rsp + 0x50], r12d
lea rcx, [rbp - 0x38]
call fcn.140010b40
nop
test r14, r14
je 0x140013f65
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
nop
test rsi, rsi
je 0x140013f74
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
nop
test rdi, rdi
je 0x140013f83
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140013fac
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140013fac
lea rdx, [rbp - 0x10]
cmp rcx, rdx
mov rax, qword [rcx]
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
nop
mov rax, r15
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14015a1f0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140158b90
nop
call fcn.14016a128
int3