Function at 0x418630
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x426afe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x454
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x46c], 1
call fcn.0042529c
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x20]
push 0x43f018
push 0xd
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
mov ecx, 0x43f288
mov dword [esp + 0x34], ebx
call dword [0x42b7c8]
lea ecx, [esp + 0x25c]
push ecx
push 0x104
mov byte [esp + 0x474], 2
call dword [0x42b0dc]
lea edx, [esp + 0x25c]
push edx
lea ecx, [esp + 0x1c]
call dword [0x42b1b8]
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 3
call dword [0x42b1b8]
lea eax, [ebp + 0x1c0]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edi, 0x43421c
mov byte [esp + 0x474], 4
call fcn.00405870
lea edx, [esp + 0x47c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x47c], 5
call fcn.004057f0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x46c], 7
call dword [0x42b63c]
push 0x42be68
push 0x42be70
lea ecx, [esp + 0x20]
call dword [0x42b2b4]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
mov edi, 0x42bf78
call fcn.00405870
add esp, 8
push 0x42be68
push 0x42be70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 8
call dword [0x42b2b4]
lea ecx, [esp + 0x474]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004057f0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 9
call dword [0x42b614]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x46c], 8
call dword [0x42b63c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp dword [ebp + 0x1490], ebx
je 0x4188a7
push ecx
lea eax, [esp + 0x47c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [0x42b1ac]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x478], 0xa
call dword [0x42b1ac]
mov ecx, dword [esp + 0x484]
mov byte [esp + 0x474], 8
call fcn.00418aa0
cmp eax, ebx
jne 0x418868
mov eax, dword [esi + 0x20]
push ebx
push eax
call dword [0x42b844]
lea ecx, [esp + 0x24]
call dword [0x42b63c]
lea ecx, [esp + 0x10]
call dword [0x42b63c]
lea ecx, [esp + 0x14]
call dword [0x42b63c]
lea ecx, [esp + 0x18]
call dword [0x42b63c]
lea ecx, [esp + 0x20]
call dword [0x42b63c]
lea ecx, [esp + 0x474]
call dword [0x42b63c]
lea ecx, [esp + 0x478]
call dword [0x42b63c]
xor eax, eax
jmp 0x418a7a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.00425572
test eax, eax
je 0x418885
mov eax, dword [esp + 0x10]
push eax
call fcn.00425578
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [0x42b0e4]
cmp eax, ebx
je 0x41880a
mov dword [esp + 0x28], 1
jmp 0x418905
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.00425572
test eax, eax
jne 0x418905
push ecx
lea eax, [esp + 0x47c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [0x42b1ac]
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x478], 0xb
call dword [0x42b1ac]
mov ecx, dword [esp + 0x484]
mov byte [esp + 0x474], 8
call fcn.00418aa0
cmp eax, ebx
je 0x41880a
mov ecx, dword [esi + 0x10f4]
mov edi, dword [0x42b7e8]
push 0x640000
push ebx
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x10f4]
push ebx
push 0x64
push 0x402
push edx
call edi
push ebx
push ebx
push ebx
push ebx
call dword [0x42b12c]
push ebx
push ebx
push ebx
mov dword [0x43eea4], eax
mov eax, dword [esp + 0x1c]
push eax
push 0x42ba88
push ebx
call dword [0x42b734]
mov eax, dword [0x43eea4]
cmp eax, ebx
je 0x4189bf
mov edi, dword [0x42b130]
push 0x1f4
push eax
call edi
cmp eax, 0x102
jne 0x4189ac
mov ecx, dword [0x43eea4]
push ecx
push ecx
lea edx, [esp + 0x47c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x42b1ac]
mov ecx, 0x43f288
call dword [0x42b750]
mov eax, dword [0x43eea4]
push 0x1f4
push eax
call edi
cmp eax, 0x102
je 0x418971
mov ecx, dword [0x43eea4]
push ecx
call dword [0x42b0f8]
mov dword [0x43eea4], ebx
mov edx, dword [ebp + 0x1d4]
push edx
mov ecx, 0x43f288
call dword [0x42b780]
test eax, eax
je 0x41880a
cmp dword [esp + 0x28], ebx
je 0x418a1e
lea eax, [ebp + 0x1c0]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edi, 0x42bf78
call fcn.00405870
mov edx, dword [eax]
mov eax, dword [ebp + 0x1480]
mov ecx, dword [ebp + 0x1e8]
add esp, 8
push edx
push eax
push ecx
push 0x42bfa0
call dword [0x42b0ec]
lea ecx, [esp + 0x1c]
call dword [0x42b63c]
mov edx, dword [esi + 0x20]
push ebx
push edx
call dword [0x42b844]
lea ecx, [esp + 0x24]
call dword [0x42b63c]
lea ecx, [esp + 0x10]
call dword [0x42b63c]
lea ecx, [esp + 0x14]
call dword [0x42b63c]
lea ecx, [esp + 0x18]
call dword [0x42b63c]
lea ecx, [esp + 0x20]
call dword [0x42b63c]
lea ecx, [esp + 0x474]
call dword [0x42b63c]
lea ecx, [esp + 0x478]
call dword [0x42b63c]
mov eax, 1
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x460
ret 0xc