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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x481530]
push ebx
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
push edi
push eax
xor esi, esi
push 0x47d8fc
push 1
push esi
push 0x47d9cc
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x451217
push str.ERR_1
jmp 0x451221
cmp dword [ebp - 8], esi
jne 0x45122e
push str.No_OS_Info
mov ecx, dword [ebp + 8]
call fcn.004013c7
jmp 0x45161e
push str.234
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
call fcn.004013c7
push eax
push 0x4876e4
lea ecx, [ebp - 0x38]
call fcn.004013c7
push eax
push 0x4876e0
lea ecx, [ebp - 0x34]
call fcn.004013c7
push eax
push 0x482080
lea ecx, [ebp - 0x20]
call fcn.004013c7
push eax
push str.ROOT
lea ecx, [ebp - 0x24]
call fcn.004013c7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015b5
lea ecx, [ebp - 0x30]
call fcn.0040139b
lea ecx, [ebp - 0x2c]
call fcn.0040139b
lea ecx, [ebp - 0x28]
call fcn.0040139b
lea ecx, [ebp - 0x24]
call fcn.0040139b
lea ecx, [ebp - 0x20]
call fcn.0040139b
lea ecx, [ebp - 0x34]
call fcn.0040139b
lea ecx, [ebp - 0x38]
call fcn.0040139b
lea ecx, [ebp - 0x3c]
call fcn.0040139b
mov eax, dword [ebp - 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push dword [eax - 8]
push eax
call edi
mov ecx, dword [ebp - 8]
lea ebx, [ebp - 0x10]
push ebx
push esi
mov edx, dword [ecx]
push esi
push esi
push esi
push esi
push esi
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jge 0x45134d
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
cmp dword [ecx - 0xc], esi
mov esi, dword [ebp + 8]
lea eax, [ecx - 0xc]
jl 0x451327
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x451336
mov eax, dword [0x481530]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.004080f7
lea ecx, [ebp - 0xc]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, esi
jmp 0x451629
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x451380
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x4876d4
jmp 0x45147b
push str.OperatingSystem
lea ecx, [ebp - 0x40]
call fcn.004013c7
push eax
push 0x481c70
lea ecx, [ebp - 0x20]
call fcn.004013c7
push eax
push str.FROM_win32
lea ecx, [ebp - 0x24]
call fcn.004013c7
push eax
push 0x4876b4
lea ecx, [ebp - 0x28]
call fcn.004013c7
push eax
push str.SELECT
lea ecx, [ebp - 0x2c]
call fcn.004013c7
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004015b5
push eax
lea ecx, [ebp - 0xc]
call fcn.00401521
lea ecx, [ebp - 0x3c]
call fcn.0040139b
lea ecx, [ebp - 0x38]
call fcn.0040139b
lea ecx, [ebp - 0x34]
call fcn.0040139b
lea ecx, [ebp - 0x30]
call fcn.0040139b
lea ecx, [ebp - 0x2c]
call fcn.0040139b
lea ecx, [ebp - 0x28]
call fcn.0040139b
lea ecx, [ebp - 0x24]
call fcn.0040139b
lea ecx, [ebp - 0x20]
call fcn.0040139b
lea ecx, [ebp - 0x40]
call fcn.0040139b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
push dword [eax - 8]
push eax
call edi
mov ecx, dword [ebp - 0x10]
lea edi, [ebp - 0x14]
push edi
push esi
mov edx, dword [ecx]
push 0x30
push eax
push 0x4876a4
push ecx
call dword [edx + 0x50]
cmp eax, esi
jge 0x451488
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x48be38
mov ecx, dword [ebp + 8]
call fcn.004013c7
jmp 0x451616
cmp dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
je 0x4515ef
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, 0x4876a0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [eax + 0x10]
cmp dword [ebp - 0x1c], esi
je 0x4515ef
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.Caption
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.004080f7
lea eax, [ebp - 0x50]
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.BuildNumber
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
call fcn.00407ed4
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 2
jle 0x45152b
push ebx
lea ecx, [ebp - 0x20]
call fcn.004013c7
lea eax, [ebp - 0x20]
lea ecx, [ebp - 4]
push eax
call fcn.00408413
lea ecx, [ebp - 0x20]
call fcn.0040139b
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.0042bfc1
lea eax, [ebp - 0x50]
push eax
call edi
lea ecx, [ebp - 0x24]
call fcn.0040139b
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.OSArchitecture
push eax
call dword [ecx + 0x10]
push ebx
lea ecx, [ebp - 0x28]
call fcn.004013c7
lea eax, [ebp - 0x28]
lea ecx, [ebp - 4]
push eax
call fcn.00408413
lea ecx, [ebp - 0x28]
call fcn.0040139b
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.0042bfc1
lea eax, [ebp - 0x50]
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push 0x487640
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00407ed4
mov eax, dword [ebp - 0x30]
cmp dword [eax - 8], 2
jle 0x4515cd
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004013c7
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 4]
push eax
call fcn.00408413
lea ecx, [ebp - 0x2c]
call fcn.0040139b
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.0042bfc1
lea eax, [ebp - 0x50]
push eax
call edi
lea ecx, [ebp - 0x30]
call fcn.0040139b
cmp dword [ebp - 0x14], esi
jne 0x45149f
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
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 ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401355
lea ecx, [ebp - 0xc]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret