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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba0a5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4e843c]
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.00493ec0
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 0x42e453
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.00406c90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x164], ecx
cmp dword [ebp - 0x164], 4
je 0x42e49f
cmp dword [ebp - 0x164], 5
je 0x42e4bb
cmp dword [ebp - 0x164], 6
je 0x42e597
jmp 0x42e652
push str.Microsoft_windows_XP_Older
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 1
jmp 0x42e669
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
je 0x42e4e7
cmp dword [ebp - 0x168], 1
je 0x42e503
cmp dword [ebp - 0x168], 2
je 0x42e51c
jmp 0x42e592
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 2
jmp 0x42e592
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 3
jmp 0x42e592
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x42e54a
movzx ecx, word [ebp - 0x1ac]
cmp ecx, 9
jne 0x42e54a
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 4
jmp 0x42e592
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x42e56f
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 5
jmp 0x42e592
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x42e592
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 6
jmp 0x42e669
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
je 0x42e5c3
cmp dword [ebp - 0x16c], 1
je 0x42e5fe
cmp dword [ebp - 0x16c], 2
je 0x42e639
jmp 0x42e650
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x42e5e5
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 7
jmp 0x42e5fc
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 8
jmp 0x42e650
movzx ecx, byte [ebp - 0x42]
cmp ecx, 1
jne 0x42e620
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 0xa
jmp 0x42e637
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 9
jmp 0x42e650
push 0x4d29e4
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 0x12
jmp 0x42e669
push 0x4d29d4
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 0
mov edx, str.Microsoft_Windows_10
lea ecx, [ebp - 0x28]
call fcn.00404a90
movzx edx, al
test edx, edx
je 0x42e7ad
push 0x4d2ac0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x42e7ad
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 0x42e7ad
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 0x42e717
cmp dword [ebp - 0x17c], 3
jne 0x42e717
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 0xe
jmp 0x42e7ad
cmp dword [ebp - 0x170], 6
jne 0x42e742
cmp dword [ebp - 0x17c], 2
jne 0x42e742
push str.Microsoft_Windows_8.0
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 0xc
jmp 0x42e7ad
cmp dword [ebp - 0x170], 0xa
jne 0x42e7ad
lea ecx, [ebp - 0x40]
push ecx
call fcn.0042eb10
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404450
test eax, eax
jbe 0x42e7a1
lea ecx, [ebp - 0x40]
call fcn.00404460
push eax
call fcn.0049dcb2
add esp, 4
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0x55f0
jl 0x42e7a1
push str.Microsoft_Windows_11
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 0x160], 0x13
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404520
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.004044f0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404520
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.00491a8a
mov esp, ebp
pop ebp
ret