Function at 0x45a26f
Capabilities:
Check os version

Disassembly:
push 0x124
mov eax, 0x57459e
call fcn.0053fca0
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 0x45a4c0
dec eax
je 0x45a454
dec eax
je 0x45a2e3
mov esi, str.Unknown
jmp 0x45a4c5
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x45a36d
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x45a31f
mov esi, str.Windows_2003
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x45a36d
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jne 0x45a34a
mov esi, str.Windows_XP
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x45a36d
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x45a4d5
mov esi, str.Windows_2000
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 4
ja 0x45a38d
mov esi, str.Windows_NT
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45a444
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x45a3ca
mov esi, str.Windows_Vista
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45a444
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jne 0x45a3f5
mov esi, str.Windows_7
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45a444
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x45a420
mov esi, str.Windows_8
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x45a444
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x45a4d5
mov esi, str.Windows_8.1
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
jne 0x45a4d5
mov esi, str.Windows_10
jmp 0x45a4c5
cmp dword [ebp - 0x120], 4
jne 0x45a4d5
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x45a48b
mov esi, str.Windows_95
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
cmp dword [ebp - 0x120], 4
jne 0x45a4d5
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x45a4b4
mov esi, str.Windows_98
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
cmp dword [ebp - 0x120], 4
jne 0x45a4d5
mov eax, dword [ebp - 0x11c]
cmp eax, 0x5a
jne 0x45a4d5
mov esi, str.Windows_ME
jmp 0x45a4c5
mov esi, str.Windows_Win32s
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408679
call fcn.0040adc8
push eax
lea ecx, [ebp - 0x128]
call fcn.0040a3ab
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.004210bd
add esp, 0x14
cmp word [ebp - 0x110], 0
je 0x45a54e
mov esi, 0x5a3328
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00409102
lea eax, [ebp - 0x110]
push eax
call fcn.004086f2
pop ecx
push eax
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.00409102
mov esi, dword [ebp - 0x128]
push esi
call fcn.004086f2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00409102
lea ecx, [esi - 0x10]
call fcn.0040b4b8
mov eax, edi
call fcn.0053fc4f
ret