Function at 0x46ab40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10141dc2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x101d74a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
mov edi, dword [ecx + eax*4]
push edi
lea ecx, [ebp - 0x48]
call dword [0x101526b4]
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x24]
add ebx, 0x64
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004d42d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
call dword [0x10152680]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46abc5
cmp eax, ebx
je 0x46abd2
mov ebx, dword [0x101529ac]
call ebx
mov eax, dword [ebp - 0x14]
jmp 0x46abd8
mov ebx, dword [0x101529ac]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
je 0x46ac13
test eax, eax
jne 0x46abe9
call ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [eax + 4]
jne 0x46abf3
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
lea ecx, [ebp - 0x64]
call dword [0x101526b4]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
add ebx, 0x70
push ecx
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0046a3f0
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [0x10152680]
mov eax, dword [ebp - 0x14]
test eax, eax
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x18], ecx
je 0x46ac65
cmp eax, ebx
je 0x46ac6e
call dword [0x101529ac]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x18]
je 0x46aec4
test eax, eax
jne 0x46ac87
call dword [0x101529ac]
mov eax, dword [ebp - 0x14]
cmp ebx, dword [eax + 4]
jne 0x46ac95
call dword [0x101529ac]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x28]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 8], edx
cmp ecx, dword [eax + 4]
jne 0x46acac
call dword [0x101529ac]
mov edx, dword [ebp - 0x10]
add edx, 0x84
push edx
lea ecx, [ebx + 0x14]
call dword [0x101526a4]
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x46ae7d
add dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
mov ebx, dword [0x101529bc]
jge 0x46ad2b
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + eax*4]
push 0x10153f90
push edx
call ebx
add esp, 8
test eax, eax
je 0x46ad27
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + eax*4]
push 0x10153f80
push edx
call ebx
add esp, 8
test eax, eax
je 0x46ad27
push 0x10154460
push edi
call ebx
add esp, 8
test eax, eax
je 0x46ad27
push 0x1015fc08
push edi
call ebx
add esp, 8
test eax, eax
jne 0x46ad2b
add dword [esi + 0x18], 1
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x14]
jge 0x46ae25
call fcn.0046a1f0
mov ecx, dword [ebp + 0xc]
add eax, 0x40
push eax
add ecx, 0x30
call dword [0x101526a4]
lea ecx, [ebp - 0x14]
call fcn.0046a1f0
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x84], ecx
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jge 0x46af28
nop
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + ecx*4]
push 0x10153f90
push eax
call ebx
add esp, 8
test eax, eax
je 0x46ae01
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + ecx*4]
push 0x10153f80
push eax
call ebx
add esp, 8
test eax, eax
je 0x46ae01
push 0x10154460
push edi
call ebx
add esp, 8
test eax, eax
je 0x46ae01
push 0x1015fc08
push edi
call ebx
add esp, 8
test eax, eax
je 0x46ae01
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x60], 0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov edi, dword [edx + ecx*4]
jne 0x46addc
push edi
lea ecx, [eax + 0x4c]
call dword [0x10152690]
jmp 0x46ae01
lea ebx, [eax + 0x4c]
push 0x20
push 1
mov ecx, ebx
call dword [0x10152670]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x60]
push edi
push ecx
mov ecx, ebx
call dword [0x10152754]
mov ebx, dword [0x101529bc]
add dword [esi + 0x18], 1
mov edx, dword [esi + 0x18]
cmp edx, dword [esi + 0x1c]
jl 0x46ad70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0046a1f0
add eax, 0x20
cmp dword [eax + 0x14], 0
jne 0x46ae51
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x14]
call fcn.0046a1f0
mov ecx, dword [ebp + 0xc]
add eax, 0x40
push eax
add ecx, 0x30
call dword [0x101526a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x46af28
lea ecx, [ebp - 0x14]
call fcn.0046a1f0
add eax, 0x40
push eax
lea ecx, [ebx + 0x30]
call dword [0x101526a4]
lea ecx, [ebp - 0x14]
call fcn.0046a1f0
add eax, 0x5c
push eax
lea ecx, [ebx + 0x4c]
call dword [0x101526a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x30]
push eax
add ecx, 0x98
push ecx
push edi
mov ecx, esi
call fcn.0046a7c0
test eax, eax
jne 0x46af21
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x4c]
push edx
add eax, 0xb4
push eax
push edi
mov ecx, esi
call fcn.0046a7c0
test eax, eax
jne 0x46af28
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x68]
push eax
add ecx, 0xd0
push ecx
push edi
mov ecx, esi
call fcn.0046a7c0
test eax, eax
je 0x46af28
lea eax, [ebx + 0x68]
push eax
lea ecx, [ebx + 0x30]
call dword [0x101526a4]
mov dword [ebx + 8], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8