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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4379c2
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x154], 0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x43a7e9
mov byte [esi], 0
call fcn.00408050
lea eax, [ebp - 0x180]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x154], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x430565
mov eax, dword [ebp - 0x144]
sub eax, 4
je 0x430518
sub eax, 1
je 0x4304a7
sub eax, 1
je 0x43042e
push 5
push str.Error
jmp 0x43055e
mov eax, dword [ebp - 0x140]
sub eax, 0
je 0x430487
sub eax, 1
je 0x430467
sub eax, 1
jne 0x430565
cmp byte [ebp - 0x2e], 1
mov ecx, esi
jne 0x43045b
push 9
push str.Windows_8
jmp 0x430560
push 0x13
push str.Windows_Server_2012
jmp 0x430560
cmp byte [ebp - 0x2e], 1
mov ecx, esi
jne 0x43047b
push 9
push str.Windows_7
jmp 0x430560
push 0x16
push str.Windows_Server_2008_R2
jmp 0x430560
cmp byte [ebp - 0x2e], 1
mov ecx, esi
jne 0x43049b
push 0xd
push str.Windows_Vista
jmp 0x430560
push 0x13
push str.Windows_Server_2008
jmp 0x430560
mov eax, dword [ebp - 0x140]
sub eax, 0
je 0x43050f
sub eax, 1
je 0x430506
sub eax, 1
jne 0x430565
cmp byte [ebp - 0x2e], 1
jne 0x4304dc
cmp word [ebp - 0x180], 9
jne 0x4304dc
push 0x23
push str.Windows_XP_Professional_x64_Edition
jmp 0x43055e
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4304f1
push 0x13
push str.Windows_Server_2003
jmp 0x43055e
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x430565
push 0x16
push str.Windows_Server_2003_R2
jmp 0x43055e
push 0xa
push str.Windows_XP
jmp 0x43055e
push 0xc
push str.Windows_2000
jmp 0x43055e
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x43053e
cmp eax, 0xa
je 0x430535
cmp eax, 0x5a
jne 0x430565
push 0x14
push str.Microsoft_Windows_Me
jmp 0x43055e
push 0xa
push str.Windows_98
jmp 0x43055e
mov eax, dword [ebp - 0x138]
cmp eax, 2
jne 0x430552
push 0xe
push str.Windows_NT_4.0
jmp 0x43055e
cmp eax, 1
jne 0x430565
push 0xa
push str.Windows_95
mov ecx, esi
call fcn.00408050
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x150]
push ecx
call eax
mov eax, dword [ebp - 0x150]
cmp eax, 6
jne 0x4305bb
cmp dword [ebp - 0x14c], 3
jne 0x4305e9
push 0xb
push str.Windows_8.1
mov ecx, esi
call fcn.00408050
mov eax, dword [ebp - 0x150]
cmp eax, 0xa
jne 0x4305e9
cmp dword [ebp - 0x14c], 0
jne 0x4305e9
cmp dword [ebp - 0x13c], 0x55f0
mov ecx, esi
push eax
jb 0x4305df
push str.Windows_11
jmp 0x4305e4
push str.Windows_10
call fcn.00408050
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x1a4]
cmp ax, 9
je 0x43064f
cmp ax, 6
je 0x43064f
push 0x43cf94
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0042bf60
add esp, 4
mov ecx, esi
push eax
call fcn.00407300
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x430660
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430656
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x430656
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x43cf90
jmp 0x43060e
push edx
push ecx
call fcn.00432a88
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043284c
mov esp, ebp
pop ebp
ret