Function at 0x417b40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x426ccc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6b4
push ebx
push ebp
mov ebp, dword [0x42b7c8]
push esi
push edi
push 0x43f018
push 0xd
lea eax, [esp + 0x30]
push eax
mov ecx, 0x43f288
call ebp
xor ebx, ebx
mov dword [esp + 0x6cc], ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
call dword [0x42b7c4]
lea ecx, [esp + 0x4b4]
push ecx
push 0x104
mov byte [esp + 0x6d4], 1
call dword [0x42b0dc]
lea edx, [esp + 0x4b4]
push edx
lea ecx, [esp + 0x24]
call dword [0x42b1b8]
lea eax, [esp + 0x4b4]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x6d0], 2
call dword [0x42b1b8]
push 0x42be68
push 0x42be70
lea ecx, [esp + 0x28]
mov byte [esp + 0x6d4], 3
call dword [0x42b2b4]
push 0x42be68
push 0x42be70
lea ecx, [esp + 0x34]
call dword [0x42b2b4]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov edi, 0x42bf78
call fcn.00405870
add esp, 8
mov byte [esp + 0x6cc], 4
call fcn.0042529c
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x20]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x43f288
mov dword [esp + 0x34], esi
call dword [0x42b784]
push 0x42be70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6d0], 5
call dword [0x42b2b8]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x84]
push ecx
push edx
call fcn.00425572
test eax, eax
je 0x417ca1
mov eax, dword [esp + 0x1c]
push eax
call fcn.00425578
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [0x42b1ac]
lea ecx, [esp + 0x70]
call dword [0x42b7bc]
cmp eax, ebx
jne 0x41825b
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x70]
call dword [0x42b7b8]
test eax, eax
jne 0x41825b
push 0x1fe
lea ecx, [esp + 0x2ba]
push ebx
push ecx
mov word [esp + 0x2c0], bx
call fcn.004263f0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x1e8]
add esp, 0xc
push edx
push 0xff
lea ecx, [esp + 0x2bc]
push ecx
push 0x42c534
push eax
push 0x42bfa0
call dword [0x42b0e0]
lea edx, [esp + 0x2b4]
lea ebx, [esi + 0x1480]
push edx
mov ecx, ebx
call dword [0x42b1d8]
lea eax, [esi + 0x1c0]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
mov edi, 0x42bf78
call fcn.00405870
mov eax, dword [eax]
mov ecx, dword [esi + 0x1e8]
add esp, 8
push eax
push 0xff
lea edx, [esp + 0x2bc]
push edx
push 0x42c534
push ecx
push 0x42bfa0
call dword [0x42b0e0]
lea ecx, [esp + 0x14]
call dword [0x42b63c]
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0x3c]
call dword [0x42b1b8]
push ecx
mov byte [esp + 0x6d0], 6
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [0x42b1ac]
push ecx
mov byte [esp + 0x6d4], 7
mov ecx, esp
mov dword [esp + 0x44], esp
push ebx
call dword [0x42b1ac]
mov ecx, 0x43f288
mov byte [esp + 0x6d4], 6
call dword [0x42b7b4]
test eax, eax
jle 0x4182a6
mov eax, dword [esi + 0x1d4]
push 0x43ef70
push eax
mov ecx, 0x43f288
call dword [0x42b794]
xor ebx, ebx
cmp dword [0x43f13c], ebx
jle 0x418186
push 0x42c534
lea ecx, [esp + 0x14]
call dword [0x42b1b8]
push 0x42c534
lea ecx, [esp + 0x18]
mov byte [esp + 0x6d0], 8
call dword [0x42b1b8]
push 0x43f114
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x43f288
mov byte [esp + 0x6d8], 9
call ebp
push eax
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x6d4], 0xa
call fcn.004057f0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6d0], 0xb
call dword [0x42b614]
lea ecx, [esp + 0x68]
call dword [0x42b63c]
lea ecx, [esp + 0x44]
mov byte [esp + 0x6cc], 9
call dword [0x42b63c]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.00425572
test eax, eax
je 0x417eb2
mov edx, dword [esp + 0x10]
push edx
call fcn.00425578
push ecx
mov eax, esp
mov dword [esp + 0x80], esp
push 0x43f130
push ebx
push eax
mov ecx, 0x43f288
xor esi, esi
call ebp
push ecx
mov byte [esp + 0x6d4], 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call dword [0x42b1ac]
mov ecx, esi
mov esi, dword [esp + 0x6dc]
mov byte [esp + 0x6d4], 9
call fcn.00418aa0
test eax, eax
je 0x418231
push 0x43f114
push ebx
lea eax, [esp + 0x50]
push eax
mov ecx, 0x43f288
call ebp
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6d0], 0xd
call dword [0x42b614]
lea ecx, [esp + 0x48]
mov byte [esp + 0x6cc], 9
call dword [0x42b63c]
lea ecx, [esp + 0x14]
call dword [0x42b31c]
push 0
push 0x434130
lea ecx, [esp + 0x1c]
call dword [0x42b2b0]
cmp eax, 0xffffffff
jle 0x417f9c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
call fcn.004057f0
add esp, 8
mov byte [esp + 0x6cc], 0xe
mov eax, dword [eax]
push eax
mov ecx, 0x43f288
call dword [0x42b754]
lea ecx, [esp + 0x50]
mov byte [esp + 0x6cc], 9
call dword [0x42b63c]
push 0x43f114
push ebx
lea eax, [esp + 0x6c]
push eax
mov ecx, 0x43f288
call ebp
mov esi, eax
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
mov edi, 0x43421c
mov byte [esp + 0x6d4], 0xf
call fcn.00405870
lea ecx, [esp + 0x64]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x6dc], 0x10
call fcn.004057f0
add esp, 0x10
lea edx, [esp + 0x84]
mov byte [esp + 0x6cc], 0x11
mov eax, dword [eax]
push edx
push eax
call fcn.00425572
lea ecx, [esp + 0x5c]
mov esi, eax
call dword [0x42b63c]
lea ecx, [esp + 0x40]
call dword [0x42b63c]
lea ecx, [esp + 0x64]
mov byte [esp + 0x6cc], 9
call dword [0x42b63c]
test esi, esi
je 0x4180a1
push 0x43f114
push ebx
lea eax, [esp + 0x54]
push eax
mov ecx, 0x43f288
call ebp
mov esi, eax
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x6d4], 0x12
call fcn.00405870
lea ecx, [esp + 0x68]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x6dc], 0x13
call fcn.004057f0
add esp, 0x10
mov byte [esp + 0x6cc], 0x14
mov eax, dword [eax]
push eax
call fcn.00425578
lea ecx, [esp + 0x60]
call dword [0x42b63c]
lea ecx, [esp + 0x58]
call dword [0x42b63c]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6cc], 9
call dword [0x42b63c]
push 0x43f114
push ebx
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x43f288
call ebp
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x43421c
mov byte [esp + 0x6d4], 0x15
call fcn.00405870
lea edx, [esp + 0x5c]
push esi
push edx
mov ecx, eax
mov byte [esp + 0x6dc], 0x16
call fcn.004057f0
mov eax, dword [eax]
add esp, 0x10
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x42b078]
lea ecx, [esp + 0x54]
call dword [0x42b63c]
lea ecx, [esp + 0x3c]
call dword [0x42b63c]
lea ecx, [esp + 0x34]
call dword [0x42b63c]
mov esi, dword [esp + 0x6d4]
mov ecx, dword [esi + 0x10f4]
mov edi, dword [0x42b7e8]
push 0x640000
push 0
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x10f4]
push 0
push 0x64
push 0x402
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [0x42b844]
lea ecx, [esp + 0x14]
call dword [0x42b63c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6cc], 6
call dword [0x42b63c]
add ebx, 1
cmp ebx, dword [0x43f13c]
jl 0x417e09
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
mov edi, 0x42bf78
call fcn.00405870
mov eax, dword [eax]
mov ecx, dword [esi + 0x1480]
mov esi, dword [esi + 0x1e8]
add esp, 8
push eax
push ecx
push esi
push 0x42bfa0
call dword [0x42b0ec]
lea ecx, [esp + 0x30]
call dword [0x42b63c]
lea ecx, [esp + 0x38]
call dword [0x42b63c]
lea ecx, [esp + 0x18]
call dword [0x42b63c]
lea ecx, [esp + 0x1c]
call dword [0x42b63c]
lea ecx, [esp + 0x2c]
call dword [0x42b63c]
lea ecx, [esp + 0x20]
call dword [0x42b63c]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6cc], 0
call dword [0x42b7c0]
lea ecx, [esp + 0x28]
call dword [0x42b63c]
mov eax, 1
mov ecx, dword [esp + 0x6c4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c0
ret 4
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [0x42b844]
lea ecx, [esp + 0x14]
call dword [0x42b63c]
lea ecx, [esp + 0x10]
call dword [0x42b63c]
lea ecx, [esp + 0x38]
call dword [0x42b63c]
lea ecx, [esp + 0x18]
call dword [0x42b63c]
lea ecx, [esp + 0x1c]
call dword [0x42b63c]
lea ecx, [esp + 0x2c]
call dword [0x42b63c]
lea ecx, [esp + 0x20]
call dword [0x42b63c]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6cc], 0
call dword [0x42b7c0]
lea ecx, [esp + 0x28]
call dword [0x42b63c]
xor eax, eax
jmp 0x418216
xor ebx, ebx
cmp dword [0x43f13c], ebx
jle 0x4181c3
push 0x42c534
lea ecx, [esp + 0x14]
call dword [0x42b1b8]
push 0x42c534
lea ecx, [esp + 0x18]
mov byte [esp + 0x6d0], 0x17
call dword [0x42b1b8]
push 0x43f114
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x43f288
mov byte [esp + 0x6d8], 0x18
call ebp
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x6d4], 0x19
call fcn.004057f0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6d0], 0x1a
call dword [0x42b614]
lea ecx, [esp + 0x30]
call dword [0x42b63c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x6cc], 0x18
call dword [0x42b63c]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.00425572
test eax, eax
push 0x43f114
mov ecx, 0x43f288
push ebx
je 0x4183ed
lea edx, [esp + 0x44]
push edx
call ebp
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6d0], 0x1b
call dword [0x42b614]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6cc], 0x18
call dword [0x42b63c]
lea ecx, [esp + 0x14]
call dword [0x42b31c]
push 0
push 0x434130
lea ecx, [esp + 0x1c]
call dword [0x42b2b0]
cmp eax, 0xffffffff
jle 0x4185e9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x20]
call fcn.004057f0
add esp, 8
mov byte [esp + 0x6cc], 0x1c
mov eax, dword [eax]
push eax
mov ecx, 0x43f288
call dword [0x42b754]
lea ecx, [esp + 0x54]
call dword [0x42b63c]
jmp 0x4185e9
lea edx, [esp + 0x68]
push edx
call ebp
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov edi, 0x43421c
mov byte [esp + 0x6d4], 0x1d
call fcn.00405870
lea edx, [esp + 0x54]
push esi
push edx
mov ecx, eax
mov byte [esp + 0x6dc], 0x1e
call fcn.004057f0
add esp, 0x10
lea ecx, [esp + 0x84]
mov byte [esp + 0x6cc], 0x1f
mov eax, dword [eax]
push ecx
push eax
call fcn.00425572
lea ecx, [esp + 0x4c]
mov esi, eax
call dword [0x42b63c]
lea ecx, [esp + 0x58]
call dword [0x42b63c]
lea ecx, [esp + 0x60]
mov byte [esp + 0x6cc], 0x18
call dword [0x42b63c]
test esi, esi
je 0x4184de
push 0x43f114
push ebx
lea edx, [esp + 0x64]
push edx
mov ecx, 0x43f288
call ebp
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x6d4], 0x20
call fcn.00405870
lea edx, [esp + 0x6c]
push esi
push edx
mov ecx, eax
mov byte [esp + 0x6dc], 0x21
call fcn.004057f0
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
add esp, 0x10
push 0
push ecx
push eax
call dword [0x42b078]
lea ecx, [esp + 0x64]
call dword [0x42b63c]
lea ecx, [esp + 0x40]
call dword [0x42b63c]
lea ecx, [esp + 0x5c]
jmp 0x4185a3
push ecx
mov edx, esp
mov dword [esp + 0x84], esp
push 0x43f130
push ebx
push edx
mov ecx, 0x43f288
xor esi, esi
call ebp
push ecx
mov byte [esp + 0x6d4], 0x22
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call dword [0x42b1ac]
mov ecx, esi
mov esi, dword [esp + 0x6dc]
mov byte [esp + 0x6d4], 0x18
call fcn.00418aa0
test eax, eax
je 0x418619
push 0x43f114
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x43f288
call ebp
mov esi, eax
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
mov edi, 0x43421c
mov byte [esp + 0x6d4], 0x23
call fcn.00405870
lea ecx, [esp + 0x58]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x6dc], 0x24
call fcn.004057f0
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
add esp, 0x10
push 0
push eax
push edx
call dword [0x42b078]
lea ecx, [esp + 0x50]
call dword [0x42b63c]
lea ecx, [esp + 0x48]
call dword [0x42b63c]
lea ecx, [esp + 0x44]
call dword [0x42b63c]
mov esi, dword [esp + 0x6d4]
mov eax, dword [esi + 0x10f4]
mov edi, dword [0x42b7e8]
push 0x640000
push 0
push 0x401
push eax
call edi
mov ecx, dword [esi + 0x10f4]
push 0
push 0x64
push 0x402
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [0x42b844]
lea ecx, [esp + 0x14]
call dword [0x42b63c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6cc], 6
call dword [0x42b63c]
add ebx, 1
cmp ebx, dword [0x43f13c]
jl 0x4182b4
jmp 0x4181c3
mov eax, dword [esi + 0x20]
push 0
push eax
jmp 0x418237