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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57752c
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x453077
cmp eax, 0x80010106
jne 0x4532d5
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]
test eax, eax
jns 0x45309e
cmp eax, 0x80010119
jne 0x4532cf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x57e990
push 1
push 0
push 0x57e9a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4532cf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.00546f77
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x453113
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 0x4533aa
jmp 0x453115
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x4533b4
lea eax, [ebp - 0x10]
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 - 0x14]
call edi
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x453196
mov ecx, dword [esi]
test ecx, ecx
je 0x453171
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x453188
push eax
call fcn.005470bc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00546e91
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
js 0x4532c6
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x4532c0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x28], eax
call fcn.00456af0
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x4531ed
mov esi, dword [esi]
jmp 0x4531ef
xor esi, esi
push 0x5941cc
lea ecx, [ebp - 0x20]
call fcn.00456af0
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x45320a
mov eax, dword [eax]
jmp 0x45320c
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x10]
call dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x45326c
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x453265
test esi, esi
je 0x453265
mov eax, dword [esi]
test eax, eax
je 0x453243
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45325a
push eax
call fcn.005470bc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00546e91
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4532b7
lock xadd dword [esi + 8], edi
dec edi
jne 0x4532b7
test esi, esi
je 0x4532b7
mov eax, dword [esi]
test eax, eax
je 0x453295
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4532ac
push eax
call fcn.005470bc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00546e91
add esp, 8
cmp dword [ebp - 0x28], 0
jge 0x4532e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x453376
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x453376
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5941d0
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x38]
mov edx, 0x5bc540
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x453350
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x453310
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00546700
push 0x8007000e
call fcn.00546700
int3