Function at 0x451180
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ffb8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5f62dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
test dword [ebx + 0x14], 0x4000
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x68], ecx
mov eax, dword [ecx]
je 0x45136a
call dword [eax + 4]
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
call fcn.00407ec8
mov ecx, dword [ebp - 0x68]
add esp, 4
mov ebx, eax
test ecx, ecx
je 0x451205
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x451205
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 1
mov word [ebp - 0x60], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, ebx
mov dword [ebp - 4], 1
call dword [eax + 0x18]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
mov byte [ebp - 4], 2
call fcn.004074eb
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x451282
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451278
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451441
push edx
push ecx
call fcn.004045c0
add esp, 8
push 0
lea ecx, [ebp - 0x60]
call fcn.004029c8
mov eax, dword [ebx]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
mov byte [ebp - 4], 3
call fcn.004074eb
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4512ea
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4512e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451446
push edx
push ecx
call fcn.004045c0
add esp, 8
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov ebx, dword [ebp - 0x60]
cmovae eax, ebx
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00406172
add esp, 0x10
sub eax, 0
je 0x451324
sub eax, 1
je 0x45131f
mov byte [edi], 0
mov dword [esi], 2
jmp 0x451327
mov byte [edi], 1
jmp 0x451327
mov byte [edi], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4513fe
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x45135b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45144b
push ecx
push ebx
call fcn.004045c0
add esp, 8
jmp 0x4513fe
call dword [eax + 4]
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 4
push eax
push dword [ebx + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x64]
call fcn.004064f1
mov ecx, dword [ebp - 0x68]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test ecx, ecx
je 0x4513b3
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4513b3
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x4513be
mov byte [edi], 0
jmp 0x4513f8
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406c53
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x64], eax
je 0x4513f5
cmp dword [ebp - 0x68], 0
jne 0x4513f5
test ecx, ecx
setne al
mov byte [edi], al
test ecx, ecx
je 0x4513fe
cmp ecx, 1
je 0x4513fe
jmp 0x4513f8
mov byte [edi], 1
mov dword [esi], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004013c5
add esp, 8
test al, al
je 0x451415
or dword [esi], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403e8b
mov esp, ebp
pop ebp
ret 0x20
call fcn.00406866
call fcn.00406866
call fcn.00406866
int3