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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x48d744]
xor eax, ebp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x164], ecx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc], eax
push str.RtlGetNtVersionNumbers
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
call dword [ebp - 0x14]
cmp dword [ebp - 4], 6
jne 0x416ab6
cmp dword [ebp - 8], 3
jne 0x416ab6
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], 0x482554
jmp case.0x416b38.3
cmp dword [ebp - 4], 0xa
jne 0x416ad4
cmp dword [ebp - 8], 0
jne 0x416ad4
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], 0x48256c
jmp case.0x416b38.3
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x160], 0x11c
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.unknown_OperatingSystem.
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.0x416b38.3
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
sub ecx, 4
mov dword [ebp - 0x168], ecx
cmp dword [ebp - 0x168], 6
ja case.0x416b38.3
mov edx, dword [ebp - 0x168]
jmp dword [edx*4 + 0x416d68]
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x416b68
cmp dword [ebp - 0x16c], 0xa
je 0x416b98
cmp dword [ebp - 0x16c], 0x5a
je 0x416ba7
jmp 0x416bb4
cmp dword [ebp - 0x150], 2
jne 0x416b80
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_NT_4.0
jmp 0x416b96
cmp dword [ebp - 0x150], 1
jne 0x416b96
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_95
jmp 0x416bb4
mov eax, dword [ebp - 0x164]
mov dword [eax + 0xc], str.Microsoft_Windows_98
jmp 0x416bb4
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_Me
jmp case.0x416b38.3
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x170], 0
je 0x416be2
cmp dword [ebp - 0x170], 1
je 0x416bf1
cmp dword [ebp - 0x170], 2
je 0x416c00
jmp 0x416c55
mov eax, dword [ebp - 0x164]
mov dword [eax + 0xc], str.Microsoft_Windows_2000
jmp 0x416c55
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_XP
jmp 0x416c55
movzx edx, byte [ebp - 0x46]
cmp edx, 1
jne 0x416c21
movzx eax, word [ebp - 0x38]
cmp eax, 9
jne 0x416c21
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x416c55
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x416c3c
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_Server_2003
jmp 0x416c55
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x416c55
mov eax, dword [ebp - 0x164]
mov dword [eax + 0xc], str.Microsoft_Windows_Server_2003_R2
jmp case.0x416b38.3
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x174], ecx
cmp dword [ebp - 0x174], 3
ja case.default.0x416c79
mov edx, dword [ebp - 0x174]
jmp dword [edx*4 + 0x416d84]
movzx eax, byte [ebp - 0x46]
cmp eax, 1
jne 0x416c98
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_Vista
jmp 0x416ca5
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_Server_2008
jmp case.default.0x416c79
movzx eax, byte [ebp - 0x46]
cmp eax, 1
jne 0x416cbf
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_7
jmp 0x416ccc
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_Server_2008_R2
jmp case.default.0x416c79
movzx eax, byte [ebp - 0x46]
cmp eax, 1
jne 0x416ce6
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_8
jmp 0x416cf3
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_Server_2012
jmp case.default.0x416c79
movzx eax, byte [ebp - 0x46]
cmp eax, 1
jne 0x416d0d
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xc], str.Microsoft_Windows_8.1
jmp case.default.0x416c79
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_Server_2012_R2
jmp case.0x416b38.3
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x416d33
jmp case.0x416b38.3
movzx ecx, byte [ebp - 0x46]
cmp ecx, 1
jne 0x416d4b
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xc], str.Microsoft_Windows_10
jmp case.0x416b38.3
mov eax, dword [ebp - 0x164]
mov dword [eax + 0xc], str.Microsoft_Windows_Server_2016_Technical_Preview
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0044ab62
mov esp, ebp
pop ebp
ret