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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afb58
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e706c]
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 eax, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x409ffb
cmp eax, 0x80010119
je 0x409ffb
xor eax, eax
jmp 0x40a343
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 0x4bcd6c
push 1
push 0
push 0x4bcd5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40a02c
xor esi, esi
jmp 0x40a32d
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
call fcn.00407b90
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x40a056
mov eax, dword [eax]
jmp 0x40a058
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
call edi
mov esi, dword [ebp - 0x18]
or edi, 0xffffffff
mov ebx, eax
test esi, esi
je 0x40a0bb
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40a0bb
test esi, esi
je 0x40a0bb
mov eax, dword [esi]
test eax, eax
je 0x40a099
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40a0b0
push eax
call fcn.0046f10e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046f0d0
add esp, 8
test ebx, ebx
js 0x40a31a
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 0x40a31a
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x20]
push str.SELECT_processorID_FROM_win32_processor
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x14], eax
call fcn.00407af0
mov byte [ebp - 4], 9
mov ebx, dword [eax]
test ebx, ebx
je 0x40a113
mov ebx, dword [ebx]
jmp 0x40a115
xor ebx, ebx
push 0x4c8ee0
lea ecx, [ebp - 0x18]
call fcn.00407af0
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x40a130
mov eax, dword [eax]
jmp 0x40a132
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x30
push ebx
push eax
push esi
call dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x40a1a7
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40a198
test esi, esi
je 0x40a198
mov eax, dword [esi]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x40a16d
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40a184
push eax
call fcn.0046f10e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046f0d0
add esp, 8
mov dword [ebp - 0x18], 0
jmp 0x40a1ad
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x18], 0
jmp 0x40a1ad
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x40a1f1
lock xadd dword [esi + 8], edi
dec edi
jne 0x40a1f1
test esi, esi
je 0x40a1f1
mov eax, dword [esi]
test eax, eax
je 0x40a1cf
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40a1e6
push eax
call fcn.0046f10e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046f0d0
add esp, 8
cmp dword [ebp - 0x14], 0
jge 0x40a1fe
xor esi, esi
jmp 0x40a307
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40a2d6
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
cmp dword [ebp - 0x18], 0
je 0x40a2d6
lea eax, [ebp - 0x38]
push eax
call ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.processorID
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40a290
mov eax, 8
cmp ax, word [ebp - 0x38]
jne 0x40a290
push dword [ebp - 0x30]
call esi
test eax, eax
je 0x40a290
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x40
call fcn.00407ca0
lea eax, [ebp - 0x38]
push eax
call edi
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40a2a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xe
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 0x40a240
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40a2f1
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
mov esi, 1
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40a30a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x40a31c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40a31c
xor esi, esi
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40a32d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x40a341
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.0046ebaf
mov esp, ebp
pop ebp
ret 8