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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b986
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100b1040]
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 0x100037f4
mov edx, str.Failed_to_initialize_COM_library._Error_code:_0x
call fcn.10008230
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.10005ca0
push eax
call fcn.100084f0
add esp, 4
jmp 0x10003fe2
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 0x1000384b
mov edx, str.Failed_to_initialize_security._Error_code:_0x
call fcn.10008230
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.10005ca0
push eax
call fcn.100084f0
add esp, 4
jmp 0x10003fdc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x1002e338
push 1
push 0
push 0x1002e348
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x100038a9
mov edx, str.Failed_to_create_IWbemLocator_object._Error_code:_0x
call fcn.10008230
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.10005ca0
push eax
call fcn.100084f0
add esp, 4
jmp 0x10003fdc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.1000a805
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10003905
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 0x10004000
jmp 0x10003907
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], esi
test esi, esi
je 0x1000400a
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 0x10003982
mov ecx, dword [esi]
test ecx, ecx
je 0x10003960
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003977
push eax
call fcn.1000a603
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1000ab4f
add esp, 8
test edi, edi
jns 0x100039bf
mov edx, str.Could_not_connect_to_WMI_namespace._Error_code:_0x
call fcn.10008230
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.10005ca0
push eax
call fcn.100084f0
add esp, 4
jmp 0x10003fd3
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 0x10003a15
mov edx, str.Could_not_set_proxy_blanket._Error_code:_0x
call fcn.10008230
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.10005ca0
push eax
call fcn.100084f0
add esp, 4
jmp 0x10003fca
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.10002a60
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x10003a42
mov esi, dword [esi]
jmp 0x10003a44
xor esi, esi
push 0x10035260
lea ecx, [ebp - 0x54]
call fcn.10002a60
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x10003a5f
mov eax, dword [eax]
jmp 0x10003a61
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 0x10003ac0
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10003ab9
test esi, esi
je 0x10003ab9
mov eax, dword [esi]
test eax, eax
je 0x10003a97
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003aae
push eax
call fcn.1000a603
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1000ab4f
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x10003b0e
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10003b0e
test esi, esi
je 0x10003b0e
mov eax, dword [esi]
test eax, eax
je 0x10003aec
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003b03
push eax
call fcn.1000a603
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1000ab4f
add esp, 8
test edi, edi
jns 0x10003b22
mov edx, str.Query_for_network_adapters_failed._Error_code:_0x
call fcn.10008230
push edi
jmp 0x100039e7
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
test ecx, ecx
je 0x10003fc4
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 0x10003fc1
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 0x10003b86
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10003fb4
push dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.10005f40
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
call fcn.10008590
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x2c]
mov ecx, eax
call fcn.1000a390
add esp, 4
push eax
call fcn.10008860
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.1000a805
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 0x10003c1f
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push str.Disable
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call ebx
mov dword [edi], eax
test eax, eax
je 0x10004000
jmp 0x10003c21
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x10004000
mov byte [ebp - 4], 6
mov eax, dword [edi]
push 0xc
mov dword [ebp - 0x78], eax
call fcn.1000a805
mov esi, eax
add esp, 4
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x10003c7f
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 0x10004000
jmp 0x10003c81
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x10004000
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.1000a805
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 0x10003cf5
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 0x10003cfa
cmp dword [ebp - 0x54], eax
jne 0x10004000
jmp 0x10003cfa
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x54], ebx
test ebx, ebx
je 0x10004000
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10002b60
mov dword [ebp - 0x74], eax
push 0xc
mov byte [ebp - 4], 0xb
call fcn.1000a805
mov ebx, eax
add esp, 4
mov dword [ebp - 0x88], ebx
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x10003d71
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
push 0x10035338
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 0x10004000
jmp 0x10003d73
xor ebx, ebx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x10004000
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push eax
call fcn.10002b60
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x10003da4
mov eax, dword [eax]
jmp 0x10003da6
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 0x10003e15
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x10003e0e
test ecx, ecx
je 0x10003e0e
mov eax, dword [ecx]
test eax, eax
je 0x10003de9
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 0x10003e03
push eax
call fcn.1000a603
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.1000ab4f
add esp, 8
mov dword [ebp - 0x64], 0
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x10003e55
mov eax, dword [ebx]
test eax, eax
je 0x10003e33
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10003e4a
push eax
call fcn.1000a603
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.1000ab4f
add esp, 8
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x10003ea7
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x10003ea0
test ebx, ebx
je 0x10003ea0
mov eax, dword [ebx]
test eax, eax
je 0x10003e7e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10003e95
push eax
call fcn.1000a603
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.1000ab4f
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 0x10003eea
mov eax, dword [ebx]
test eax, eax
je 0x10003ec8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10003edf
push eax
call fcn.1000a603
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.1000ab4f
add esp, 8
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10003f2a
mov eax, dword [esi]
test eax, eax
je 0x10003f08
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003f1f
push eax
call fcn.1000a603
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1000ab4f
add esp, 8
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x10003f6e
mov eax, dword [edi]
test eax, eax
je 0x10003f4c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10003f63
push eax
call fcn.1000a603
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1000ab4f
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 0x10003fb4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003faa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004014
push ecx
push edx
call fcn.1000ab4f
add esp, 8
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x10003b40
jmp 0x10003fc4
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.1000a5f0
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.1000d5f0
push 0x8007000e
call fcn.1000d5f0
call fcn.10016b2b
int3