Function at 0x481af0
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
call dword [eax + 0x30]
cmp eax, 0x21c
jb 0x481cf4
mov edx, dword [esi]
lea ebx, [edi + 0x40]
push 0xc
push ebx
mov ecx, esi
mov dword [ebp - 4], 0
call dword [edx + 0x34]
cmp dword [ebx], 0x44524745
jne 0x481cf4
mov eax, dword [edi + 0x44]
dec eax
cmp eax, 5
ja case.default.0x481b52
jmp dword [eax*4 + 0x481d08]
mov eax, dword [esi]
lea ecx, [edi + 0x4c]
push 0x7c
push ecx
mov ecx, esi
call dword [eax + 0x34]
jmp case.default.0x481b52
mov edx, dword [esi]
push 0x80
jmp 0x481b8a
mov edx, dword [esi]
push 0x84
jmp 0x481b8a
mov edx, dword [esi]
push 0x88
jmp 0x481b8a
mov edx, dword [esi]
push 0x1d0
lea eax, [edi + 0x4c]
mov ecx, esi
push eax
call dword [edx + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [edi + 0x4c]
sub ebx, eax
shl ecx, 2
cmp ecx, ebx
ja 0x481cf4
xor ebx, ebx
mov eax, dword [edi + 0x4c]
mov edx, dword [esi]
cmp ebx, eax
jge 0x481bcc
lea eax, [ebp - 0x18]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x481bb5
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [edi + 0x50]
sub ebx, eax
shl ecx, 2
cmp ecx, ebx
ja 0x481cf4
xor ebx, ebx
mov eax, dword [edi + 0x50]
mov edx, dword [esi]
cmp ebx, eax
jge 0x481c03
lea eax, [ebp - 0x1c]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x481bec
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0xa0]
lea ecx, [eax + eax*4]
shl ecx, 3
cmp ecx, ebx
ja 0x481cf4
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0xa0]
cmp edx, eax
jge 0x481c99
mov eax, dword [esi]
lea ecx, [edi + 0x21c]
push 0x28
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [edi + 0x240]
test eax, eax
jle 0x481c94
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0x240]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 2
cmp ecx, ebx
ja 0x481cf4
xor ebx, ebx
cmp ebx, dword [edi + 0x240]
jge 0x481c94
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push 0x64
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x481c7c
inc dword [ebp - 0x14]
jmp 0x481c2e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0xa4]
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, ebx
ja 0x481cf4
xor ebx, ebx
cmp ebx, dword [edi + 0xa4]
jge 0x481cd8
mov edx, dword [esi]
lea eax, [edi + 0x244]
push 0x18
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x481cbd
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret