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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f055
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5588a4]
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
xor bl, bl
mov byte [ebp - 0x4d], bl
cmp byte [ebp + 8], bl
je 0x4584ba
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4584ba
xor al, al
jmp 0x4589d5
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x536dd4
push 1
push 0
push 0x536cf8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45850b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4589c7
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x4589c7
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x18]
push 0xc
mov byte [ebp - 4], 1
call fcn.004173d0
mov edi, eax
add esp, 4
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x458563
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x52d1f8
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 0x4589f1
jmp 0x458565
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], edi
test edi, edi
je 0x4589f1
mov esi, dword [ebx]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov esi, dword [esi + 0xc]
mov ecx, esi
push 0
push 0
push 0
push 0
push dword [edi]
mov byte [ebp - 4], 3
push ebx
call dword [section..00cfg]
call esi
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x4585dc
mov ecx, dword [edi]
test ecx, ecx
je 0x4585ba
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4585d1
push eax
call fcn.004123c0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004124e0
add esp, 8
test esi, esi
js 0x45898b
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x45898b
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x14]
push 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], esi
call fcn.004173d0
mov edi, eax
add esp, 4
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x458655
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push str.SELECT_Name_FROM_Win32_OperatingSystem
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.00404db0
mov dword [edi], eax
jmp 0x458657
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x54], edi
test edi, edi
je 0x4589f1
push 0xc
mov byte [ebp - 4], 6
call fcn.004173d0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4586ab
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
push 0x52d244
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call fcn.00404db0
mov dword [ebx], eax
jmp 0x4586ad
xor ebx, ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x5c], ebx
test ebx, ebx
je 0x4589fb
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
push dword [edi]
mov esi, dword [esi + 0x50]
mov ecx, esi
push dword [ebx]
mov byte [ebp - 4], 8
push dword [ebp - 0x58]
call dword [section..00cfg]
call esi
or esi, 0xffffffff
mov dword [ebp - 0x58], eax
mov ecx, esi
lock xadd dword [ebx + 8], ecx
dec ecx
jne 0x458723
mov ecx, dword [ebx]
test ecx, ecx
je 0x458701
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x458718
push eax
call fcn.004123c0
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.004124e0
add esp, 8
lock xadd dword [edi + 8], esi
dec esi
jne 0x458760
mov eax, dword [edi]
test eax, eax
je 0x45873e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x458755
push eax
call fcn.004123c0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004124e0
add esp, 8
cmp dword [ebp - 0x58], 0
jl 0x458970
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
push ecx
mov esi, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [section..00cfg]
call esi
test eax, eax
js 0x458955
cmp dword [ebp - 0x24], 0
je 0x458955
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x4c]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push 0x52d248
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [section..00cfg]
call esi
test eax, eax
js 0x458955
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x458955
mov ecx, edx
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458800
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040f980
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, ebx
mov dword [ebp - 0x54], ecx
cmp eax, 0xa
jb 0x458854
add eax, 0xfffffff7
lea eax, [ecx + eax*2]
mov dword [ebp - 0x58], eax
nop word [eax + eax]
sub eax, ecx
sar eax, 1
je 0x458854
cmp word [ecx], 0x57
je 0x45888e
add ecx, 2
sub eax, 1
jne 0x458846
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x458955
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x45894b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458a05
jmp 0x45894b
mov edx, str.Windows_11
mov edi, ecx
mov esi, 0xa
sub edi, edx
nop dword [eax]
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x458940
add edx, 2
sub esi, 1
jne 0x4588a0
sub ecx, dword [ebp - 0x54]
sar ecx, 1
cmp ecx, 0xffffffff
je 0x458854
lea ecx, [ebp - 0x3c]
mov bl, 1
call fcn.004185e0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test eax, eax
je 0x4588e4
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
test eax, eax
je 0x4588fe
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x458919
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4589c7
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x4589c7
mov eax, dword [ebp - 0x58]
add ecx, 2
jmp 0x458840
push ecx
push ebx
call fcn.004124e0
add esp, 8
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test eax, eax
je 0x458970
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x45898b
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x4589a6
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4589c4
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
mov bl, byte [ebp - 0x4d]
cmp byte [ebp + 8], 0
je 0x4589d3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
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.00410cd0
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00402900
push 0x8007000e
call fcn.00402900
call fcn.004198a0
int3