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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4eb690]
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.004274f0
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.0048e940
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 0x42721b
mov eax, dword [ebp - 0x154]
cmp dword [eax + 8], 0
jle 0x42721b
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 0x4272a6
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 6
jne 0x427274
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 8]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x42724a
cmp dword [ebp - 0x158], 1
je 0x427258
jmp 0x427266
mov ecx, dword [ebp - 0x154]
mov dword [ecx], 3
jmp 0x427272
mov edx, dword [ebp - 0x154]
mov dword [edx], 4
jmp 0x427272
mov eax, dword [ebp - 0x154]
mov dword [eax], 5
jmp 0x4272a6
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 0xa
jne 0x42728e
mov edx, dword [ebp - 0x154]
mov dword [edx], 7
jmp 0x4272a6
mov eax, dword [ebp - 0x154]
cmp dword [eax + 4], 6
jle 0x4272a6
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 0x427312
cmp dword [ebp - 0x15c], 6
je 0x427330
cmp dword [ebp - 0x15c], 9
je 0x427321
jmp 0x42733d
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x1c], 0
jmp 0x42733d
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x1c], 1
jmp 0x42733d
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 0x4273fa
push str.GetProductInfo
push 0x4c768c
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.0x4273c3.1
mov eax, dword [ebp - 0x160]
movzx ecx, byte [eax + 0x4274c0]
jmp dword [ecx*4 + 0x4274b4]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x10], 2
jmp 0x4273f5
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 1
jmp 0x4273f5
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 0
jmp 0x4274a0
cmp dword [ebp - 0x14c], 5
jne 0x427457
cmp dword [ebp - 0x148], 2
jne 0x427457
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x42742d
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x42742d
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x427455
movzx edx, word [ebp - 0x38]
and edx, 0x8000
je 0x427448
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x427455
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 2
jmp 0x4274a0
cmp dword [ebp - 0x14c], 5
jne 0x427493
cmp dword [ebp - 0x148], 1
jne 0x427493
movzx edx, word [ebp - 0x38]
and edx, 0x200
je 0x427484
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x427491
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x4274a0
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.0048a346
mov esp, ebp
pop ebp
ret