Function at 0x7ff741c56400
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x7ff741cd7188]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov qword [rbp - 9], rcx
xor r15d, r15d
mov dword [rbp - 0x19], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r15b
mov dword [rbp - 0x19], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jne 0x7ff741c56708
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rsi, 0xffffffffffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jne 0x7ff741c56708
mov qword [rbp + 0x17], r15
mov qword [rbp + 7], r15
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff741cb7668]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x7ff741cb7678]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x7ff741c566e4
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff741cbcb30]
call qword [rax + 0x18]
test eax, eax
jne 0x7ff741c566e4
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xb]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jne 0x7ff741c566e4
mov qword [rbp - 1], r15
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0x30]
lea r8, [0x7ff741cbcbb0]
lea rdx, [0x7ff741cbcb88]
call qword [rax + 0xa0]
test eax, eax
jne 0x7ff741c566e4
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x37], r15d
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x7ff741c566de
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x37]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xf]
mov r8d, 1
mov edx, esi
call qword [rax + 0x20]
cmp dword [rbp + 0x37], 0
je 0x7ff741c566da
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea rdx, [0x7ff741cbcc78]
call qword [rax + 0x20]
test eax, eax
je 0x7ff741c56603
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
test rcx, rcx
jne 0x7ff741c565a0
jmp 0x7ff741c566de
mov r14, qword [rbp + 0x27]
mov ecx, 0x18
call fcn.7ff741ca8870
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x7ff741c56650
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
mov rcx, r14
call qword [sym.imp.oleaut32.dll_SysAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x7ff741c56653
test r14, r14
jne 0x7ff741c567ef
jmp 0x7ff741c56653
mov rbx, r15
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x7ff741c567e4
mov rax, qword [rbx + 8]
test rax, rax
jne 0x7ff741c56675
mov rcx, qword [rbx]
call fcn.7ff741ca85a0
mov qword [rbx + 8], rax
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff741c56680
mov rdx, rax
mov rcx, rdi
call fcn.7ff741c079f0
nop
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x7ff741c566d0
mov rcx, qword [rbx]
test rcx, rcx
je 0x7ff741c566b1
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x7ff741c566c3
call fcn.7ff741ca88ac
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.7ff741ca88ac
lea rcx, [rbp + 0x1f]
call qword [sym.imp.oleaut32.dll_VariantClear]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x7ff741c566f3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x7ff741c56702
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp qword [rdi + 0x18], 0x10
jb 0x7ff741c56722
mov rsi, qword [rdi]
mov rbx, rsi
mov r9, rsi
add rbx, qword [rdi + 0x10]
add rsi, qword [rdi + 0x10]
jmp 0x7ff741c56731
mov rax, qword [rdi + 0x10]
mov r9, rdi
lea rbx, [rax + rdi]
lea rsi, [rax + rdi]
mov r8b, 0x3a
mov rdx, rbx
mov rcx, r9
call fcn.7ff741ca8350
mov rcx, rax
cmp rax, rbx
je 0x7ff741c56765
inc rax
cmp rax, rbx
je 0x7ff741c56765
nop
movzx edx, byte [rax]
cmp dl, 0x3a
je 0x7ff741c5675d
mov byte [rcx], dl
inc rcx
inc rax
cmp rax, rbx
jne 0x7ff741c56750
mov rdx, rcx
sub rsi, rcx
mov rbx, qword [rdi + 0x10]
mov rax, rbx
cmp qword [rdi + 0x18], 0x10
jb 0x7ff741c5678b
sub rdx, qword [rdi]
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
mov rax, qword [rdi]
jmp 0x7ff741c5679b
sub rdx, rdi
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
mov rax, rdi
lea rcx, [rax + rdx]
sub rbx, rsi
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memcpy_1
mov qword [rdi + 0x10], rbx
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.7ff741ca8850
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x8007000e
call fcn.7ff741ca8590
nop
mov ecx, 0x8007000e
call fcn.7ff741ca8590
int3