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

Disassembly:
push 0xffffffffffffffff
push 0x59c9c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
mov edx, dword [esi]
or dword [edi + 8], 1
mov eax, dword [edi + 0x10]
lea ecx, [edi + 0x10]
cmp eax, dword [0x5f877c]
jne 0x51bc69
push edx
call fcn.0046b9a0
jmp 0x51bc75
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.00404c50
mov eax, dword [esi + 0x18]
xor ebp, ebp
test eax, eax
jle 0x51bce1
add edi, 0x14
xor ebx, ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51bca2
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x51bc9d
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [edi + 4], ecx
jmp 0x51bccd
cmp edx, dword [edi + 8]
jne 0x51bcae
mov eax, dword [edi + 8]
inc eax
push eax
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
inc dword [eax]
mov ecx, dword [edi]
push ecx
push 0
call fcn.005153d0
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
add esp, 8
mov dword [ecx + edx*4 + 4], eax
inc dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push eax
add ecx, ebx
call fcn.00517bc0
inc ebp
add ebx, 0x58
cmp ebp, dword [esi + 0x18]
jl 0x51bc83
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x51bdef
mov ebp, dword [esp + 0x30]
add ebp, 0x64
mov dword [esp + 0x14], 0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x51bd24
mov eax, dword [ebp + 4]
mov edx, dword [ecx]
cmp eax, edx
jge 0x51bd1f
mov ecx, dword [ecx + eax*4 + 4]
inc eax
mov dword [ebp + 4], eax
mov edi, ecx
jmp 0x51bd52
cmp edx, dword [ebp + 8]
jne 0x51bd30
mov edx, dword [ebp + 8]
inc edx
push edx
mov ecx, ebp
call fcn.005067a0
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov eax, dword [ebp]
push eax
push 0
call fcn.005153f0
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0xc]
add esp, 8
mov dword [edx + ecx*4 + 4], eax
inc dword [ebp + 4]
mov edi, eax
mov ebx, dword [esi + 0x24]
add ebx, dword [esp + 0x14]
lea ecx, [edi + 0x10]
mov edx, dword [ebx]
or dword [edi + 8], 1
mov eax, dword [ecx]
cmp eax, dword [0x5f877c]
jne 0x51bd74
push edx
call fcn.0046b9a0
jmp 0x51bd80
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.00404c50
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00550c90
cmp dword [esp + 0x1c], eax
je 0x51bdd8
mov ebx, dword [ebx + 0x18]
or dword [edi + 8], 2
cmp dword [edi + 0x14], 0
jne 0x51bdcf
push 0x44
call fcn.0056ab7b
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x51bdc2
mov ecx, eax
call fcn.00553ea0
jmp 0x51bdc4
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [edi + 0x14], eax
mov ecx, dword [edi + 0x14]
push ebx
call fcn.0055fee0
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x1c
inc eax
cmp eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
jl 0x51bd03
xor ebp, ebp
cmp dword [esi + 0x28], ebp
jle 0x51be5d
mov edi, dword [esp + 0x30]
add edi, 0x34
xor ebx, ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51be1e
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x51be19
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [edi + 4], ecx
jmp 0x51be49
cmp edx, dword [edi + 8]
jne 0x51be2a
mov ecx, dword [edi + 8]
inc ecx
push ecx
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
inc dword [eax]
mov edx, dword [edi]
push edx
push 0
call fcn.005153a0
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
add esp, 8
mov dword [edx + ecx*4 + 4], eax
inc dword [edi + 4]
mov ecx, dword [esi + 0x2c]
push eax
add ecx, ebx
call fcn.0051bc20
inc ebp
add ebx, 0x58
cmp ebp, dword [esi + 0x28]
jl 0x51bdff
xor ebp, ebp
cmp dword [esi + 0x30], ebp
jle 0x51bece
mov edi, dword [esp + 0x30]
add edi, 0x44
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51be8f
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x51be8a
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [edi + 4], ecx
jmp 0x51beba
cmp edx, dword [edi + 8]
jne 0x51be9b
mov eax, dword [edi + 8]
inc eax
push eax
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
inc dword [eax]
mov ecx, dword [edi]
push ecx
push 0
call fcn.005153b0
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
add esp, 8
mov dword [ecx + edx*4 + 4], eax
inc dword [edi + 4]
mov ecx, dword [esi + 0x34]
push eax
add ecx, ebx
call fcn.0051a750
inc ebp
add ebx, 0x20
cmp ebp, dword [esi + 0x30]
jl 0x51be70
xor ebx, ebx
cmp dword [esi + 0x38], ebx
jle 0x51bf50
mov edi, dword [esp + 0x30]
add edi, 0x54
lea ebp, [ebx + 1]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51befe
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x51bef9
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [edi + 4], ecx
jmp 0x51bf2a
cmp edx, dword [edi + 8]
jne 0x51bf0b
mov edx, dword [edi + 8]
add edx, ebp
push edx
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
add dword [eax], ebp
mov eax, dword [edi]
push eax
push 0
call fcn.005153e0
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
add esp, 8
mov dword [edx + ecx*4 + 4], eax
add dword [edi + 4], ebp
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + ebx*8]
or dword [eax + 8], ebp
mov ecx, dword [eax + 8]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x3c]
mov edx, dword [edx + ebx*8 + 4]
or ecx, 2
add ebx, ebp
mov dword [eax + 8], ecx
mov dword [eax + 0x14], edx
cmp ebx, dword [esi + 0x38]
jl 0x51bedf
xor ebp, ebp
cmp dword [esi + 0x40], ebp
jle 0x51bfbe
mov edi, dword [esp + 0x30]
add edi, 0x24
xor ebx, ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51bf7f
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x51bf7a
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [edi + 4], ecx
jmp 0x51bfaa
cmp edx, dword [edi + 8]
jne 0x51bf8b
mov eax, dword [edi + 8]
inc eax
push eax
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
inc dword [eax]
mov ecx, dword [edi]
push ecx
push 0
call fcn.005153d0
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
add esp, 8
mov dword [ecx + edx*4 + 4], eax
inc dword [edi + 4]
mov ecx, dword [esi + 0x44]
push eax
add ecx, ebx
call fcn.00517bc0
inc ebp
add ebx, 0x58
cmp ebp, dword [esi + 0x40]
jl 0x51bf60
xor ebx, ebx
cmp dword [esi + 0x48], ebx
lea ebp, [ebx + 1]
jle 0x51c040
mov edi, dword [esp + 0x30]
add edi, 0x78
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51bfee
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x51bfe9
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [edi + 4], ecx
jmp 0x51c01a
cmp edx, dword [edi + 8]
jne 0x51bffb
mov edx, dword [edi + 8]
add edx, ebp
push edx
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
add dword [eax], ebp
mov eax, dword [edi]
push eax
push 0
call fcn.00515400
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
add esp, 8
mov dword [edx + ecx*4 + 4], eax
add dword [edi + 4], ebp
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + ebx*8]
or dword [eax + 8], ebp
mov ecx, dword [eax + 8]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x4c]
mov edx, dword [edx + ebx*8 + 4]
or ecx, 2
add ebx, ebp
mov dword [eax + 8], ecx
mov dword [eax + 0x14], edx
cmp ebx, dword [esi + 0x48]
jl 0x51bfcf
xor ebx, ebx
cmp dword [esi + 0x50], ebx
jle 0x51c0b6
mov edi, dword [esp + 0x30]
add edi, 0x88
mov eax, dword [esi + 0x54]
mov ebp, dword [eax + ebx*4]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51c076
mov edx, dword [edi + 4]
mov ecx, dword [eax]
cmp edx, ecx
jge 0x51c071
mov eax, dword [eax + edx*4 + 4]
inc edx
mov dword [edi + 4], edx
jmp 0x51c09f
cmp ecx, dword [edi + 8]
jne 0x51c082
mov ecx, dword [edi + 8]
inc ecx
push ecx
mov ecx, edi
call fcn.005067a0
mov eax, dword [edi + 0xc]
inc dword [eax]
mov eax, dword [edi]
push eax
call fcn.004e6370
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
add esp, 4
mov dword [ecx + edx*4 + 4], eax
inc dword [edi + 4]
push 0xffffffffffffffff
push 0
mov ecx, eax
push ebp
call fcn.00404c50
inc ebx
cmp ebx, dword [esi + 0x50]
jl 0x51c051
mov ebp, 1
mov edi, dword [esi + 0x10]
call fcn.00550c30
cmp edi, eax
je 0x51c10b
mov edi, dword [esp + 0x30]
mov esi, dword [esi + 0x10]
or dword [edi + 8], 0x80
cmp dword [edi + 0x74], 0
jne 0x51c102
push 0x48
call fcn.0056ab7b
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
test eax, eax
je 0x51c0f5
mov ecx, eax
call fcn.005536b0
jmp 0x51c0f7
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [edi + 0x74], eax
mov ecx, dword [edi + 0x74]
push esi
call fcn.0055fc90
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4