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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b36a5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x11c
push 0
lea eax, [ebp - 0x15c]
push eax
call fcn.0048da50
add esp, 0xc
mov dword [ebp - 0x15c], 0x11c
lea ecx, [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x42efa3
mov dword [ebp - 0x15c], 0x114
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x28]
call fcn.00403e90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x164], ecx
cmp dword [ebp - 0x164], 4
je 0x42efef
cmp dword [ebp - 0x164], 5
je 0x42f00b
cmp dword [ebp - 0x164], 6
je 0x42f0e7
jmp 0x42f1a2
push str.Microsoft_windows_XP_Older
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 1
jmp 0x42f1b9
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
je 0x42f037
cmp dword [ebp - 0x168], 1
je 0x42f053
cmp dword [ebp - 0x168], 2
je 0x42f06c
jmp 0x42f0e2
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 2
jmp 0x42f0e2
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 3
jmp 0x42f0e2
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x42f09a
movzx ecx, word [ebp - 0x1ac]
cmp ecx, 9
jne 0x42f09a
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 4
jmp 0x42f0e2
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x42f0bf
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 5
jmp 0x42f0e2
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x42f0e2
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 6
jmp 0x42f1b9
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
je 0x42f113
cmp dword [ebp - 0x16c], 1
je 0x42f14e
cmp dword [ebp - 0x16c], 2
je 0x42f189
jmp 0x42f1a0
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x42f135
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 7
jmp 0x42f14c
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 8
jmp 0x42f1a0
movzx ecx, byte [ebp - 0x42]
cmp ecx, 1
jne 0x42f170
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 0xa
jmp 0x42f187
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 9
jmp 0x42f1a0
push 0x4cbe14
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 0x12
jmp 0x42f1b9
push 0x4cbe84
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 0
mov edx, str.Microsoft_Windows_10
lea ecx, [ebp - 0x28]
call fcn.00402e20
movzx edx, al
test edx, edx
je 0x42f2fd
push 0x4cbf70
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x42f2fd
mov dword [ebp - 0x180], 0
push str.RtlGetNtVersionNumbers
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x42f2fd
lea ecx, [ebp - 0x180]
push ecx
lea edx, [ebp - 0x17c]
push edx
lea eax, [ebp - 0x170]
push eax
call dword [ebp - 0x178]
cmp dword [ebp - 0x170], 6
jne 0x42f267
cmp dword [ebp - 0x17c], 3
jne 0x42f267
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 0xe
jmp 0x42f2fd
cmp dword [ebp - 0x170], 6
jne 0x42f292
cmp dword [ebp - 0x17c], 2
jne 0x42f292
push str.Microsoft_Windows_8.0
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 0xc
jmp 0x42f2fd
cmp dword [ebp - 0x170], 0xa
jne 0x42f2fd
lea ecx, [ebp - 0x40]
push ecx
call fcn.0042f660
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00402810
test eax, eax
jbe 0x42f2f1
lea ecx, [ebp - 0x40]
call fcn.00402820
push eax
call fcn.00497d2e
add esp, 4
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0x55f0
jl 0x42f2f1
push str.Microsoft_Windows_11
lea ecx, [ebp - 0x28]
call fcn.00409020
mov dword [ebp - 0x160], 0x13
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004028b0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402880
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret