Function at 0x5c7c50
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x634e38
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
xor esi, esi
call fcn.005af9f0
mov ebx, dword [esp + 0x68]
cmp ebx, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
je 0x5c7f9b
mov edi, dword [esp + 0x74]
cmp edi, esi
je 0x5c7f9b
lea eax, [esp + 0x3c]
xor ebp, ebp
add edi, 8
sub eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], eax
jmp 0x5c7cd4
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
je 0x5c7f4d
lea ecx, [esp + 0x30]
call fcn.006017d0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
push edx
push esi
mov ecx, ebp
and ecx, 1
mov edx, 1
sub edx, ecx
mov ecx, dword [esp + 0x24]
push eax
push edx
call fcn.00601df0
test eax, eax
mov dword [esp + 0x20], eax
je 0x5c7f26
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x78]
cmp eax, 4
mov dword [esp + 0x28], esi
jl 0x5c7d46
push 0xf4240
call dword [fcn.0063a7bc]
imul eax, eax, 0x64
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4 + 0x32]
add ecx, ecx
jmp 0x5c7d7c
cmp eax, 2
jl 0x5c7d52
push 0xf4240
jmp 0x5c7d54
push 0x64
call dword [fcn.0063a7bc]
mov ebx, eax
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov eax, ebx
cdq
idiv ecx
add esp, 4
xor ebx, ebx
test esi, esi
mov dword [esp + 0x18], eax
jle 0x5c7e20
mov ecx, dword [esp + 0x20]
push ebx
call fcn.006017e0
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x1480]
mov ecx, dword [esi + 0x1484]
push edx
push ecx
push eax
mov dword [esp + 0x30], eax
call fcn.0058edb0
add esp, 0xc
test eax, eax
je 0x5c7e11
cmp dword [eax + 0x1a8], 0
jne 0x5c7e11
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
cmp dword [eax + edx*4 + 0x178], ecx
jle 0x5c7e11
xor ecx, ecx
test ebp, ebp
jle 0x5c7e03
lea ecx, [ecx]
mov edx, dword [esp + ecx*4 + 0x3c]
test edx, edx
je 0x5c7df6
mov edx, dword [edx + 0x15c]
cmp edx, dword [eax + 0x15c]
je 0x5c7dff
add ecx, 1
cmp ecx, ebp
jl 0x5c7de0
jmp 0x5c7e03
cmp ecx, ebp
jl 0x5c7e11
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.006017f0
add ebx, 1
cmp ebx, dword [esp + 0x28]
jl 0x5c7d90
jmp 0x5c7e24
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5c7f4b
push eax
call dword [fcn.0063a7bc]
add esp, 4
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
call fcn.006017e0
mov ecx, dword [esi + 0x1480]
mov edx, dword [esi + 0x1484]
push ecx
push edx
push eax
call fcn.0058edb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5c7f4b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x15c]
mov dword [eax + ecx], esi
mov dword [esi + 0x1a8], 1
mov dword [edi - 8], edx
mov eax, dword [esi + 0x164]
mov ebx, dword [esi + 0x160]
sub eax, ebx
add eax, 1
push eax
call dword [fcn.0063a7bc]
add eax, ebx
mov dword [edi - 4], eax
mov eax, dword [esi + 0x16c]
mov ebx, dword [esi + 0x168]
sub eax, ebx
add eax, 1
push eax
call dword [fcn.0063a7bc]
add eax, ebx
mov dword [edi], eax
mov eax, dword [esi + 0x174]
mov ebx, dword [esi + 0x170]
sub eax, ebx
add eax, 1
push eax
call dword [fcn.0063a7bc]
mov ecx, dword [edi - 4]
mov edx, dword [edi - 8]
add esp, 0xc
add eax, ebx
push eax
mov dword [edi + 4], eax
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
add esi, 4
push esi
push eax
lea ecx, [esp + 0x48]
call fcn.006017e0
push eax
push ebp
push 0x650fd0
call dword [fcn.0063a538]
add dword [esp + 0x34], 4
add ebp, 1
add esp, 0x20
add edi, 0x10
xor esi, esi
cmp ebp, 6
jl 0x5c7cd0
jmp 0x5c7f79
mov ecx, dword [ebx + ebp*4]
mov edx, dword [esp + 0x64]
push ecx
push esi
mov eax, ebp
and eax, 1
push edx
mov ecx, 1
sub ecx, eax
push ecx
push 0x650f70
call dword [fcn.0063a538]
add esp, 0x14
xor esi, esi
cmp ebp, 6
jge 0x5c7f79
mov eax, dword [esp + 0x74]
mov edx, ebp
shl edx, 4
mov ecx, 6
lea eax, [edx + eax + 8]
sub ecx, ebp
mov dword [eax - 8], esi
mov dword [eax - 4], esi
mov dword [eax], esi
mov dword [eax + 4], esi
add eax, 0x10
sub ecx, 1
jne 0x5c7f66
xor eax, eax
jmp 0x5c7f80
mov ecx, dword [esp + eax*4 + 0x3c]
cmp ecx, esi
je 0x5c7f96
add eax, 1
cmp eax, 6
mov dword [ecx + 0x1a8], esi
jl 0x5c7f80
mov esi, 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call fcn.006017a0
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18