Function at 0x524f00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, 0x21c
jb 0x5250fc
mov ecx, dword [esi + 8]
lea edi, [esi + 0x34]
xor ebx, ebx
push 0xc
mov edx, dword [ecx]
push edi
mov dword [ebp - 4], ebx
call dword [edx + 0x34]
cmp dword [edi], 0x44524745
jne 0x5250fc
mov eax, dword [esi + 0x38]
dec eax
cmp eax, 6
ja case.default.0x524f5e
jmp dword [eax*4 + 0x525110]
mov ecx, dword [esi + 8]
push 0x7c
mov eax, dword [ecx]
jmp 0x524f9c
mov ecx, dword [esi + 8]
push 0x80
mov eax, dword [ecx]
jmp 0x524f9c
mov ecx, dword [esi + 8]
push 0x84
mov eax, dword [ecx]
jmp 0x524f9c
mov ecx, dword [esi + 8]
push 0x88
mov eax, dword [ecx]
jmp 0x524f9c
mov ecx, dword [esi + 8]
push 0x1d0
mov eax, dword [ecx]
lea edx, [esi + 0x40]
push edx
call dword [eax + 0x34]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0xc]
sub edi, eax
mov eax, dword [esi + 0x40]
shl eax, 2
cmp eax, edi
ja 0x5250fc
xor edi, edi
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 8]
cmp edi, eax
mov edx, dword [ecx]
jge 0x524fdf
lea eax, [ebp - 0x14]
push 4
push eax
call dword [edx + 0x34]
inc edi
jmp 0x524fc7
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x44]
sub edi, eax
shl ecx, 2
cmp ecx, edi
ja 0x5250fc
xor edi, edi
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 8]
cmp edi, eax
mov edx, dword [ecx]
jge 0x525016
lea eax, [ebp - 0x18]
push 4
push eax
call dword [edx + 0x34]
inc edi
jmp 0x524ffe
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
sub edi, eax
mov eax, dword [esi + 0x94]
lea ecx, [eax + eax*4]
shl ecx, 3
cmp ecx, edi
ja 0x5250fc
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 8]
cmp ebx, eax
mov edx, dword [ecx]
jge 0x5250a3
lea eax, [esi + 0x210]
push 0x28
push eax
call dword [edx + 0x34]
mov eax, dword [esi + 0x234]
test eax, eax
jle 0x5250a0
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
sub edi, eax
mov eax, dword [esi + 0x234]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 2
cmp ecx, edi
ja 0x5250fc
xor edi, edi
cmp edi, dword [esi + 0x234]
jge 0x5250a0
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x7c]
push 0x64
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
inc edi
jmp 0x525087
inc ebx
jmp 0x525039
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
sub edi, eax
mov eax, dword [esi + 0x98]
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, edi
ja 0x5250fc
xor edi, edi
cmp edi, dword [esi + 0x98]
jge 0x5250e0
mov ecx, dword [esi + 8]
lea eax, [esi + 0x238]
push 0x18
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
inc edi
jmp 0x5250c4
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