Function at 0x607e50
Capabilities:
Get number of processors
Link many functions at runtime

Disassembly:
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x604]
jle 0x607ee0
push 0xffffffffffffffff
push 0x10086b68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ab470]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x18], edi
push 0x100112c0
call 0x635a84
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
cmp dword [ebp - 0x18], 4
je 0x607ee3
mov dword [ebp - 4], 0xffffffff
push esi
call 0x635a84
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov dword [ebp - 0x2d8], 0x63
mov dword [ebp - 0x124], 0x6a
mov ecx, dword [ebp - 0x2d8]
cmp ecx, dword [ebp - 0x124]
jle 0x608207
std
invalid
push 0xffffffffffffffff
push 0x47d5e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a6af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [0x483494]
cmp eax, 0xffffffff
je 0x607f52
push eax
push 0
mov dword [edi + 0x1ac], eax
mov eax, dword [edi + 0x1b8]
push 0x406
push eax
call esi
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0x1b8]
push 0
push ebx
push 0x402
push ecx
call esi
cmp dword [edi + 0x1ac], 0x400
mov edx, dword [0x4a6930]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a6930
jg 0x608026
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
mov edx, dword [0x4a6930]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a6930
call eax
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 3
push 0
push 0xc5
call fcn.005e5093
add esp, 8
test eax, eax
je 0x607fd1
push 0xc5
push eax
lea ecx, [ebp + 0xc]
call fcn.005e5433
invalid
mov esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x1ac]
push ecx
push ebx
lea edx, [ebp + 8]
push esi
push edx
call fcn.005e5633
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1b4]
add esp, 0x10
push ebx
push eax
call dword [0x483490]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x608017
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
jmp 0x6081dd
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 7
mov edx, dword [0x4a6930]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a6930
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 9
mov eax, ebx
cdq
and edx, 0x3ff
lea esi, [edx + eax]
mov ecx, ebx
sar esi, 0xa
and ecx, 0x800003ff
jns 0x608070
dec ecx
or ecx, 0xfffffc00
inc ecx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 9
jle 0x60808b
mov eax, 9
push eax
push esi
lea ecx, [ebp + 8]
push 0x4862c4
push ecx
call fcn.005e5633
mov ecx, dword [edi + 0x1ac]
mov eax, ecx
cdq
and edx, 0x3ff
lea esi, [edx + eax]
add esp, 0x10
sar esi, 0xa
and ecx, 0x800003ff
jns 0x6080c3
dec ecx
or ecx, 0xfffffc00
inc ecx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 9
jle 0x6080de
mov eax, 9
push eax
push esi
lea edx, [ebp + 0xc]
push 0x4862c4
push edx
call fcn.005e5633
mov eax, dword [0x4a6930]
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x4a6930
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x4a6930]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a6930
call edx
lea esi, [eax + 0x10]
jo 0x60812c
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xd
push 0
push 0xc6
call fcn.005e5093
add esp, 8
test eax, eax
je 0x608147
push 0xc6
push eax
lea ecx, [ebp - 0x10]
call fcn.005e5433
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.005e5633
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi + 0x1b4]
add esp, 0x10
push ebx
push eax
call dword [0x483490]
mov byte [ebp - 4], 0xb
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60818d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6081ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax