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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590870
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 0x530e84
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 0x530e84
mov eax, dword [edi + 0x44]
dec eax
cmp eax, 5
ja case.default.0x530ce2
jmp dword [eax*4 + 0x530e98]
mov eax, dword [esi]
lea ecx, [edi + 0x4c]
push 0x7c
push ecx
mov ecx, esi
call dword [eax + 0x34]
jmp case.default.0x530ce2
mov edx, dword [esi]
push 0x80
jmp 0x530d1a
mov edx, dword [esi]
push 0x84
jmp 0x530d1a
mov edx, dword [esi]
push 0x88
jmp 0x530d1a
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 0x530e84
xor ebx, ebx
mov eax, dword [edi + 0x4c]
mov edx, dword [esi]
cmp ebx, eax
jge 0x530d5c
lea eax, [ebp - 0x18]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x530d45
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 0x530e84
xor ebx, ebx
mov eax, dword [edi + 0x50]
mov edx, dword [esi]
cmp ebx, eax
jge 0x530d93
lea eax, [ebp - 0x1c]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x530d7c
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 0x530e84
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0xa0]
cmp edx, eax
jge 0x530e29
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 0x530e24
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 0x530e84
xor ebx, ebx
cmp ebx, dword [edi + 0x240]
jge 0x530e24
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push 0x64
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x530e0c
inc dword [ebp - 0x14]
jmp 0x530dbe
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 0x530e84
xor ebx, ebx
cmp ebx, dword [edi + 0xa4]
jge 0x530e68
mov edx, dword [esi]
lea eax, [edi + 0x244]
push 0x18
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x530e4d
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