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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567405
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
push 0
lea ecx, [ebp - 0x174]
push ecx
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0x174], 0x11c
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x570a54
lea ecx, [ebp - 0x2c]
call fcn.00401610
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
sub ecx, 4
mov dword [ebp - 0x17c], ecx
cmp dword [ebp - 0x17c], 6
ja case.0x41c9de.3
mov edx, dword [ebp - 0x17c]
jmp dword [edx*4 + 0x41cc5c]
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x41ca0e
cmp dword [ebp - 0x180], 0xa
je 0x41ca3e
cmp dword [ebp - 0x180], 0x5a
je 0x41ca4d
jmp 0x41ca5a
cmp dword [ebp - 0x164], 2
jne 0x41ca26
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41ca3c
cmp dword [ebp - 0x164], 1
jne 0x41ca3c
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41ca5a
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41ca5a
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbf7
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
je 0x41ca88
cmp dword [ebp - 0x184], 1
je 0x41ca97
cmp dword [ebp - 0x184], 2
je 0x41caa6
jmp 0x41cad4
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cad4
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cad4
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41cac7
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x41cac7
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cad4
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbf7
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x41cb05
cmp dword [ebp - 0x188], 1
je 0x41cb2f
cmp dword [ebp - 0x188], 2
je 0x41cb56
jmp 0x41cb9c
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41cb1d
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cb2a
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbc1
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41cb47
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cb54
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbc1
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x41cb8d
push 4
push 6
call fcn.0041cc80
add esp, 8
test eax, eax
je 0x41cb7e
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cb8b
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cb9a
push str.Microsoft_Windows_Server_2012
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbc1
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41cbb4
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbc1
push str.Microsoft_Windows_Server_2012_R2
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbf7
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41cbdb
push str.Microsoft_Windows_10_Insider_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbe8
push str.Microsoft_Windows_Server_Technical_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41cbf7
push str.Unknown_Operating_System
lea ecx, [ebp - 0x2c]
call fcn.00403660
cmp dword [ebp + 0xc], 0
je 0x41cc19
push 0x570ec0
lea ecx, [ebp - 0x2c]
call fcn.004037c0
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004037c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403610
mov eax, dword [ebp - 0x178]
or eax, 1
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401650
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret