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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59eebb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov esi, 0x114
push esi
xor ebx, ebx
lea eax, [esp + 0x1a0]
push ebx
push eax
call fcn.00560d40
add esp, 0xc
lea eax, [esp + 0x19c]
push eax
mov dword [esp + 0x1a0], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x481dc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x34]
push eax
call fcn.00409ac6
mov esi, eax
push str.GetVersionEx_failed__err_
push esi
mov dword [esp + 0x2d0], ebx
call fcn.0040fa1f
pop ecx
pop ecx
push edi
push esi
call fcn.0040d432
lea eax, [esp + 0x180]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x2c8], 1
cmp dword [esp + 0x194], 8
mov eax, dword [esp + 0x180]
jae 0x481da1
lea eax, [esp + 0x180]
push eax
xor ecx, ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x184]
call fcn.0040b028
lea eax, [esp + 0x34]
jmp 0x481fa6
push 0x24
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00560d40
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [esp + 0x1a0]
push 2
pop edi
cmp ecx, 4
jne 0x481e02
cmp dword [esp + 0x1ac], 1
jne 0x481f0d
xor eax, eax
jmp 0x481fb6
push 5
pop eax
cmp ecx, eax
jne 0x481e54
cmp dword [esp + 0x1a4], ebx
jne 0x481e1a
xor eax, eax
inc eax
jmp 0x481fb6
cmp dword [esp + 0x1a4], 1
jne 0x481e2c
push 2
pop eax
jmp 0x481fb6
cmp dword [esp + 0x1a4], edi
jne 0x481f0d
cmp word [esp + 0x10], 9
je 0x481e50
cmp word [esp + 0x10], 6
je 0x481e50
mov eax, edi
jmp 0x481fb6
push 3
jmp 0x481e26
push 6
pop edx
cmp ecx, edx
jne 0x481ee2
mov ecx, dword [esp + 0x1a4]
cmp ecx, ebx
jne 0x481e84
cmp word [esp + 0x10], 9
je 0x481e7d
cmp word [esp + 0x10], dx
jne 0x481fb6
mov eax, edx
jmp 0x481fb6
cmp ecx, 1
jne 0x481ea0
cmp word [esp + 0x10], 9
je 0x481e9c
cmp word [esp + 0x10], dx
je 0x481e9c
push 7
jmp 0x481e26
push 8
jmp 0x481e26
cmp ecx, edi
jne 0x481ec0
push 9
pop eax
cmp word [esp + 0x10], ax
je 0x481eb9
cmp word [esp + 0x10], dx
jne 0x481fb6
push 0xa
jmp 0x481e26
cmp ecx, 3
jne 0x481f0d
cmp word [esp + 0x10], 9
je 0x481edb
cmp word [esp + 0x10], dx
je 0x481edb
push 0xb
jmp 0x481e26
push 0xc
jmp 0x481e26
cmp ecx, 0xa
jne 0x481f0d
cmp dword [esp + 0x1a4], ebx
jne 0x481f0d
cmp word [esp + 0x10], 9
je 0x481f06
cmp word [esp + 0x10], dx
je 0x481f06
push 0xd
jmp 0x481e26
push 0xe
jmp 0x481e26
lea eax, [esp + 0xcc]
push eax
call fcn.00409ac6
mov esi, eax
push str.Unknown_version:_major
push esi
mov dword [esp + 0x2d0], edi
call fcn.0040fa1f
pop ecx
pop ecx
push dword [esp + 0x1a0]
push esi
call fcn.0040d432
push str.__minor
push esi
call fcn.0040fa1f
pop ecx
pop ecx
push dword [esp + 0x1a4]
push esi
call fcn.0040d432
lea eax, [esp + 0x164]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x2c8], 3
cmp dword [esp + 0x178], 8
mov eax, dword [esp + 0x164]
jae 0x481f86
lea eax, [esp + 0x164]
push eax
xor ecx, ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x168]
call fcn.0040b028
lea eax, [esp + 0xcc]
or dword [esp + 0x2c8], 0xffffffff
call fcn.004021a3
or eax, 0xffffffff
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret