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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431f18
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x43c2d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0xf4], 0x9c
push str.unknown
lea ecx, [ebp - 0x2c]
call fcn.00403910
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x411cd1
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 4
je 0x411b32
cmp dword [ebp - 0xfc], 5
je 0x411bac
cmp dword [ebp - 0xfc], 6
je 0x411c4d
jmp 0x411cd1
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x411b5b
cmp dword [ebp - 0x100], 0xa
je 0x411b8b
cmp dword [ebp - 0x100], 0x5a
je 0x411b9a
jmp 0x411ba7
cmp dword [ebp - 0xe4], 2
jne 0x411b73
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411b89
cmp dword [ebp - 0xe4], 1
jne 0x411b89
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411ba7
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411ba7
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411cd1
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x104], ecx
cmp dword [ebp - 0x104], 0
je 0x411bd5
cmp dword [ebp - 0x104], 1
je 0x411be4
cmp dword [ebp - 0x104], 2
je 0x411bf3
jmp 0x411c48
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411c48
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411c48
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x411c14
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x411c14
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411c48
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x411c2f
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411c48
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x411c48
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411cd1
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0
je 0x411c76
cmp dword [ebp - 0x108], 1
je 0x411c9d
cmp dword [ebp - 0x108], 2
je 0x411cc4
jmp 0x411cd1
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x411c8e
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411c9b
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411cd1
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x411cb5
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411cc2
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x2c]
call fcn.004030d0
jmp 0x411cd1
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.004030d0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00411ec0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0041df30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d486
mov esp, ebp
pop ebp
ret 8