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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x600f84]
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 0x118
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.00557f00
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 0x42724b
mov eax, dword [ebp - 0x154]
cmp dword [eax + 8], 0
jle 0x42724b
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 0x4272d6
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 6
jne 0x4272a4
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 8]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x42727a
cmp dword [ebp - 0x158], 1
je 0x427288
jmp 0x427296
mov ecx, dword [ebp - 0x154]
mov dword [ecx], 3
jmp 0x4272a2
mov edx, dword [ebp - 0x154]
mov dword [edx], 4
jmp 0x4272a2
mov eax, dword [ebp - 0x154]
mov dword [eax], 5
jmp 0x4272d6
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 4], 0xa
jne 0x4272be
mov edx, dword [ebp - 0x154]
mov dword [edx], 7
jmp 0x4272d6
mov eax, dword [ebp - 0x154]
cmp dword [eax + 4], 6
jle 0x4272d6
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 0x427342
cmp dword [ebp - 0x15c], 6
je 0x427360
cmp dword [ebp - 0x15c], 9
je 0x427351
jmp 0x42736d
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x1c], 0
jmp 0x42736d
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x1c], 1
jmp 0x42736d
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 0x42742a
push str.GetProductInfo
push 0x5d4ee4
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.0x4273f3.1
mov eax, dword [ebp - 0x160]
movzx ecx, byte [eax + 0x4274f0]
jmp dword [ecx*4 + 0x4274e4]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x10], 2
jmp 0x427425
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 1
jmp 0x427425
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 0
jmp 0x4274d0
cmp dword [ebp - 0x14c], 5
jne 0x427487
cmp dword [ebp - 0x148], 2
jne 0x427487
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x42745d
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x42745d
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x427485
movzx edx, word [ebp - 0x38]
and edx, 0x8000
je 0x427478
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x427485
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 2
jmp 0x4274d0
cmp dword [ebp - 0x14c], 5
jne 0x4274c3
cmp dword [ebp - 0x148], 1
jne 0x4274c3
movzx edx, word [ebp - 0x38]
and edx, 0x200
je 0x4274b4
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x10], 0
jmp 0x4274c1
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x10], 1
jmp 0x4274d0
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.005521f1
mov esp, ebp
pop ebp
ret