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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movzx r15d, dl
mov rdi, rcx
xor r12d, r12d
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x69], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14002adb9
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14002adb3
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [0x14009c018]
xor edx, edx
mov r8d, 1
lea rcx, [0x14009c028]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14002adb3
mov rax, qword [rbp - 0x59]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.140091dd0
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14002aceb
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x1400ac320]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14002b22c
jmp 0x14002acee
mov rbx, r12
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x14002b242
lea rax, [rbp - 0x69]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x59]
call rsi
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14002ad68
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002ad49
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002ad5b
call fcn.140092320
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140092320
test esi, esi
js 0x14002ada9
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14002ade3
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140091db0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rbp - 0x41], r12
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x3c
jb 0x14002b24d
cmp qword [rdi + 0x18], 7
jbe 0x14002ae0c
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0x3c
lea r9, str.SELECT__FROM_Win32_NetworkAdapter_WHERE_NetConnectionID__
lea rcx, [rbp + 0xf]
call fcn.14002e7e0
nop
mov r8d, 1
lea rdx, [0x1400ac3bc]
lea rcx, [rbp + 0xf]
call fcn.14000aa60
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x14002aeb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aeb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aeb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092320
movdqa xmm0, xmmword [0x1400b1170]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r12w
mov rax, qword [rbp - 0x69]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
lea rdi, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdi, qword [rbp - 0x11]
mov ecx, 0x18
call fcn.140091dd0
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14002af22
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14002af25
test rdi, rdi
jne 0x14002b237
jmp 0x14002af25
mov rbx, r12
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x14002b253
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.140091dd0
mov rdi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14002af67
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x1400ac3d0]
call fcn.140093ad0
mov qword [rdi], rax
jmp 0x14002af6a
mov rdi, r12
mov qword [rbp - 0x39], rdi
test rdi, rdi
je 0x14002b221
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x69]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14002afda
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002afba
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002afcc
call fcn.140092320
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.140092320
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14002b019
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002affa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002b00c
call fcn.140092320
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140092320
test esi, esi
jns 0x14002b03e
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x14002b1d6
mov qword [rbp - 0x31], r12
mov dword [rbp - 0x61], r12d
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14002b1ba
lea rdi, [0x1400ac3e8]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x61]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x31]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp - 0x61], 0
je 0x14002b1ab
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x29]
xor r8d, r8d
lea rdx, [0x1400ac3c0]
call qword [rax + 0x20]
test eax, eax
js 0x14002b188
mov qword [rbp - 0x51], r12
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
lea rdx, [rbp - 0x51]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x21]
call qword [rax + 0x30]
test eax, eax
js 0x14002b188
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x39], r12
lea rcx, str.Disable
test r15b, r15b
cmovne rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov rcx, qword [rbp - 0x51]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x98]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
xor r8d, r8d
mov rdx, rax
call r10
test eax, eax
js 0x14002b152
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
lea rdx, [rbp - 0x39]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
mov rdx, qword [rbp - 0x21]
call qword [rax + 0xc0]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14002b161
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14002b170
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14002b17f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
jne 0x14002b060
jmp 0x14002b1ba
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14002b1ba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14002b219
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b214
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b214
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092320
movzx eax, bl
jmp 0x14002adbb
mov ecx, 0x8007000e
call fcn.140093ac0
nop
mov ecx, 0x8007000e
call fcn.140093ac0
nop
mov ecx, 0x8007000e
call fcn.140093ac0
nop
mov ecx, 0x8007000e
call fcn.140093ac0
int3
call fcn.1400040e0
nop
mov ecx, 0x8007000e
call fcn.140093ac0
int3