Function at 0x422f50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45bc36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x45fc7c
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0xa
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
cmp edi, esi
mov dword [esp + 0xb0], esi
je 0x423051
mov eax, dword [ebp + 0x2c]
push eax
push 1
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x422fef
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 1
call fcn.00424410
xor eax, eax
jmp 0x4237db
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x423021
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 2
call fcn.00424410
xor eax, eax
jmp 0x4237db
push esi
push 3
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x423051
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 3
call fcn.00424410
xor eax, eax
jmp 0x4237db
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x471e00]
mov esi, ecx
mov dword [esp + 0x44], ecx
neg esi
sbb esi, esi
mov dword [esp + 0x10], eax
test esi, esi
mov byte [esp + 0xb0], 4
je 0x4233a1
mov edi, dword [esp + 0xb8]
xor ebx, ebx
jmp 0x423099
mov edi, dword [esp + 0xb8]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
test edi, edi
je 0x4230ba
mov eax, ebx
cdq
idiv ecx
mov ecx, dword [esp + 0xbc]
push eax
push 3
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x423305
cmp esi, 0xffffffff
jne 0x4230d9
mov edx, dword [ebp + 0xc]
xor eax, eax
test edx, edx
jbe 0x4230d9
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
test esi, esi
jne 0x4230d9
inc eax
add ecx, 4
cmp eax, edx
jb 0x4230cb
mov edx, dword [esi]
test edx, edx
mov dword [esp + 0x3c], edx
jne 0x423106
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0xc]
inc eax
cmp eax, edi
jae 0x423106
mov edx, dword [ebp + 8]
lea ecx, [edx + eax*4]
mov edx, dword [ecx]
test edx, edx
mov dword [esp + 0x3c], edx
jne 0x423106
inc eax
add ecx, 4
cmp eax, edi
jb 0x4230f4
lea eax, [esi + 8]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x44], edx
call fcn.004531ff
mov edi, dword [esi + 0xc]
add ebx, 0x64
test edi, edi
mov dword [esp + 0x38], ebx
jne 0x4231ac
mov eax, dword [ebp + 8]
test eax, eax
je 0x423178
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044e87e
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x423178
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.004381fc
add esp, 8
test eax, eax
je 0x42316b
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x42314c
jmp 0x423178
mov edx, dword [esi]
push esi
lea ecx, [ebp + 4]
mov dword [edi], edx
call fcn.00424280
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x423253
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0xc0]
push 0
push eax
call dword [esp + 0xc4]
add esp, 0xc
test eax, eax
jne 0x423339
jmp 0x423253
mov eax, dword [edi + 0xc]
lea esi, [edi + 8]
test eax, eax
mov dword [esp + 0x14], eax
je 0x423200
add ebp, 0x20
lea ecx, [esp + 0x14]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.00423d60
push eax
mov ecx, ebp
mov byte [esp + 0xb4], 7
call fcn.0042fd60
test eax, eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 4
sete bl
call fcn.0041f010
test bl, bl
jne 0x423276
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4231bd
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x423253
lea edx, [esp + 0x14]
lea eax, [esp + 0x88]
push edx
push eax
mov ecx, esi
call fcn.00423d60
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 9
call fcn.00424310
lea ecx, [esp + 0x88]
mov dword [eax], 0
mov byte [esp + 0xb0], 4
call fcn.0041f010
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42320b
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x423082
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
jmp 0x4233a1
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
test eax, eax
je 0x4232d1
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044e87e
xor edx, edx
div dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x4232d1
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.004381fc
add esp, 8
test eax, eax
je 0x4232c4
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x4232a5
jmp 0x4232d1
mov edx, dword [esi]
push esi
lea ecx, [ebx + 4]
mov dword [edi], edx
call fcn.00424280
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x423253
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xbc]
mov eax, dword [eax + 0x10]
push eax
push 0
push ecx
call dword [esp + 0xc4]
add esp, 0xc
test eax, eax
jne 0x42336d
jmp 0x423253
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 5
call fcn.00424410
xor eax, eax
jmp 0x4237db
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 6
call fcn.00424410
xor eax, eax
jmp 0x4237db
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 8
call fcn.00424410
xor eax, eax
jmp 0x4237db
test edi, edi
je 0x4234f9
mov eax, dword [ebp + 0x10]
push eax
push 0
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4233ed
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xa
call fcn.00424410
xor eax, eax
jmp 0x4237db
push 0x64
push 3
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x42342f
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xb
call fcn.00424410
xor eax, eax
jmp 0x4237db
mov eax, dword [ebp + 0x2c]
push eax
push 1
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x423473
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xc
call fcn.00424410
xor eax, eax
jmp 0x4237db
mov eax, dword [ebp + 0x10]
push eax
push 0
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4234b7
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xd
call fcn.00424410
xor eax, eax
jmp 0x4237db
push 0
push 4
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4234f9
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xe
call fcn.00424410
xor eax, eax
jmp 0x4237db
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x38], ebx
neg ebx
sbb ebx, ebx
push 0xa
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0xf
call fcn.00405110
mov dword [esp + 0x48], 0x45e6a0
test ebx, ebx
mov byte [esp + 0xb0], 0x10
je 0x4236e4
mov dword [esp + 0x14], 0
test edi, edi
je 0x42355c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xbc]
cdq
idiv dword [esp + 0x38]
push eax
push 4
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x42365a
cmp ebx, 0xffffffff
mov esi, ebx
jne 0x42357d
mov edx, dword [ebp + 0x28]
xor eax, eax
test edx, edx
jbe 0x42357d
mov ecx, dword [ebp + 0x24]
mov esi, dword [ecx]
test esi, esi
jne 0x42357d
inc eax
add ecx, 4
cmp eax, edx
jb 0x42356f
mov ebx, dword [esi]
test ebx, ebx
jne 0x4235a2
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0x28]
inc eax
cmp eax, edx
jae 0x4235a2
mov ecx, dword [ebp + 0x24]
lea ecx, [ecx + eax*4]
mov ebx, dword [ecx]
test ebx, ebx
jne 0x4235a2
inc eax
add ecx, 4
cmp eax, edx
jb 0x423594
lea edx, [esi + 8]
lea ecx, [esp + 0x48]
push edx
call fcn.0041f130
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x28]
add ecx, 0x64
test esi, esi
mov dword [esp + 0x14], ecx
je 0x42360a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42360a
lea ecx, [esp + 0x48]
call fcn.0041f3f0
xor edx, edx
div dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x423603
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 8]
call fcn.00420120
test eax, eax
je 0x42363f
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x4235e6
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0xb8]
lea eax, [esp + 0x48]
lea ecx, [ebp + 0x20]
push eax
call fcn.0042fdd0
test edi, edi
je 0x423632
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0xbc]
push eax
push 1
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x42369f
test ebx, ebx
jne 0x423537
jmp 0x4236e4
mov edx, dword [esi]
push esi
lea ecx, [esp + 0x20]
mov dword [edi], edx
call fcn.00424490
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0xb8]
jmp 0x423632
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 4
call fcn.0041f010
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0x11
call fcn.00424410
xor eax, eax
jmp 0x4237db
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 4
call fcn.0041f010
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0x12
call fcn.00424410
xor eax, eax
jmp 0x4237db
test edi, edi
je 0x423798
mov eax, dword [ebp + 0x2c]
mov esi, dword [esp + 0xbc]
push eax
push 1
push esi
call edi
add esp, 0xc
test eax, eax
je 0x423748
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 4
call fcn.0041f010
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0x13
call fcn.00424410
xor eax, eax
jmp 0x4237db
push 0x64
push 4
push esi
call edi
add esp, 0xc
test eax, eax
je 0x423798
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 4
call fcn.0041f010
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0x14
call fcn.00424410
xor eax, eax
jmp 0x4237db
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 4
call fcn.0041f010
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 0
call fcn.00453112
mov dword [esp + 0x1c], 0x45fc7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0x15
call fcn.00424410
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 8