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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
mov dword [eax], 0
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x1c], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00427a80
add esp, 4
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x28], eax
mov dword [ebp - 0x150], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.004b28e0
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x14c]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x148]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x144]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x154]
cmp dword [edx + 4], 5
jne 0x4277ab
mov eax, dword [ebp - 0x154]
cmp dword [eax + 8], 0
jle 0x4277ab
mov ecx, dword [ebp - 0x154]
xor edx, edx
cmp dword [ecx + 8], 1
setne dl
add edx, 1
mov eax, dword [ebp - 0x154]
mov dword [eax], edx
jmp 0x427836
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 6
jne 0x427804
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 8]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x4277da
cmp dword [ebp - 0x158], 1
je 0x4277e8
jmp 0x4277f6
mov ecx, dword [ebp - 0x154]
mov dword [ecx], 3
jmp 0x427802
mov edx, dword [ebp - 0x154]
mov dword [edx], 4
jmp 0x427802
mov eax, dword [ebp - 0x154]
mov dword [eax], 5
jmp 0x427836
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 0xa
jne 0x42781e
mov edx, dword [ebp - 0x154]
mov dword [edx], 7
jmp 0x427836
mov eax, dword [ebp - 0x154]
cmp dword [eax + 4], 6
jle 0x427836
mov ecx, dword [ebp - 0x154]
mov dword [ecx], 8
movzx edx, word [ebp - 0x3c]
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x14], edx
movzx ecx, word [ebp - 0x3a]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x18], ecx
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [ebp - 0x2c]
mov dword [ebp - 0x15c], edx
cmp dword [ebp - 0x15c], 0
je 0x4278a2
cmp dword [ebp - 0x15c], 6
je 0x4278c0
cmp dword [ebp - 0x15c], 9
je 0x4278b1
jmp 0x4278cd
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x1c], 0
jmp 0x4278cd
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x1c], 1
jmp 0x4278cd
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x1c], 2
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x24], eax
cmp dword [ebp - 0x14c], 6
jne 0x42798a
push str.GetProductInfo
push 0x4f3e7c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x14c]
push eax
call dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x160]
sub edx, 1
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x160], 0x2f
ja case.0x427953.1
mov eax, dword [ebp - 0x160]
movzx ecx, byte [eax + 0x427a50]
jmp dword [ecx*4 + 0x427a44]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x10], 2
jmp 0x427985
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 1
jmp 0x427985
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 0
jmp 0x427a30
cmp dword [ebp - 0x14c], 5
jne 0x4279e7
cmp dword [ebp - 0x148], 2
jne 0x4279e7
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x4279bd
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x4279bd
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x4279e5
movzx edx, word [ebp - 0x38]
and edx, 0x8000
je 0x4279d8
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x4279e5
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 2
jmp 0x427a30
cmp dword [ebp - 0x14c], 5
jne 0x427a23
cmp dword [ebp - 0x148], 1
jne 0x427a23
movzx edx, word [ebp - 0x38]
and edx, 0x200
je 0x427a14
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x427a21
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x427a30
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret