Function at 0x465e50
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c90dd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], ebx
test edi, edi
je 0x466205
test eax, eax
je 0x466205
test ebx, ebx
je 0x465eae
push 1
mov ecx, ebx
call fcn.00409aa0
mov dword [ebx + 0xc], 0
push str.SELECT__FROM_Win32_NetworkAdapterConfiguration
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x465ed3
mov ebx, 0x80070008
jmp 0x4661f6
mov dword [ebp - 0x18], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push 0x4d4530
push edi
mov byte [ebp - 4], 1
call dword [eax + 0x50]
mov ebx, eax
mov eax, dword [ebp - 0x18]
test ebx, ebx
js 0x4661e1
test eax, eax
jne 0x465f0d
mov ebx, 0x8007054f
jmp 0x4661e1
xor edi, edi
mov dword [ebp - 0x48], edi
xor esi, esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x14], esi
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 6
push edx
push 1
push 0xea60
push eax
call dword [ecx + 0x10]
cmp eax, 1
je 0x466177
mov edx, 0x200c
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x466131
test eax, eax
je 0x466131
lea eax, [ebp - 0x2c]
mov word [ebp - 0x34], dx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.ServiceName
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x10]
test eax, eax
jns 0x465fd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cx, word [ebp - 0x2c]
mov ebx, eax
test cx, cx
je 0x465fc0
cmp cx, word [ebp - 0x34]
jne 0x465fb0
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x465fba
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov word [ebp - 0x2c], ax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
jmp 0x466135
mov ebx, dword [ebp - 0x24]
mov ecx, str.RvNetMP60
mov dword [ebp - 0x58], ebx
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466006
test dx, dx
je 0x466002
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466006
add eax, 4
add ecx, 4
test dx, dx
jne 0x465fe0
xor eax, eax
jmp 0x46600b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x466084
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.004941b0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
push str.MACAddress
lea ecx, [ebp - 0x14]
call fcn.00466500
test eax, eax
js 0x466065
lea ecx, [ebp - 0x40]
call fcn.004948f0
test eax, eax
jne 0x466065
test edi, edi
jne 0x46607a
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x14], eax
call fcn.004941d0
jmp 0x4660e6
test esi, esi
jne 0x46607a
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
call fcn.004941d0
jmp 0x4660e6
cmp dword [ebp - 0x44], 0
je 0x4660e6
test ebx, ebx
je 0x4660e6
push 0x4d88a4
push 0x14
call fcn.004a55e9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4660e6
lea ecx, [ebx + 8]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
call fcn.004941b0
mov edx, dword [ebp - 0x44]
lea ecx, [edx + 4]
cmp ebx, dword [ebx + 4]
jne 0x4660cb
mov dword [ebx], ecx
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
mov dword [eax], ebx
mov dword [ecx + 4], ebx
push dword [ebp - 0x58]
inc dword [edx + 0xc]
lea ecx, [ebx + 8]
call fcn.00494610
test eax, eax
jne 0x4660e6
mov ecx, dword [ebp - 0x44]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cx, word [ebp - 0x2c]
mov ebx, eax
test cx, cx
je 0x466121
cmp cx, word [ebp - 0x34]
jne 0x466111
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x46611b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov word [ebp - 0x2c], ax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
jmp 0x466135
mov byte [ebp - 4], 8
test eax, eax
je 0x46613f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push edx
mov ecx, dword [eax]
push 1
push 0xea60
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x10]
mov edx, 0x200c
cmp eax, 1
jne 0x465f44
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test eax, eax
je 0x466188
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov byte [ebp - 4], 5
test edi, edi
je 0x4661a3
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push eax
call fcn.00456af0
mov edi, dword [ebp - 0x48]
xor ebx, ebx
jmp 0x4661bf
test esi, esi
je 0x4661ba
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push eax
call fcn.00456af0
mov esi, dword [ebp - 0x4c]
xor ebx, ebx
jmp 0x4661bf
mov ebx, 1
mov byte [ebp - 4], 0x15
test esi, esi
je 0x4661cd
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x16
test edi, edi
je 0x4661db
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x4661f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], 0
test esi, esi
je 0x466201
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
jmp 0x46620a
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret