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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c634c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x244], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
mov dword [ebp - 0x21c], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], esi
push 0
push eax
mov byte [ebp - 0x23d], 0
call fcn.004a4a80
add esp, 0xc
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x22c], 0
test esi, esi
jns 0x401603
cmp esi, 0x80010106
jne 0x401649
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]
lea eax, [ebp - 0x224]
push eax
push 0x4d2bf4
push 1
push 0
push 0x4d2cc4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0x224], 0
jne 0x401650
test esi, esi
jne 0x401649
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x401a8d
push str.rootcimv2
lea ecx, [ebp - 0x248]
call fcn.00401400
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x401671
mov edx, dword [eax]
jmp 0x401673
xor edx, edx
mov eax, dword [ebp - 0x224]
lea esi, [ebp - 0x228]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x248]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x4016ed
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4016ed
test esi, esi
je 0x4016ed
mov eax, dword [esi]
test eax, eax
je 0x4016cb
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4016e2
push eax
call fcn.0044b746
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0044bea4
add esp, 8
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x40171c
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x401742
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x24c], 0
jne 0x401649
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x401a8d
push str.Win32_Processor
push str.SELECT__FROM__s
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.004013a0
add esp, 0x10
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x254]
push eax
call fcn.00401400
mov esi, eax
push 0x4e083c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.00401400
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x401799
mov esi, dword [esi]
jmp 0x40179b
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4017a5
mov edx, dword [eax]
jmp 0x4017a7
xor edx, edx
mov eax, dword [ebp - 0x228]
lea edi, [ebp - 0x22c]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x248]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x40181d
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401813
test esi, esi
je 0x401813
mov eax, dword [esi]
test eax, eax
je 0x4017f1
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x401808
push eax
call fcn.0044b746
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0044bea4
add esp, 8
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x401871
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401871
test esi, esi
je 0x401871
mov eax, dword [esi]
test eax, eax
je 0x40184f
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x401866
push eax
call fcn.0044b746
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0044bea4
add esp, 8
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x401a60
mov eax, dword [ecx]
lea edx, [ebp - 0x21c]
push edx
lea edx, [ebp - 0x220]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x401a54
nop
cmp dword [ebp - 0x21c], 0
jbe 0x401a54
cmp dword [ebp - 0x220], 0
je 0x401a54
lea eax, [ebp - 0x23c]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x23c], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.ProcessorId
lea ecx, [ebp - 0x250]
call fcn.00401400
mov dword [ebp - 4], 3
mov edx, dword [eax]
test edx, edx
je 0x4018f2
mov edx, dword [edx]
jmp 0x4018f4
xor edx, edx
mov eax, dword [ebp - 0x220]
lea esi, [ebp - 0x23c]
push 0
push 0
push esi
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x10]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x250]
test esi, esi
je 0x40196c
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401962
test esi, esi
je 0x401962
mov eax, dword [esi]
test eax, eax
je 0x401940
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x401957
push eax
call fcn.0044b746
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0044bea4
add esp, 8
mov dword [ebp - 0x250], 0
mov ax, word [ebp - 0x23c]
cmp ax, 8
jne 0x4019b4
mov edx, dword [ebp - 0x234]
test edx, edx
je 0x4019c8
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401990
sub ecx, esi
sar ecx, 1
cmp ecx, 0x7f
jle 0x401a23
push 0x7f
push edx
push dword [ebp - 0x244]
call fcn.004a4500
jmp 0x401a31
mov ecx, 0x2008
cmp ax, cx
jne 0x4019c8
mov eax, dword [ebp - 0x234]
test eax, eax
jne 0x401a09
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x21c]
push edx
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x4018a0
jmp 0x401a54
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401a13
jmp 0x40199b
push edx
push 0x7f
push dword [ebp - 0x244]
call fcn.004ab75d
add esp, 0xc
mov byte [ebp - 0x23d], 1
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
cmp dword [ebp - 0x24c], 0
jne 0x401a87
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x23d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b735
mov esp, ebp
pop ebp
ret