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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rdi, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x140102ed0]
movdqu xmmword [rbp - 0x29], xmm1
mov byte [rbp - 0x39], r12b
mov qword [rbp - 0x59], r12
mov qword [rbp + 0x7f], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140054693
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [0x1400f0e10]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1400f0e20]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005468d
mov rax, qword [rbp - 0x59]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
lea ecx, [r12 + 0x18]
call fcn.1400cf704
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400545c6
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x1400ff5f8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400549aa
jmp 0x1400545c9
mov rbx, r12
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x1400549cb
lea rax, [rbp + 0x7f]
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 0x140054643
mov rcx, qword [rbx]
test rcx, rcx
je 0x140054624
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140054636
call fcn.1400cf980
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400cf980
test esi, esi
js 0x140054683
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
lea edx, [r9 + 0xa]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400546bd
mov rcx, qword [rbp + 0x7f]
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]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rdi
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbp - 0x51], r12
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.1400cf704
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x14005470b
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.SELECT_MACAddress_FROM_Win32_NetworkAdapterConfiguration_WHERE_IPEnabled__true
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400549b5
jmp 0x14005470e
mov rbx, r12
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x1400549cb
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.1400cf704
mov rsi, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x140054750
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x1400ff640]
call fcn.1400d07c0
mov qword [rsi], rax
jmp 0x140054753
mov rsi, r12
mov qword [rbp - 9], rsi
test rsi, rsi
je 0x1400549d6
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, qword [rbp + 0x7f]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x1400547c4
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400547a4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r12
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400547b6
call fcn.1400cf980
mov qword [rsi + 8], r12
mov edx, 0x18
mov rcx, rsi
call fcn.1400cf980
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140054803
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400547e4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400547f6
call fcn.1400cf980
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400cf980
test r14d, r14d
js 0x140054679
mov qword [rbp - 0x49], r12
mov dword [rbp + 0x6f], r12d
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140054967
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x49]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp eax, 1
je 0x140054967
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xf]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
test eax, eax
js 0x140054950
mov rsi, qword [rbp + 0x17]
mov ecx, 0x18
call fcn.1400cf704
mov rbx, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x1400548c0
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400548c3
test rsi, rsi
jne 0x1400549c0
jmp 0x1400548c3
mov rbx, r12
mov qword [rbp + 7], rbx
test rbx, rbx
je 0x14005499f
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400548e5
mov rcx, qword [rbx]
call fcn.1400d06a0
mov qword [rbx + 8], rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400548f0
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400618d0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140054946
mov rcx, qword [rbx]
test rcx, rcx
je 0x140054927
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140054939
call fcn.1400cf980
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400cf980
lea rcx, [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
jne 0x140054830
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400546a8
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
int3