Function at 0x4b2910
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x561b80
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
push 0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x38]
push ecx
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x60]
mov edi, dword [ecx + 4]
test edi, edi
je 0x4b2980
cmp dword [edi + 0x14], 0
je 0x4b2980
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x2c]
lea ebx, [eax + edx]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
jmp 0x4b2992
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov ebx, ecx
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, ebp
and eax, 0x200
mov dword [esp + 0x40], eax
je 0x4b29b8
mov eax, dword [ecx + 8]
sub eax, ebx
lea eax, [eax + edx - 1]
mov dword [esp + 0x64], eax
jmp 0x4b29d8
test ebp, 0x100
je 0x4b29d4
mov eax, dword [ecx + 8]
sub eax, ebx
add eax, edx
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x64], eax
jmp 0x4b29d8
mov dword [esp + 0x64], edx
test ebp, 0x400
je 0x4b29ed
mov ebp, dword [ecx + 0xc]
add ebp, dword [ecx + 4]
sub ebp, dword [esp + 0x24]
dec ebp
jmp 0x4b2a0f
test ebp, 0x800
je 0x4b2a0c
mov eax, dword [ecx + 0xc]
sub eax, dword [esp + 0x24]
mov edx, dword [ecx + 4]
add eax, edx
add eax, edx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
jmp 0x4b2a0f
mov ebp, dword [ecx + 4]
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebx
cmp edi, ecx
je 0x4b2a67
cmp dword [edi + 0x14], ecx
je 0x4b2a67
mov edx, dword [esi]
mov edi, dword [esp + 0x60]
push 1
push ebp
push eax
mov eax, dword [edx + 0x104]
push edi
mov ecx, esi
call eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4b2a49
mov eax, dword [eax + 8]
add eax, 4
add dword [esp + 0x64], eax
sub ebx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
cdq
sub eax, edx
sar eax, 1
add ebp, eax
xor ecx, ecx
mov edx, dword [0x5e9844]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x5c]
mov ebx, dword [eax]
mov dword [esp + 0x54], ecx
jmp 0x4b2a90
movzx eax, word [ebx]
cmp ax, 0xa
je 0x4b2b21
test ax, ax
je 0x4b2b21
mov edx, dword [esp + 0x5c]
mov ecx, ebx
sub ecx, dword [edx]
sar ecx, 1
cmp ecx, dword [esp + 0x6c]
jne 0x4b2b0d
mov eax, dword [esi]
mov eax, dword [eax + 0x140]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call eax
movzx ecx, word [ebx]
push ecx
push 1
lea ecx, [esp + 0x1c]
call fcn.0045fc10
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
lea ecx, [eax + ebp]
mov dword [esp + 0x60], ecx
add ebx, 2
jmp 0x4b2a90
push eax
push 1
lea ecx, [esp + 0x1c]
call fcn.0045fc10
add ebx, 2
jmp 0x4b2a90
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], 0
mov edi, dword [esp + 0x64]
je 0x4b2b8e
test dword [esp + 0x68], 0x300
je 0x4b2b7b
mov eax, dword [esi]
mov eax, dword [eax + 0x140]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x40], 0
je 0x4b2b68
sub edi, dword [esp + 0x30]
add edi, dword [esp + 0x18]
jmp 0x4b2b7b
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x64]
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
add ebp, dword [esp + 0x34]
cmp ebp, dword [esp + 0x60]
jne 0x4b2ba0
add dword [esp + 0x20], edi
add dword [esp + 0x1c], edi
cmp word [ebx], 0
je 0x4b2bbf
mov eax, dword [0x576324]
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.00460770
add ebx, 2
jmp 0x4b2a90
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x20], ecx
je 0x4b2c1d
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push 0x64
push 0
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x4c]
call fcn.004b4830
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
mov byte [esp + 0x58], 1
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 0
call fcn.00493df0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0xe0]
dec eax
push eax
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b2c3e
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
mov dword [eax], edi
sub ebp, ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0xc0]
push ecx
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
mov edx, dword [edx + 0xc0]
add eax, ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
add eax, ecx
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x54], 0xffffffff
cmp eax, 0xffffffff
je 0x4b2c99
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4b2c99
call fcn.0045ea90
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x18