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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ad83
mov eax, dword fs:[0]
push eax
sub esp, 0x78
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 0x100035c4
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 0x10003da9
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 0x1000361b
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 0x10003da3
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 0x10003679
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 0x10003da3
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 - 0x54], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100036d5
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 0x10003dc7
jmp 0x100036d7
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], esi
test esi, esi
je 0x10003dd1
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 0x10003752
mov ecx, dword [esi]
test ecx, ecx
je 0x10003730
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003747
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 0x1000378f
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 0x10003d9a
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 0x100037e5
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 0x10003d91
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x5c]
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 0x10003812
mov esi, dword [esi]
jmp 0x10003814
xor esi, esi
push 0x10034260
lea ecx, [ebp - 0x50]
call fcn.10002830
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x1000382f
mov eax, dword [eax]
jmp 0x10003831
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 - 0x50]
mov edi, eax
test esi, esi
je 0x10003890
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10003889
test esi, esi
je 0x10003889
mov eax, dword [esi]
test eax, eax
je 0x10003867
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000387e
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 - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x100038de
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x100038de
test esi, esi
je 0x100038de
mov eax, dword [esi]
test eax, eax
je 0x100038bc
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100038d3
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 0x100038f2
mov edx, str.Query_for_network_adapters_failed._Error_code:_0x
call fcn.100066d0
push edi
jmp 0x100037b7
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
test ecx, ecx
je 0x10003d8b
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 0x10003d88
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x4c]
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 0x10003956
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10003d7b
push dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.10004d70
lea eax, [ebp - 0x4c]
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
push eax
call fcn.10006d00
mov eax, dword [ebp - 0x30]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x54], eax
call fcn.10008b0d
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x78], edi
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test edi, edi
je 0x100039e9
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 0x10003dc7
jmp 0x100039eb
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x10003dc7
mov byte [ebp - 4], 6
mov eax, dword [edi]
push 0xc
mov dword [ebp - 0x74], eax
call fcn.10008b0d
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x10003a49
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 0x10003dc7
jmp 0x10003a4b
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x68], esi
test esi, esi
je 0x10003dc7
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
push 0xc
cmova eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
call fcn.10008b0d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x80], ebx
mov byte [ebp - 4], 9
test ebx, ebx
je 0x10003abc
push dword [ebp - 0x50]
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 0x10003ac1
cmp dword [ebp - 0x50], eax
jne 0x10003dc7
jmp 0x10003ac1
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x50], ebx
test ebx, ebx
je 0x10003dc7
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x68]
call fcn.10002930
mov dword [ebp - 0x70], eax
push 0xc
mov byte [ebp - 4], 0xb
call fcn.10008b0d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x84], ebx
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x10003b38
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 0x10003dc7
jmp 0x10003b3a
xor ebx, ebx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6c], ebx
test ebx, ebx
je 0x10003dc7
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push eax
call fcn.10002930
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x10003b6b
mov eax, dword [eax]
jmp 0x10003b6d
xor eax, eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x54]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10003bdc
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x10003bd5
test ecx, ecx
je 0x10003bd5
mov eax, dword [ecx]
test eax, eax
je 0x10003bb0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x10003bca
push eax
call fcn.1000890b
mov ecx, dword [ebp - 0x50]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.10008e57
add esp, 8
mov dword [ebp - 0x60], 0
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x10003c1c
mov eax, dword [ebx]
test eax, eax
je 0x10003bfa
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10003c11
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 - 0x64]
test ebx, ebx
je 0x10003c6e
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x10003c67
test ebx, ebx
je 0x10003c67
mov eax, dword [ebx]
test eax, eax
je 0x10003c45
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10003c5c
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 - 0x64], 0
mov ebx, dword [ebp - 0x5c]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x10003cb1
mov eax, dword [ebx]
test eax, eax
je 0x10003c8f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10003ca6
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 0x10003cf1
mov eax, dword [esi]
test eax, eax
je 0x10003ccf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003ce6
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 0x10003d35
mov eax, dword [edi]
test eax, eax
je 0x10003d13
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10003d2a
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 0x10003d7b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ddb
push ecx
push edx
call fcn.10008e57
add esp, 8
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x10003910
jmp 0x10003d8b
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