Function at 0x49a150
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6a1918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov al, byte [esp + 5]
push ebx
push ebp
push esi
mov esi, ecx
mov byte [esp + 0xe], al
mov cl, byte [esp + 0x11]
lea edx, [esp + 0x12]
push edi
mov byte [esp + 0x13], cl
lea eax, [esp + 0x12]
push edx
lea ecx, [esp + 0x17]
push eax
push ecx
push 0x64
lea ecx, [esp + 0x58]
call fcn.00659dd0
mov dl, byte [esp + 0x16]
mov al, byte [esp + 0x16]
mov byte [esp + 0x14], dl
lea ecx, [esp + 0x17]
mov byte [esp + 0x15], al
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x19]
push edx
xor ebx, ebx
push eax
push 0x64
lea ecx, [esp + 0x68]
mov dword [esp + 0x94], ebx
call fcn.00659dd0
lea ecx, [esp + 0x68]
call fcn.00406c70
lea ecx, [esp + 0x6c]
call fcn.00406c70
lea ecx, [esp + 0x70]
call fcn.00406c70
mov eax, dword [esi + 0x68]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x84], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
jle 0x49a2a2
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x68]
push edx
mov eax, dword [ecx + edi*4]
lea ecx, [esi + 0x40]
mov eax, dword [eax]
push eax
call fcn.004ca790
cmp eax, ebx
je 0x49a252
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x17]
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], ebx
call fcn.0049a130
push eax
lea ecx, [esp + 0x60]
call fcn.00538970
add eax, 8
mov dword [eax], ebx
jmp 0x49a296
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x20], ebx
mov ecx, dword [edx + edi*4]
lea eax, [edx + edi*4]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x15]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
lea edx, [esp + 0x20]
push ecx
mov eax, dword [eax]
push edx
lea ecx, [esp + 0x48]
mov ebp, dword [eax + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.0049a130
push eax
lea ecx, [esp + 0x50]
call fcn.00538970
add eax, 8
mov dword [eax], ebp
mov eax, dword [esi + 0x68]
inc edi
cmp edi, eax
jl 0x49a203
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
push ecx
push edx
call fcn.0041e550
add esp, 8
lea ecx, [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x49a373
mov eax, dword [eax + 4]
lea ecx, [esi + 0x40]
push eax
push esi
call fcn.004c9cd0
mov ecx, dword [esp + 0x30]
mov ebp, eax
lea eax, [ecx + 4]
lea ecx, [esp + 0x48]
push eax
call fcn.00486a90
cmp eax, ebx
jne 0x49a313
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x17]
push ecx
lea ecx, [esp + 0x4c]
mov eax, dword [edx + 4]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
call fcn.00538970
mov dword [eax + 8], ebp
jmp 0x49a35e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
lea eax, [esp + 0x15]
mov dword [esp + 0x18], ecx
mov edx, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], edx
call fcn.00538970
mov edi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x50]
add edi, 8
call fcn.00538970
mov ecx, dword [eax + 8]
add ecx, ebp
mov dword [edi], ecx
lea ecx, [esp + 0x30]
call fcn.00495d50
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x49a2c8
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push 0x51f270
push edx
push eax
call fcn.005813d0
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x60], ebx
call fcn.00499c70
mov ecx, esi
mov edi, eax
call fcn.00499bf0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ecx
push edx
add edi, eax
call fcn.0041e550
add esp, 8
lea ecx, [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x49a3d8
mov edx, dword [eax + 8]
lea ecx, [esp + 0x30]
sub edi, edx
call fcn.00495d50
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x49a3c2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push 0x51f270
push eax
push ecx
call fcn.005813d0
mov edx, dword [esp + 0x7c]
mov esi, dword [0x6c74ac]
mov dword [esp + 0x5c], ebx
add esp, 0xc
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x49a415
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49a415
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x49a430
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49a430
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x68]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x49a44c
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49a44c
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push 0x51f270
push edx
push eax
mov byte [esp + 0x90], bl
call fcn.005813d0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], ebx
push ecx
call esi
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push 0x51f270
push edx
push eax
mov dword [esp + 0xa0], 0xffffffff
call fcn.005813d0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], ebx
push ecx
call esi
mov ecx, dword [esp + 0x9c]
add esp, 0x20
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret