Function at 0x457fb5
Capabilities:
Check os version

Disassembly:
push 0x124
mov eax, 0x563232
call fcn.0052eb20
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], esi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov word [edi], ax
lea eax, [ebp - 0x124]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
sub eax, esi
je 0x458206
dec eax
je 0x45819a
dec eax
je 0x458029
mov esi, str.Unknown
jmp 0x45820b
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x4580b3
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x458065
mov esi, str.Windows_2003
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x4580b3
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jne 0x458090
mov esi, str.Windows_XP
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x4580b3
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x45821b
mov esi, str.Windows_2000
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 4
ja 0x4580d3
mov esi, str.Windows_NT
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45818a
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x458110
mov esi, str.Windows_Vista
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45818a
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jne 0x45813b
mov esi, str.Windows_7
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45818a
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x458166
mov esi, str.Windows_8
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45818a
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x45821b
mov esi, str.Windows_8.1
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
jne 0x45821b
mov esi, str.Windows_10
jmp 0x45820b
cmp dword [ebp - 0x120], 4
jne 0x45821b
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x4581d1
mov esi, str.Windows_95
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
cmp dword [ebp - 0x120], 4
jne 0x45821b
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x4581fa
mov esi, str.Windows_98
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
cmp dword [ebp - 0x120], 4
jne 0x45821b
mov eax, dword [ebp - 0x11c]
cmp eax, 0x5a
jne 0x45821b
mov esi, str.Windows_ME
jmp 0x45820b
mov esi, str.Windows_Win32s
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408659
call fcn.0040adc1
push eax
lea ecx, [ebp - 0x128]
call fcn.0040a3a4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x128]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push str.__build_d._d._d_
push eax
call fcn.004210a0
add esp, 0x14
cmp word [ebp - 0x110], 0
je 0x458294
mov esi, 0x58ee80
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004090e2
lea eax, [ebp - 0x110]
push eax
call fcn.004086d2
pop ecx
push eax
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.004090e2
mov esi, dword [ebp - 0x128]
push esi
call fcn.004086d2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004090e2
lea ecx, [esi - 0x10]
call fcn.0040b4b1
mov eax, edi
call fcn.0052eacf
ret