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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x580417
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x45b959
cmp eax, 0x80010106
je 0x45b959
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
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], vtable.std::_Func_impl_no_alloc_class__lambda_5b46e87f2353f2272cf625558b2d6903___void___.0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.0045f1d0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x45b9ad
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x90]
cmp ecx, eax
setne al
push eax
call edx
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x45b9de
cmp eax, 0x80010119
je 0x45b9de
xor bl, bl
jmp 0x45bd1c
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x587950
push 1
push 0
push 0x587960
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45ba08
xor bl, bl
jmp 0x45bd04
mov dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
push 0xc
mov byte [ebp - 4], 8
call fcn.00550cf4
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 0xa
test edi, edi
je 0x45ba57
push str.ROOTCIMV2
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x45bd5a
jmp 0x45ba59
xor edi, edi
mov byte [ebp - 4], 8
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x45bd64
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [edi]
push esi
call ebx
or ebx, 0xffffffff
mov esi, eax
mov ecx, ebx
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x45bac5
mov ecx, dword [edi]
test ecx, ecx
je 0x45baa3
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x45baba
push eax
call fcn.00550e47
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00550d24
add esp, 8
test esi, esi
js 0x45bcea
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x45bcea
mov dword [ebp - 0x10], 0
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x24], eax
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.0045f910
mov byte [ebp - 4], 0x14
mov edi, dword [eax]
test edi, edi
je 0x45bb1d
mov edi, dword [edi]
jmp 0x45bb1f
xor edi, edi
push 0x5a0da4
lea ecx, [ebp - 0x28]
call fcn.0045f910
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
test eax, eax
je 0x45bb3a
mov eax, dword [eax]
jmp 0x45bb3c
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x30
push edi
push eax
push esi
call dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x45bbb1
mov ecx, ebx
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x45bba2
test esi, esi
je 0x45bba2
mov eax, dword [esi]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x45bb77
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45bb8e
push eax
call fcn.00550e47
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00550d24
add esp, 8
mov dword [ebp - 0x28], 0
jmp 0x45bbb7
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x28], 0
jmp 0x45bbb7
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x45bbfb
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x45bbfb
test esi, esi
je 0x45bbfb
mov eax, dword [esi]
test eax, eax
je 0x45bbd9
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45bbf0
push eax
call fcn.00550e47
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00550d24
add esp, 8
cmp dword [ebp - 0x24], 0
jge 0x45bc08
xor bl, bl
jmp 0x45bcd0
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x45bcb6
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45bc44
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0xffffffffffffffff
push esi
call edi
cmp dword [ebp - 0x2c], 0
je 0x45bcb3
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5a0da8
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x38]
mov edx, 0x5cd700
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45bc90
lea eax, [ebp - 0x40]
push eax
call ebx
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x45bc27
jmp 0x45bcb6
mov esi, dword [ebp - 0x10]
mov bl, 1
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45bcd3
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x45bcec
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x45bcec
xor bl, bl
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x45bd04
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x45bd1c
mov dword [ebp - 0x20], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0x20
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x45bd6e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x45bd47
mov esi, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00550460
push 0x8007000e
call fcn.00550460
call fcn.0053a6db
int3