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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56204c], 0
jne 0x48f53c
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004dc680
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
push str.RtlGetVersion
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48f277
lea ecx, [ebp - 0x120]
push ecx
call eax
test eax, eax
je 0x48f277
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x48f277
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
mov ax, word [ebp - 0xc]
mov ecx, 0x561e30
push 0
push 0x529860
mov word [0x561e3c], ax
mov dword [0x561e34], 0
call fcn.00482220
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x48f47f
sub eax, 1
je 0x48f43c
sub eax, 1
je 0x48f2c5
push 0
push 0x529860
jmp 0x48f490
mov eax, dword [ebp - 0x11c]
cmp eax, 4
ja 0x48f2e6
push 0xa
mov dword [0x561e34], 0x40
push str.Windows_NT
jmp 0x48f490
cmp eax, 5
jne 0x48f345
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x48f30b
push 0xc
mov dword [0x561e34], 0x80
push str.Windows_2000
jmp 0x48f490
cmp eax, 1
jne 0x48f326
push 0xa
mov dword [0x561e34], 0x100
push str.Windows_XP
jmp 0x48f490
cmp eax, 2
jne 0x48f49a
push 0xc
mov dword [0x561e34], 0x200
push str.Windows_2003
jmp 0x48f490
cmp eax, 6
jne 0x48f3e9
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x48f36e
push 0xd
mov dword [0x561e34], 0x400
push str.Windows_Vista
jmp 0x48f490
cmp eax, 1
jne 0x48f389
push 9
mov dword [0x561e34], 0x800
push str.Windows_7
jmp 0x48f490
cmp eax, 2
jne 0x48f3a4
push 9
mov dword [0x561e34], 0x1000
push str.Windows_8
jmp 0x48f490
cmp eax, 3
jne 0x48f3bf
push 0xb
mov dword [0x561e34], 0x2000
push str.Windows_8.1
jmp 0x48f490
cmp eax, 4
jne 0x48f49a
mov eax, dword [ebp - 0x114]
cmp eax, 0x2671
je 0x48f403
cmp eax, 0x2684
je 0x48f403
cmp eax, 0x2697
jne 0x48f49a
jmp 0x48f403
cmp eax, 0xa
jne 0x48f424
cmp dword [ebp - 0x118], 0
jne 0x48f416
cmp dword [ebp - 0x114], 0x55ec
jae 0x48f429
push 0xa
mov dword [0x561e34], 0x4000
push str.Windows_10
jmp 0x48f490
cmp dword [ebp - 0x114], 0x55ec
jae 0x48f429
jmp 0x48f49a
cmp eax, 0xb
jb 0x48f49a
push 0xa
mov dword [0x561e34], 0x10000
push str.Windows_11
jmp 0x48f490
cmp dword [ebp - 0x11c], 4
jne 0x48f49a
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x48f46c
cmp eax, 0xa
je 0x48f46c
cmp eax, 0x5a
jne 0x48f49a
push 0xa
mov dword [0x561e34], 0x20
push str.Windows_ME
jmp 0x48f490
push 0xa
mov dword [0x561e34], 8
push str.Windows_9x
jmp 0x48f490
push 0xb
mov dword [0x561e34], 1
push str.Windows_3.2
mov ecx, 0x561e30
call fcn.00482220
xor eax, eax
push str.GetNativeSystemInfo
push 0x5146ac
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48f4f8
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x48f505
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x144]
cmp ax, 9
je 0x48f528
cmp ax, 6
je 0x48f528
test ax, ax
jne 0x48f532
mov dword [0x561e38], 0
jmp 0x48f532
mov dword [0x561e38], 1
mov dword [0x56204c], 1
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret