Function at 0x519870
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565b65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x70
push esi
push edi
sub esp, 0x18
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x24], edi
push 0xa
push str.ROOTCIMV2
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x3c]
call fcn.00437680
mov ecx, esp
mov dword [ebp - 4], 0
push 0x47
push str.SELECT__FROM_Win32_NetworkAdapterConfiguration_WHERE_IPEnabled_TRUE
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x38]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 1
push 3
push 0x58ca08
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x34]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 2
push 0x10
push str.DefaultIPGateway
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x30]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 3
push 9
push str.IpAddress
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x2c]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 4
push 8
push str.IPSubnet
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x28]
call fcn.00437680
mov byte [ebp - 4], 5
add esp, 0x14
mov eax, dword [edi + 0x64]
mov esi, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x40]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x519a0d
push dword [ecx - 0xc]
mov ecx, eax
call fcn.004251f0
mov eax, dword [ebp - 0x20]
lea esi, [edi + 0x68]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push dword [eax]
push dword [ebp - 0x1c]
call dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x40]
setns byte [ebp - 0x11]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519a4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x519d84
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
push ecx
mov eax, dword [eax]
mov esi, esp
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x48]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x519ab9
push dword [eax - 0xc]
mov ecx, esi
call fcn.004251f0
mov eax, dword [esi]
push ecx
mov esi, esp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x44]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 8
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x519af7
push dword [eax - 0xc]
mov ecx, esi
call fcn.004251f0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
push dword [ebp - 0x40]
push dword [esi]
push dword [ebp - 0x20]
call dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
test eax, eax
mov eax, edi
setns byte [ebp - 0x11]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519b2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519b48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x519d84
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x519d7d
nop dword [eax + eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x519d84
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x30]
mov esi, esp
mov dword [ebp - 0x54], esi
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x44]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x519bda
push dword [eax - 0xc]
mov ecx, esi
call fcn.004251f0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0
push dword [esi]
push dword [ebp - 0x18]
call dword [ebp - 0x48]
test eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
mov eax, edi
setns byte [ebp - 0x11]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519c10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x519c4f
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x519c4f
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 0
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
call fcn.0051ade0
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x2c]
mov esi, esp
mov dword [ebp - 0x54], esi
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x4c]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x519c93
push dword [eax - 0xc]
mov ecx, esi
call fcn.004251f0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0
push dword [esi]
push dword [ebp - 0x18]
call dword [ebp - 0x48]
test eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4c]
mov eax, edi
setns byte [ebp - 0x11]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519cc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x519cf4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x519cf4
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x7c]
push dword [eax]
call fcn.0051ade0
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
movups xmmword [ecx + 0x1c], xmm0
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x28]
mov esi, esp
mov dword [ebp - 0x54], esi
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x50]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x519d38
push dword [eax - 0xc]
mov ecx, esi
call fcn.004251f0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0
push dword [esi]
push dword [ebp - 0x18]
call dword [ebp - 0x48]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519d68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x519b70
mov esi, 1
jmp 0x519d86
xor esi, esi
mov edx, dword [ebp - 0x28]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519da0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519dba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519dd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519dee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x519e08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x519e20
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret