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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4e06b8]
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.00427520
add esp, 4
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x28], eax
mov dword [ebp - 0x150], 0x11c
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.00487e90
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 0x42723b
mov eax, dword [ebp - 0x154]
cmp dword [eax + 8], 0
jle 0x42723b
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 0x4272c6
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 6
jne 0x427294
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 8]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x42726a
cmp dword [ebp - 0x158], 1
je 0x427278
jmp 0x427286
mov ecx, dword [ebp - 0x154]
mov dword [ecx], 3
jmp 0x427292
mov edx, dword [ebp - 0x154]
mov dword [edx], 4
jmp 0x427292
mov eax, dword [ebp - 0x154]
mov dword [eax], 5
jmp 0x4272c6
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 0xa
jne 0x4272ae
mov edx, dword [ebp - 0x154]
mov dword [edx], 7
jmp 0x4272c6
mov eax, dword [ebp - 0x154]
cmp dword [eax + 4], 6
jle 0x4272c6
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 0x427332
cmp dword [ebp - 0x15c], 6
je 0x427350
cmp dword [ebp - 0x15c], 9
je 0x427341
jmp 0x42735d
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x1c], 0
jmp 0x42735d
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x1c], 1
jmp 0x42735d
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 0x42741a
push str.GetProductInfo
push 0x4bd384
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.0x4273e3.1
mov eax, dword [ebp - 0x160]
movzx ecx, byte [eax + 0x4274e0]
jmp dword [ecx*4 + 0x4274d4]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x10], 2
jmp 0x427415
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 1
jmp 0x427415
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 0
jmp 0x4274c0
cmp dword [ebp - 0x14c], 5
jne 0x427477
cmp dword [ebp - 0x148], 2
jne 0x427477
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x42744d
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x42744d
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x427475
movzx edx, word [ebp - 0x38]
and edx, 0x8000
je 0x427468
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x427475
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 2
jmp 0x4274c0
cmp dword [ebp - 0x14c], 5
jne 0x4274b3
cmp dword [ebp - 0x148], 1
jne 0x4274b3
movzx edx, word [ebp - 0x38]
and edx, 0x200
je 0x4274a4
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x4274b1
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x4274c0
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.00482469
mov esp, ebp
pop ebp
ret