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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400f3e08]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400711b0
xor r15d, r15d
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
lea edx, [r15 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x1400711aa
mov qword [rbp - 1], r15
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c15a0]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1400c15b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400711aa
mov qword [rbp - 9], r15
mov rax, qword [rbp - 1]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
lea ecx, [r15 + 0x18]
call fcn.14007f0fc
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1400710ce
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
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14007142a
jmp 0x1400710d1
mov rbx, r15
mov qword [rbp - 0x21], rbx
test rbx, rbx
je 0x140071435
lea rax, [rbp - 9]
mov qword [rsp + 0x40], rax
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
mov rdx, qword [rbx]
mov rcx, qword [rbp - 1]
mov rax, rdi
call qword [case.0x1400639e1.0]
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140071152
mov rcx, qword [rbx]
test rcx, rcx
je 0x140071133
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140071145
call fcn.14007f138
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.14007f138
test edi, edi
js 0x140071199
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, [r9 + 0xa]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400711de
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400639e1.0]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400639e1.0]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14007f5b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rbp + 7], r15
mov rax, qword [rbp - 9]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14007f0fc
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14007122e
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
lea rcx, str.SELECT_ProcessId_FROM_Win32_Process_WHERE_Name__explorer.exe
call fcn.14007a3b0
mov qword [rbx], rax
jmp 0x140071231
mov rbx, r15
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140071435
mov rsi, qword [rbx]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14007f0fc
mov rdi, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14007127f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lea rcx, [0x1400c0710]
call fcn.14007a3b0
mov qword [rdi], rax
jmp 0x140071282
mov rdi, r15
mov qword [rbp - 0x11], rdi
test rdi, rdi
je 0x14007141f
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 9]
mov rax, r14
call qword [case.0x1400639e1.0]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400712f8
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400712d8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400712ea
call fcn.14007f138
mov qword [rdi + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.14007f138
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140071337
mov rcx, qword [rbx]
test rcx, rcx
je 0x140071318
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14007132a
call fcn.14007f138
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.14007f138
test esi, esi
js 0x140071188
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x17], r15d
mov ebx, 0xffffffff
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400713df
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xf]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
mov rax, qword [rax + 0x20]
call qword [case.0x1400639e1.0]
cmp dword [rbp + 0x17], 0
je 0x1400713df
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, str.ProcessId
mov rax, qword [rax + 0x20]
call qword [case.0x1400639e1.0]
test eax, eax
jns 0x1400713d2
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400639e1.0]
mov rcx, qword [rbp + 7]
test rcx, rcx
jne 0x140071360
jmp 0x1400713df
mov ebx, dword [rbp + 0x27]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400639e1.0]
mov rcx, qword [rbp - 1]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400639e1.0]
mov rcx, qword [rbp + 7]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400639e1.0]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x1400711b5
mov ecx, 0x8007000e
call fcn.14007a3a0
nop
mov ecx, 0x8007000e
call fcn.14007a3a0
nop
mov ecx, 0x8007000e
call fcn.14007a3a0
int3