Function at 0x424120
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 0x5f50ef
mov ecx, esi
call fcn.00405140
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.004ea260
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 0x4241ac
mov eax, 1
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004e3543
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 0x4241d7
lea edx, [esp + 0x10]
push edx
call eax
jmp 0x4241e2
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x48], 2
mov ebx, 1
jne 0x4244db
cmp dword [esp + 0x3c], 4
jbe 0x4244db
push str.Microsoft
mov ecx, esi
call fcn.00416480
cmp dword [esp + 0x3c], 6
jne 0x424318
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x424235
cmp byte [esp + 0xd2], bl
mov ecx, esi
jne 0x42422e
push str.Windows_Vista
jmp 0x424240
push str.Windows_Server_2008
jmp 0x424240
cmp eax, ebx
jne 0x424245
push str.Windows_7
mov ecx, esi
call fcn.00416480
push str.GetProductInfo
push str.kernel32.dll
call edi
push eax
call ebp
test eax, eax
je 0x424267
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.0x424273.4
jmp dword [eax*4 + 0x4244f8]
push str.Ultimate_Edition
jmp 0x4242ef
push str.Home_Premium_Edition
jmp 0x4242ef
push str.Home_Basic_Edition
jmp 0x4242ef
push str.Enterprise_Edition
jmp 0x4242ef
push str.Business_Edition
jmp 0x4242ef
push str.Starter_Edition
jmp 0x4242ef
push str.Cluster_Server_Edition
jmp 0x4242ef
push str.Datacenter_Edition
jmp 0x4242ef
push str.Datacenter_Edition__core_installation_
jmp 0x4242ef
push str.Enterprise_Edition__core_installation_
jmp 0x4242ef
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x4242ef
push str.Small_Business_Server
jmp 0x4242ef
push str.Small_Business_Server_Premium_Edition
jmp 0x4242ef
push str.Standard_Edition
jmp 0x4242ef
push str.Standard_Edition__core_installation_
jmp 0x4242ef
push str.Web_Server_Edition
jmp 0x4242ef
push str.Unknown
mov ecx, esi
call fcn.00416480
mov eax, dword [esp + 0x10]
cmp ax, 9
jne 0x424307
push str.__64_bit
jmp 0x424311
test ax, ax
jne 0x424318
push str.__32_bit
mov ecx, esi
call fcn.00416480
mov edi, 5
cmp dword [esp + 0x3c], edi
jne 0x4244af
cmp dword [esp + 0x40], 2
jne 0x42442b
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x424345
push str.Windows_Server_2003_R2_
jmp 0x424375
cmp word [esp + 0xd0], 0x2000
jne 0x424358
push str.Windows_Storage_Server_2003
jmp 0x424375
cmp byte [esp + 0xd2], bl
jne 0x424370
cmp word [esp + 0x10], 9
jne 0x424370
push str.Windows_XP_Professional_x64_Edition
jmp 0x424375
push str.Windows_Server_2003_
mov ecx, esi
call fcn.00416480
cmp byte [esp + 0xd2], bl
je 0x424421
mov eax, dword [esp + 0x10]
cmp ax, 6
jne 0x4243b0
mov al, byte [esp + 0xd0]
test al, al
jns 0x4243a5
push str.Datacenter_Edition_for_Itanium_based_Systems
jmp 0x42441a
test al, 2
je 0x424421
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x42441a
cmp ax, 9
jne 0x4243dc
mov al, byte [esp + 0xd0]
test al, al
jns 0x4243c8
push str.Datacenter_x64_Edition
jmp 0x42441a
test al, 2
mov ecx, esi
je 0x4243d5
push str.Enterprise_x64_Edition
jmp 0x42441c
push str.Standard_x64_Edition
jmp 0x42441c
mov eax, dword [esp + 0xd0]
test eax, 0x4000
je 0x4243f1
push str.Compute_Cluster_Edition
jmp 0x42441a
test al, al
jns 0x4243fc
push str.Datacenter_Edition
jmp 0x42441a
test al, 2
je 0x424407
push str.Enterprise_Edition
jmp 0x42441a
test eax, 0x400
je 0x424415
push str.Web_Edition
jmp 0x42441a
push str.Standard_Edition
mov ecx, esi
call fcn.00416480
cmp dword [esp + 0x3c], edi
jne 0x4244af
cmp dword [esp + 0x40], ebx
jne 0x424463
push str.Windows_XP
mov ecx, esi
call fcn.00416480
test dword [esp + 0xd0], 0x200
mov ecx, esi
je 0x424453
push str.Home_Edition
jmp 0x424458
push str.Professional
call fcn.00416480
cmp dword [esp + 0x3c], edi
jne 0x4244af
cmp dword [esp + 0x40], 0
jne 0x4244af
push str.Windows_2000
mov ecx, esi
call fcn.00416480
cmp byte [esp + 0xd2], bl
jne 0x424486
push str.Professional
jmp 0x4244a8
mov al, byte [esp + 0xd0]
test al, al
jns 0x424498
push str.Datacenter_Server
jmp 0x4244a8
test al, 2
je 0x4244a3
push str.Advanced_Server
jmp 0x4244a8
push str.Server
mov ecx, esi
call fcn.00416480
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4244b6
sub eax, edx
je 0x4244db
push 0x5f5a90
mov ecx, esi
call fcn.00416480
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00416480
mov ecx, dword [esp + 0xd4]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004e3543
add esp, 0xcc
ret