Function at 0x41c680
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47649d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x49e044]
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 - 0x54], ecx
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
test dword [ebx + 0x14], 0x4000
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x58], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
je 0x41c895
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.0041aa80
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x34]
mov ebx, eax
test ecx, ecx
je 0x41c70c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41c70c
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
push 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.00417100
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.00414820
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41c78b
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c781
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c96c
push edx
push ecx
call fcn.00452f08
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
cmp ecx, edx
jae 0x41c7ae
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
cmp edx, 0x10
jb 0x41c7a6
mov eax, dword [ebp - 0x50]
mov word [eax + ecx], 0
jmp 0x41c7c0
push 0
mov byte [ebp - 0x54], 0
push dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0041aff0
mov eax, dword [ebx]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x50]
call fcn.00414820
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41c813
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c971
push edx
push ecx
call fcn.00452f08
add esp, 8
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
jb 0x41c81f
mov eax, dword [ebp - 0x50]
push 1
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041ff50
add esp, 0x14
sub eax, 0
je 0x41c84e
sub eax, 1
je 0x41c849
mov byte [esi], 0
mov dword [edi], 2
jmp 0x41c851
mov byte [esi], 1
jmp 0x41c851
mov byte [esi], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41c929
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c886
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c976
push edx
push ecx
call fcn.00452f08
add esp, 8
jmp 0x41c929
call dword [eax + 4]
lea eax, [ebp - 0x38]
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 - 0x54]
call fcn.0041d810
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov ebx, eax
test ecx, ecx
je 0x41c8de
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41c8de
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x41c8e9
mov byte [esi], 0
jmp 0x41c923
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0043fbe4
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x54], eax
je 0x41c920
cmp dword [ebp - 0x34], 0
jne 0x41c920
test ecx, ecx
setne al
mov byte [esi], al
test ecx, ecx
je 0x41c929
cmp ecx, 1
je 0x41c929
jmp 0x41c923
mov byte [esi], 1
mov dword [edi], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041feb0
add esp, 8
test al, al
je 0x41c940
or dword [edi], 1
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
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.004528ff
mov esp, ebp
pop ebp
ret 0x20
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
int3