Function at 0x482eaf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x482f53
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
or esi, 0xffffffff
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, dword [0x57243c]
mov eax, dword [eax]
call fcn.00409074
mov eax, dword [0x572c7c]
mov eax, dword [eax]
dec eax
je 0x482b83
dec eax
je 0x482c0d
jmp case.default.0x482de8
mov eax, dword [0x57294c]
mov eax, dword [eax]
sub eax, 0xa
jb 0x482b9b
sub eax, 0x50
jb 0x482bc7
je 0x482c06
jmp case.default.0x482de8
mov eax, dword [ebp - 4]
mov edx, 0x482f6c
call fcn.004048b0
je 0x482bb9
mov eax, dword [ebp - 4]
mov edx, 0x482f78
call fcn.004048b0
jne 0x482bc0
mov bl, 2
jmp case.default.0x482de8
mov bl, 1
jmp case.default.0x482de8
cmp dword [0x573c70], 0x4005a
jne 0x482bda
mov bl, 5
jmp case.default.0x482de8
mov eax, dword [ebp - 4]
mov edx, 0x482f84
call fcn.004048b0
je 0x482bf8
mov eax, dword [ebp - 4]
mov edx, 0x482f6c
call fcn.004048b0
jne 0x482bff
mov bl, 4
jmp case.default.0x482de8
mov bl, 3
jmp case.default.0x482de8
mov bl, 5
jmp case.default.0x482de8
mov eax, dword [0x57249c]
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 7
ja case.default.0x482de8
jmp dword [eax*4 + 0x482c27]
mov eax, dword [0x57294c]
mov eax, dword [eax]
dec eax
je 0x482c60
sub eax, 4
je 0x482c67
sub eax, 0x2e
je 0x482c6e
jmp case.default.0x482de8
mov bl, 6
jmp case.default.0x482de8
mov bl, 7
jmp case.default.0x482de8
mov bl, 8
jmp case.default.0x482de8
mov bl, 9
jmp case.default.0x482de8
mov eax, dword [0x57294c]
mov eax, dword [eax]
sub eax, 1
jb 0x482c92
je 0x482c99
dec eax
je 0x482ca0
jmp case.default.0x482de8
mov bl, 0xa
jmp case.default.0x482de8
mov bl, 0xb
jmp case.default.0x482de8
mov dword [ebp - 0xc8], 0x9c
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
call fcn.004832f0
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x482cc9
mov bl, 0xe
jmp case.default.0x482de8
cmp word [ebp - 0x2c], 0
je 0x482ced
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482ced
cmp byte [ebp - 0x2e], 1
jne 0x482ced
mov bl, 0xd
jmp case.default.0x482de8
mov bl, 0xc
jmp case.default.0x482de8
mov eax, dword [0x57294c]
cmp dword [eax], 2
jne 0x482dd5
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x482f90
mov edx, 0x482fa4
mov eax, 0x80000002
call fcn.00487880
lea edx, [ebp - 0xcc]
mov eax, dword [0x57289c]
call fcn.004067cc
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 8]
call fcn.00404aa8
dec eax
je 0x482d5e
lea edx, [ebp - 0xd0]
mov eax, dword [0x57295c]
call fcn.004067cc
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 8]
call fcn.00404aa8
dec eax
jne 0x482d65
mov esi, 3
jmp 0x482ddd
lea edx, [ebp - 0xd4]
mov eax, dword [0x572b68]
call fcn.004067cc
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
call fcn.00404aa8
dec eax
je 0x482da7
lea edx, [ebp - 0xd8]
mov eax, dword [0x572bc8]
call fcn.004067cc
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 8]
call fcn.00404aa8
dec eax
jne 0x482dae
mov esi, 2
jmp 0x482ddd
call fcn.00482fd4
mov edi, eax
cmp edi, 6
jne 0x482dc1
mov esi, 4
jmp 0x482ddd
cmp edi, 0xa
jne 0x482dcb
or esi, 0xffffffff
jmp 0x482ddd
mov esi, dword [0x57294c]
mov esi, dword [esi]
jmp 0x482ddd
mov esi, dword [0x57294c]
mov esi, dword [esi]
mov eax, esi
cmp eax, 4
ja case.default.0x482de8
jmp dword [eax*4 + 0x482def]
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482e2a
cmp byte [ebp - 0x2e], 1
jne 0x482e2a
mov bl, 0xf
jmp case.default.0x482de8
mov bl, 0x10
jmp case.default.0x482de8
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482e58
cmp byte [ebp - 0x2e], 1
jne 0x482e58
mov bl, 0x11
jmp case.default.0x482de8
mov bl, 0x12
jmp case.default.0x482de8
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482e83
cmp byte [ebp - 0x2e], 1
jne 0x482e83
mov bl, 0x13
jmp case.default.0x482de8
mov bl, 0x15
jmp case.default.0x482de8
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482eab
cmp byte [ebp - 0x2e], 1
jne 0x482eab
mov bl, 0x16
jmp case.default.0x482de8
mov bl, 0x18
jmp case.default.0x482de8
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482ed3
cmp byte [ebp - 0x2e], 1
jne 0x482ed3
mov bl, 0x19
jmp case.default.0x482de8
mov bl, 0x1a
jmp case.default.0x482de8
mov edi, dword [0x57249c]
mov edi, dword [edi]
mov esi, dword [0x57294c]
mov esi, dword [esi]
cmp edi, 0xa
jl 0x482f28
sub edi, 0xa
jne 0x482f28
cmp esi, 0xffffffff
jne 0x482efd
call fcn.00483160
mov esi, eax
sub esi, 1
jae 0x482f28
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x482f26
cmp byte [ebp - 0x2e], 1
jne 0x482f26
mov bl, 0x19
jmp 0x482f28
mov bl, 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482f5a
lea eax, [ebp - 0xd8]
mov edx, 4
call fcn.004044b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044b8
ret