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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51def5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x55f904]
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.004f0080
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 0x430f33
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.00405b20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x164], ecx
cmp dword [ebp - 0x164], 4
je 0x430f7f
cmp dword [ebp - 0x164], 5
je 0x430f9b
cmp dword [ebp - 0x164], 6
je 0x431077
jmp 0x431132
push str.Microsoft_windows_XP_Older
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 1
jmp 0x431149
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
je 0x430fc7
cmp dword [ebp - 0x168], 1
je 0x430fe3
cmp dword [ebp - 0x168], 2
je 0x430ffc
jmp 0x431072
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 2
jmp 0x431072
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 3
jmp 0x431072
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x43102a
movzx ecx, word [ebp - 0x1ac]
cmp ecx, 9
jne 0x43102a
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 4
jmp 0x431072
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x43104f
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 5
jmp 0x431072
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x431072
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 6
jmp 0x431149
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
je 0x4310a3
cmp dword [ebp - 0x16c], 1
je 0x4310de
cmp dword [ebp - 0x16c], 2
je 0x431119
jmp 0x431130
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x4310c5
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 7
jmp 0x4310dc
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 8
jmp 0x431130
movzx ecx, byte [ebp - 0x42]
cmp ecx, 1
jne 0x431100
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 0xa
jmp 0x431117
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 9
jmp 0x431130
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 0x12
jmp 0x431149
push 0x547004
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 0
mov edx, 0x546f94
lea ecx, [ebp - 0x28]
call fcn.00403830
movzx edx, al
test edx, edx
je 0x43128d
push 0x5470f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x43128d
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 0x43128d
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 0x4311f7
cmp dword [ebp - 0x17c], 3
jne 0x4311f7
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 0xe
jmp 0x43128d
cmp dword [ebp - 0x170], 6
jne 0x431222
cmp dword [ebp - 0x17c], 2
jne 0x431222
push str.Microsoft_Windows_8.0
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 0xc
jmp 0x43128d
cmp dword [ebp - 0x170], 0xa
jne 0x43128d
lea ecx, [ebp - 0x40]
push ecx
call fcn.004315f0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403220
test eax, eax
jbe 0x431281
lea ecx, [ebp - 0x40]
call fcn.00403230
push eax
call fcn.004fb826
add esp, 4
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0x55f0
jl 0x431281
push str.Microsoft_Windows_11
lea ecx, [ebp - 0x28]
call fcn.004071c0
mov dword [ebp - 0x160], 0x13
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004032c0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403290
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004032c0
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.004edf30
mov esp, ebp
pop ebp
ret