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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ae56
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100b0040]
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
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jns 0x10003e64
mov edx, str.Failed_to_initialize_COM_library._Error_code:_0x
call fcn.100066d0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + eax + 0x14], ecx
mov ecx, eax
call fcn.10004b30
push eax
call fcn.10006990
add esp, 4
jmp 0x10004652
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jns 0x10003ebb
mov edx, str.Failed_to_initialize_security._Error_code:_0x
call fcn.100066d0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + eax + 0x14], ecx
mov ecx, eax
call fcn.10004b30
push eax
call fcn.10006990
add esp, 4
jmp 0x1000464c
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x1002d320
push 1
push 0
push 0x1002d330
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x10003f19
mov edx, str.Failed_to_create_IWbemLocator_object._Error_code:_0x
call fcn.100066d0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + eax + 0x14], ecx
mov ecx, eax
call fcn.10004b30
push eax
call fcn.10006990
add esp, 4
jmp 0x1000464c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.10008b0d
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10003f75
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x10004670
jmp 0x10003f77
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], esi
test esi, esi
je 0x1000467a
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x34]
call edi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x10003ff2
mov ecx, dword [esi]
test ecx, ecx
je 0x10003fd0
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003fe7
push eax
call fcn.1000890b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10008e57
add esp, 8
test edi, edi
jns 0x1000402f
mov edx, str.Could_not_connect_to_WMI_namespace._Error_code:_0x
call fcn.100066d0
push edi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + eax + 0x14], ecx
mov ecx, eax
call fcn.10004b30
push eax
call fcn.10006990
add esp, 4
jmp 0x10004643
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x10004085
mov edx, str.Could_not_set_proxy_blanket._Error_code:_0x
call fcn.100066d0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + eax + 0x14], ecx
mov ecx, eax
call fcn.10004b30
push eax
call fcn.10006990
add esp, 4
jmp 0x1000463a
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x3c], 0
push str.SELECT__FROM_Win32_NetworkAdapter
mov eax, dword [eax]
mov edi, dword [eax + 0x50]
call fcn.10002830
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x100040b2
mov esi, dword [esi]
jmp 0x100040b4
xor esi, esi
push 0x10034260
lea ecx, [ebp - 0x54]
call fcn.10002830
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x100040cf
mov eax, dword [eax]
jmp 0x100040d1
xor eax, eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x30]
call edi
mov esi, dword [ebp - 0x54]
mov edi, eax
test esi, esi
je 0x10004130
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10004129
test esi, esi
je 0x10004129
mov eax, dword [esi]
test eax, eax
je 0x10004107
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000411e
push eax
call fcn.1000890b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10008e57
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x1000417e
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000417e
test esi, esi
je 0x1000417e
mov eax, dword [esi]
test eax, eax
je 0x1000415c
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10004173
push eax
call fcn.1000890b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10008e57
add esp, 8
test edi, edi
jns 0x10004192
mov edx, str.Query_for_network_adapters_failed._Error_code:_0x
call fcn.100066d0
push edi
jmp 0x10004057
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
test ecx, ecx
je 0x10004634
nop dword [eax + eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x38]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x10004631
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push str.DeviceID
push ecx
call dword [eax + 0x10]
test eax, eax
jns 0x100041f6
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10004624
push dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.10004d70
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
call fcn.10006a30
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x2c]
mov ecx, eax
call fcn.100086a0
add esp, 4
push eax
call fcn.10006d00
mov eax, dword [ebp - 0x30]
add esp, 4
mov eax, dword [eax]
push 0xc
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x58], eax
call fcn.10008b0d
mov edi, eax
add esp, 4
mov dword [ebp - 0x7c], edi
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test edi, edi
je 0x1000428f
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x1003433c
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call ebx
mov dword [edi], eax
test eax, eax
je 0x10004670
jmp 0x10004291
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x10004670
mov byte [ebp - 4], 6
mov eax, dword [edi]
push 0xc
mov dword [ebp - 0x78], eax
call fcn.10008b0d
mov esi, eax
add esp, 4
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x100042ef
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.Win32_NetworkAdapter.DeviceID_
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
test eax, eax
je 0x10004670
jmp 0x100042f1
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x10004670
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
push 0xc
cmova eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
call fcn.10008b0d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp - 4], 9
test ebx, ebx
je 0x10004365
push dword [ebp - 0x54]
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
jne 0x1000436a
cmp dword [ebp - 0x54], eax
jne 0x10004670
jmp 0x1000436a
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x54], ebx
test ebx, ebx
je 0x10004670
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10002930
mov dword [ebp - 0x74], eax
push 0xc
mov byte [ebp - 4], 0xb
call fcn.10008b0d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x88], ebx
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x100043e1
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
push 0x10034338
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x10004670
jmp 0x100043e3
xor ebx, ebx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x10004670
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push eax
call fcn.10002930
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x10004414
mov eax, dword [eax]
jmp 0x10004416
xor eax, eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x78]
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x10004485
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x1000447e
test ecx, ecx
je 0x1000447e
mov eax, dword [ecx]
test eax, eax
je 0x10004459
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x10004473
push eax
call fcn.1000890b
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.10008e57
add esp, 8
mov dword [ebp - 0x64], 0
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x100044c5
mov eax, dword [ebx]
test eax, eax
je 0x100044a3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x100044ba
push eax
call fcn.1000890b
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10008e57
add esp, 8
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x10004517
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x10004510
test ebx, ebx
je 0x10004510
mov eax, dword [ebx]
test eax, eax
je 0x100044ee
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10004505
push eax
call fcn.1000890b
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10008e57
add esp, 8
mov dword [ebp - 0x68], 0
mov ebx, dword [ebp - 0x60]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x1000455a
mov eax, dword [ebx]
test eax, eax
je 0x10004538
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000454f
push eax
call fcn.1000890b
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10008e57
add esp, 8
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000459a
mov eax, dword [esi]
test eax, eax
je 0x10004578
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000458f
push eax
call fcn.1000890b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10008e57
add esp, 8
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x100045de
mov eax, dword [edi]
test eax, eax
je 0x100045bc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100045d3
push eax
call fcn.1000890b
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10008e57
add esp, 8
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x10004624
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000461a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004684
push ecx
push edx
call fcn.10008e57
add esp, 8
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x100041b0
jmp 0x10004634
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
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.100088f8
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.1000ca00
push 0x8007000e
call fcn.1000ca00
call fcn.100157db
int3