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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x562904]
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.004f3680
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 0x4345d3
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 0x43461f
cmp dword [ebp - 0x164], 5
je 0x43463b
cmp dword [ebp - 0x164], 6
je 0x434717
jmp 0x4347d2
push str.Microsoft_windows_XP_Older
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 1
jmp 0x4347e9
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
je 0x434667
cmp dword [ebp - 0x168], 1
je 0x434683
cmp dword [ebp - 0x168], 2
je 0x43469c
jmp 0x434712
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 2
jmp 0x434712
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 3
jmp 0x434712
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x4346ca
movzx ecx, word [ebp - 0x1ac]
cmp ecx, 9
jne 0x4346ca
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 4
jmp 0x434712
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4346ef
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 5
jmp 0x434712
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x434712
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 6
jmp 0x4347e9
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
je 0x434743
cmp dword [ebp - 0x16c], 1
je 0x43477e
cmp dword [ebp - 0x16c], 2
je 0x4347b9
jmp 0x4347d0
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x434765
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 7
jmp 0x43477c
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 8
jmp 0x4347d0
movzx ecx, byte [ebp - 0x42]
cmp ecx, 1
jne 0x4347a0
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 0xa
jmp 0x4347b7
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 9
jmp 0x4347d0
push 0x54abc0
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 0x12
jmp 0x4347e9
push 0x54abb0
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 0
mov edx, str.Microsoft_Windows_10
lea ecx, [ebp - 0x28]
call fcn.00404ab0
movzx edx, al
test edx, edx
je 0x43492d
push 0x54ac9c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x43492d
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 0x43492d
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 0x434897
cmp dword [ebp - 0x17c], 3
jne 0x434897
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 0xe
jmp 0x43492d
cmp dword [ebp - 0x170], 6
jne 0x4348c2
cmp dword [ebp - 0x17c], 2
jne 0x4348c2
push str.Microsoft_Windows_8.0
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 0xc
jmp 0x43492d
cmp dword [ebp - 0x170], 0xa
jne 0x43492d
lea ecx, [ebp - 0x40]
push ecx
call fcn.00434c90
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404470
test eax, eax
jbe 0x434921
lea ecx, [ebp - 0x40]
call fcn.00404480
push eax
call fcn.004fee26
add esp, 4
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0x55f0
jl 0x434921
push str.Microsoft_Windows_11
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov dword [ebp - 0x160], 0x13
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404540
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404510
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404540
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.004f1532
mov esp, ebp
pop ebp
ret