Function at 0x454940
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3380
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6670c8]
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 ebx, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x45499b
cmp eax, 0x80010119
je 0x45499b
xor eax, eax
jmp 0x454c92
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 0x6375cc
push 1
push 0
push 0x6375bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4549cc
xor esi, esi
jmp 0x454c7c
mov dword [ebp - 0x20], 0
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x24]
call fcn.00455090
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4549f1
mov ecx, dword [eax]
jmp 0x4549f3
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push esi
call dword [eax + 0xc]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00453aa0
test esi, esi
js 0x454c69
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x454c69
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
mov edi, dword [ebp - 0x20]
push str.SELECT_Index__MACAddress__Name_FROM_Win32_NetworkAdapter_where_AdapterTypeId0
call fcn.00454ff0
mov esi, eax
push 0x650428
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00454ff0
mov byte [ebp - 4], 5
mov edx, dword [esi]
test edx, edx
je 0x454a77
mov edx, dword [edx]
jmp 0x454a79
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x454a83
mov ecx, dword [eax]
jmp 0x454a85
xor ecx, ecx
mov eax, dword [edi]
lea esi, [ebp - 0x1c]
push esi
push 0
push 0x30
push edx
push ecx
push edi
call dword [eax + 0x50]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00453aa0
lea ecx, [ebp - 0x14]
call fcn.00453aa0
test esi, esi
jns 0x454ab2
xor esi, esi
jmp 0x454c56
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebx], ax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
mov edi, closesocket
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x454c38
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [eax]
cmp dword [ebp - 0x18], 0
je 0x454c38
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x65042c
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x454bf2
cmp dword [ebp - 0x2c], edi
jge 0x454bf2
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x5c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.MACAddress
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x454b82
mov eax, 8
cmp ax, word [ebp - 0x5c]
jne 0x454b82
push dword [ebp - 0x54]
call ebx
test eax, eax
je 0x454b82
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x70]
call fcn.00453b00
lea eax, [ebp - 0x5c]
push eax
call esi
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x6c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Name
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x454bec
mov eax, 8
cmp ax, word [ebp - 0x6c]
jne 0x454bec
push dword [ebp - 0x64]
call ebx
test eax, eax
je 0x454bec
mov edx, dword [ebp - 0x64]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454bd0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004181e0
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x34]
push eax
call esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x454c09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x454b00
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x454c49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4c]
mov esi, 1
call fcn.00418110
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x454c6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x454c6b
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x454c7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x454c90
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
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.0057c5eb
mov esp, ebp
pop ebp
ret 8