Function at 0x424950
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0xcc
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0xc8], eax
push 0
push 0x5f510f
mov ecx, esi
call fcn.00405130
xor eax, eax
push 0x9c
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
push eax
call fcn.004eaae0
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4249dc
mov eax, 1
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004e3dc3
add esp, 0xcc
ret
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GetNativeSystemInfo
push str.kernel32.dll
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
test eax, eax
je 0x424a07
lea edx, [esp + 0x10]
push edx
call eax
jmp 0x424a12
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x48], 2
mov ebx, 1
jne 0x424d0b
cmp dword [esp + 0x3c], 4
jbe 0x424d0b
push str.Microsoft
mov ecx, esi
call fcn.00416cb0
cmp dword [esp + 0x3c], 6
jne 0x424b48
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x424a65
cmp byte [esp + 0xd2], bl
mov ecx, esi
jne 0x424a5e
push str.Windows_Vista
jmp 0x424a70
push str.Windows_Server_2008
jmp 0x424a70
cmp eax, ebx
jne 0x424a75
push str.Windows_7
mov ecx, esi
call fcn.00416cb0
push str.GetProductInfo
push str.kernel32.dll
call edi
push eax
call ebp
test eax, eax
je 0x424a97
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push 6
call eax
mov eax, dword [esp + 0xc]
add eax, 0xffffffff
cmp eax, 0x18
ja case.0x424aa3.4
jmp dword [eax*4 + 0x424d28]
push str.Ultimate_Edition
jmp 0x424b1f
push str.Home_Premium_Edition
jmp 0x424b1f
push str.Home_Basic_Edition
jmp 0x424b1f
push str.Enterprise_Edition
jmp 0x424b1f
push str.Business_Edition
jmp 0x424b1f
push str.Starter_Edition
jmp 0x424b1f
push str.Cluster_Server_Edition
jmp 0x424b1f
push str.Datacenter_Edition
jmp 0x424b1f
push str.Datacenter_Edition__core_installation_
jmp 0x424b1f
push str.Enterprise_Edition__core_installation_
jmp 0x424b1f
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x424b1f
push str.Small_Business_Server
jmp 0x424b1f
push str.Small_Business_Server_Premium_Edition
jmp 0x424b1f
push str.Standard_Edition
jmp 0x424b1f
push str.Standard_Edition__core_installation_
jmp 0x424b1f
push str.Web_Server_Edition
jmp 0x424b1f
push str.Unknown
mov ecx, esi
call fcn.00416cb0
mov eax, dword [esp + 0x10]
cmp ax, 9
jne 0x424b37
push str.__64_bit
jmp 0x424b41
test ax, ax
jne 0x424b48
push str.__32_bit
mov ecx, esi
call fcn.00416cb0
mov edi, 5
cmp dword [esp + 0x3c], edi
jne 0x424cdf
cmp dword [esp + 0x40], 2
jne 0x424c5b
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x424b75
push str.Windows_Server_2003_R2_
jmp 0x424ba5
cmp word [esp + 0xd0], 0x2000
jne 0x424b88
push str.Windows_Storage_Server_2003
jmp 0x424ba5
cmp byte [esp + 0xd2], bl
jne 0x424ba0
cmp word [esp + 0x10], 9
jne 0x424ba0
push str.Windows_XP_Professional_x64_Edition
jmp 0x424ba5
push str.Windows_Server_2003_
mov ecx, esi
call fcn.00416cb0
cmp byte [esp + 0xd2], bl
je 0x424c51
mov eax, dword [esp + 0x10]
cmp ax, 6
jne 0x424be0
mov al, byte [esp + 0xd0]
test al, al
jns 0x424bd5
push str.Datacenter_Edition_for_Itanium_based_Systems
jmp 0x424c4a
test al, 2
je 0x424c51
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x424c4a
cmp ax, 9
jne 0x424c0c
mov al, byte [esp + 0xd0]
test al, al
jns 0x424bf8
push str.Datacenter_x64_Edition
jmp 0x424c4a
test al, 2
mov ecx, esi
je 0x424c05
push str.Enterprise_x64_Edition
jmp 0x424c4c
push str.Standard_x64_Edition
jmp 0x424c4c
mov eax, dword [esp + 0xd0]
test eax, 0x4000
je 0x424c21
push str.Compute_Cluster_Edition
jmp 0x424c4a
test al, al
jns 0x424c2c
push str.Datacenter_Edition
jmp 0x424c4a
test al, 2
je 0x424c37
push str.Enterprise_Edition
jmp 0x424c4a
test eax, 0x400
je 0x424c45
push str.Web_Edition
jmp 0x424c4a
push str.Standard_Edition
mov ecx, esi
call fcn.00416cb0
cmp dword [esp + 0x3c], edi
jne 0x424cdf
cmp dword [esp + 0x40], ebx
jne 0x424c93
push str.Windows_XP
mov ecx, esi
call fcn.00416cb0
test dword [esp + 0xd0], 0x200
mov ecx, esi
je 0x424c83
push str.Home_Edition
jmp 0x424c88
push str.Professional
call fcn.00416cb0
cmp dword [esp + 0x3c], edi
jne 0x424cdf
cmp dword [esp + 0x40], 0
jne 0x424cdf
push str.Windows_2000
mov ecx, esi
call fcn.00416cb0
cmp byte [esp + 0xd2], bl
jne 0x424cb6
push str.Professional
jmp 0x424cd8
mov al, byte [esp + 0xd0]
test al, al
jns 0x424cc8
push str.Datacenter_Server
jmp 0x424cd8
test al, 2
je 0x424cd3
push str.Advanced_Server
jmp 0x424cd8
push str.Server
mov ecx, esi
call fcn.00416cb0
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424ce6
sub eax, edx
je 0x424d0b
push 0x5f5ab0
mov ecx, esi
call fcn.00416cb0
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00416cb0
mov ecx, dword [esp + 0xd4]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004e3dc3
add esp, 0xcc
ret