Function at 0x41d7a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44aeb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [0x454050]
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], eax
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
mov ecx, 0x64
cmp edx, 1
mov byte [esp + 0x54], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
jg 0x41d807
cmp dword [eax - 4], ecx
jge 0x41d866
mov edi, dword [eax - 8]
cmp edi, ecx
mov dword [esp + 0x18], edi
jle 0x41d816
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401820
test eax, eax
je 0x41d866
mov edx, dword [esp + 0x14]
lea ecx, [edi + edi + 2]
lea eax, [edx + edx + 2]
cmp eax, ecx
jb 0x41d855
mov edi, dword [esp + 0x10]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push esi
mov dword [eax - 8], edi
call fcn.004018c0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x3c]
push 0x64
push eax
push ecx
call dword [0x44c468]
lea ecx, [esp + 0x10]
call fcn.0040a9c0
mov edx, dword [esp + 0x10]
push edx
call dword [0x44c2c4]
mov ecx, dword [esp + 0x10]
push 1
push ebp
push ebp
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x1c]
push ebp
lea esi, [ebx + 0x1c]
mov word [edx + eax*2], bp
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x34]
lea edx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x70]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.00422740
mov edx, dword [ebx + 0x3c]
add esp, 0x24
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [0x44c434]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub eax, ecx
sub eax, edx
mov edi, dword [esp + 0x30]
cdq
sub eax, edx
mov dword [esp + 0x3c], ebp
sar eax, 1
add eax, ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
sub eax, edi
mov edi, dword [ebx + 0x24]
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], eax
call dword [0x44c3cc]
test eax, eax
jne 0x41d918
mov edi, 0xc0c0c0
cmp dword [ebx + 0x60], ebp
je 0x41d92c
push 1
lea edx, [esp + 0x40]
push 1
push edx
call dword [0x44c3c8]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
push 0xff
push 1
push eax
mov eax, dword [ebx + 0x20]
push ecx
push ebp
lea edx, [esp + 0x50]
push edi
push edx
mov edx, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
push esi
push ecx
push edx
call fcn.004224e0
mov eax, dword [esp + 0x3c]
mov edx, dword [0x454054]
add esp, 0x2c
lea ecx, [eax - 0xc]
pop edi
pop esi
pop ebp
cmp ecx, edx
pop ebx
je 0x41d98c
add eax, 0xfffffff4
push eax
call dword [0x44c268]
test eax, eax
jg 0x41d98c
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042a5ee
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4