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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6d50
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 0x46d144
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 0x46d144
mov eax, dword [edi + 0x44]
dec eax
cmp eax, 5
ja case.default.0x46cfa2
jmp dword [eax*4 + 0x46d158]
mov eax, dword [esi]
lea ecx, [edi + 0x4c]
push 0x7c
push ecx
mov ecx, esi
call dword [eax + 0x34]
jmp case.default.0x46cfa2
mov edx, dword [esi]
push 0x80
jmp 0x46cfda
mov edx, dword [esi]
push 0x84
jmp 0x46cfda
mov edx, dword [esi]
push 0x88
jmp 0x46cfda
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 0x46d144
xor ebx, ebx
mov eax, dword [edi + 0x4c]
mov edx, dword [esi]
cmp ebx, eax
jge 0x46d01c
lea eax, [ebp - 0x18]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x46d005
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 0x46d144
xor ebx, ebx
mov eax, dword [edi + 0x50]
mov edx, dword [esi]
cmp ebx, eax
jge 0x46d053
lea eax, [ebp - 0x1c]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x46d03c
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 0x46d144
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0xa0]
cmp edx, eax
jge 0x46d0e9
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 0x46d0e4
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 0x46d144
xor ebx, ebx
cmp ebx, dword [edi + 0x240]
jge 0x46d0e4
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push 0x64
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x46d0cc
inc dword [ebp - 0x14]
jmp 0x46d07e
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 0x46d144
xor ebx, ebx
cmp ebx, dword [edi + 0xa4]
jge 0x46d128
mov edx, dword [esi]
lea eax, [edi + 0x244]
push 0x18
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x46d10d
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