Function at 0x42f900
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x511194
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x30], ebp
jne 0x42f92a
xor eax, eax
jmp 0x42fbef
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x42fbea
cmp ebx, 8
je 0x42f94a
cmp ebx, 0x10
je 0x42f94a
xor eax, eax
jmp 0x42fbef
mov edi, dword [esi + 0x5c]
cmp edi, ebp
je 0x42f980
cmp edi, ebp
mov dword [esp + 0x24], edi
je 0x42f97d
mov ecx, edi
mov dword [esp + 0x1c], ebp
call fcn.00402270
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00500572
push edi
call fcn.00501a89
add esp, 4
mov dword [esi + 0x5c], ebp
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x42f99a
mov ecx, edi
call fcn.004bf3f0
push edi
call fcn.00501a89
add esp, 4
mov dword [esi + 0x34], ebp
mov dword [esi + 0x78], ebx
mov dword [0x5490a8], ebp
mov dword [0x5490a4], ebp
mov eax, dword [esi + 0x78]
cmp eax, 0x10
jne 0x42f9bb
mov dword [0x5490a4], 1
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x549084]
mov eax, 1
cmp ecx, ebp
je 0x42f9d7
mov eax, 5
mov ecx, dword [esi + 0x30]
push eax
mov eax, dword [esi + 0x78]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 4]
push 0x1e0
push 0x280
mov eax, dword [eax + 4]
push eax
call dword [edx + 0x18]
test eax, eax
jne 0x42fa0c
push 0x3ea
mov ecx, esi
call fcn.0042eab0
xor eax, eax
jmp 0x42fbef
mov ecx, dword [esi + 0x30]
push 0x42aba0
call fcn.004d8690
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x24]
mov ecx, 0xe
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov edx, dword [esi + 0x30]
push edx
call fcn.00401000
add esp, 4
mov ecx, esi
call fcn.0042f530
test eax, eax
je 0x42fbef
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x42fa5f
mov ecx, edi
call fcn.004bf3f0
push edi
call fcn.00501a89
add esp, 4
mov dword [esi + 0x34], ebp
push 0x64
call fcn.00501a4d
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x42fa82
mov ecx, eax
call fcn.004bf380
jmp 0x42fa84
xor eax, eax
mov dword [esi + 0x34], eax
lea eax, [esp + 0x24]
or edi, 0xffffffff
push eax
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.004285b0
mov ecx, dword [eax]
push ebp
push 1
push ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x28], 2
call fcn.004bf4e0
mov ebx, eax
lea ecx, [esp + 0x24]
neg ebx
sbb ebx, ebx
mov dword [esp + 0x1c], edi
inc ebx
call fcn.00501be5
test bl, bl
je 0x42fafd
mov eax, dword [esi + 0x184]
push 0x3eb
cmp eax, ebp
je 0x42faea
push 0x8010
mov ecx, esi
call fcn.0042be60
xor eax, eax
jmp 0x42fbef
push 0x800b
mov ecx, esi
call fcn.0042be60
xor eax, eax
jmp 0x42fbef
mov edx, dword [esi + 0x78]
mov ecx, esi
push edx
call fcn.0042f0a0
mov edi, dword [esi + 0x5c]
cmp edi, ebp
je 0x42fb42
cmp edi, ebp
mov dword [esp + 0x10], edi
je 0x42fb3f
mov ecx, edi
mov dword [esp + 0x1c], 3
call fcn.00402270
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00500572
push edi
call fcn.00501a89
add esp, 4
mov dword [esi + 0x5c], ebp
push 0x30
call fcn.00501a4d
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebp
mov dword [esp + 0x1c], 4
je 0x42fb75
push 0xa
lea ecx, [edi + 8]
call fcn.00500513
mov dword [edi], ebp
mov dword [edi + 4], 0x64
mov ecx, edi
jmp 0x42fb77
xor ecx, ecx
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x1ac]
mov dword [esi + 0x5c], ecx
push edx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], 0xffffffff
push eax
call fcn.00402240
test eax, eax
jne 0x42fbae
push 0x6af
push 0x800a
mov ecx, esi
call fcn.0042be60
xor eax, eax
jmp 0x42fbef
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x19c]
cmp eax, ebp
mov eax, dword [ecx + 0x24]
je 0x42fbd0
cmp eax, ebp
jne 0x42fbdc
mov dword [ecx + 0x24], 1
call fcn.00402570
jmp 0x42fbdc
cmp eax, ebp
je 0x42fbdc
mov dword [ecx + 0x24], ebp
call fcn.00402520
mov eax, dword [esi + 0x1ac]
mov ecx, esi
push eax
call fcn.0042f830
mov eax, 1
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 4