Function at 0x140055400
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, 0xb0
mov rdi, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movdqa xmm1, xmmword [0x140177d00]
movdqu xmmword [rbp - 0x11], xmm1
mov byte [rbp - 0x21], r12b
mov qword [rbp - 0x39], r12
mov qword [rbp + 0x7f], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140055595
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x140164c18]
xor edx, edx
mov r8d, 1
lea rcx, [0x140164c28]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005558f
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, Ordinal_27
call fcn.140134584
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400554c7
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x1401735b8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14005594a
jmp 0x1400554ca
mov rbx, r12
mov qword [rbp + 0x77], rbx
test rbx, rbx
je 0x14005596b
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 - 0x39]
call rsi
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140055544
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055525
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140055537
call fcn.140134800
mov qword [rbx + 8], r12
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140134800
test esi, esi
js 0x140055585
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 + 0x7f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400555fa
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400555e5
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400555e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400557b2
call fcn.140134800
mov rax, rdi
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbp - 0x31], r12
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.140134584
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x140055648
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 0x140055955
jmp 0x14005564b
mov rbx, r12
mov qword [rbp + 0x77], rbx
test rbx, rbx
je 0x14005596b
mov r14, qword [rbx]
mov ecx, Ordinal_27
call fcn.140134584
mov rsi, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x14005568d
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x140173600]
call fcn.140135870
mov qword [rsi], rax
jmp 0x140055690
mov rsi, r12
mov qword [rbp - 1], rsi
test rsi, rsi
je 0x140055976
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, Ordinal_50
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 0x140055701
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400556e1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r12
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400556f3
call fcn.140134800
mov qword [rsi + 8], r12
mov edx, Ordinal_27
mov rcx, rsi
call fcn.140134800
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140055740
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055721
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140055733
call fcn.140134800
mov qword [rbx + 8], r12
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140134800
test r14d, r14d
jns 0x1400557b9
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400555e5
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400555e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400555e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rbp - 0x29], r12
mov dword [rbp + 0x6f], r12d
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140055907
nop
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp eax, 1
je 0x140055907
mov rcx, qword [rbp - 0x29]
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 + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x1400558f0
mov rsi, qword [rbp + 0x17]
mov ecx, Ordinal_27
call fcn.140134584
mov rbx, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x140055862
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 0x140055865
test rsi, rsi
jne 0x140055960
jmp 0x140055865
mov rbx, r12
mov qword [rbp + 0x77], rbx
test rbx, rbx
je 0x14005593f
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140055887
mov rcx, qword [rbx]
call fcn.140135750
mov qword [rbx + 8], rax
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140055890
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.1400634a0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400558e6
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400558c7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400558d9
call fcn.140134800
mov qword [rbx + 8], r12
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140134800
lea rcx, [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x1400557d0
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400555e5
mov ecx, 0x8007000e
call fcn.140135740
nop
mov ecx, 0x8007000e
call fcn.140135740
nop
mov ecx, 0x8007000e
call fcn.140135740
nop
mov ecx, 0x8007000e
call fcn.140135740
nop
mov ecx, 0x8007000e
call fcn.140135740
nop
mov ecx, 0x8007000e
call fcn.140135740
int3