Function at 0x35e140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ebf6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [esp + 0x58]
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebp
call edx
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x50], ebx
or dword [esi + 0x7c], 1
cmp dword [esi + 8], 0x515620
jne 0x35e1c6
push 0x1c
call fcn.00438a50
add esp, 4
cmp eax, ebx
je 0x35e1bc
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x35e1be
xor eax, eax
mov byte [esp + 0x50], 0
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ebx
push edi
call fcn.002f9870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x35e1ee
mov eax, dword [esp + 0x28]
push eax
call fcn.00438a36
add esp, 4
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call edx
mov edi, eax
mov dword [esp + 0x50], 2
or dword [esi + 0x7c], 4
cmp dword [esi + 0xc], 0x515620
jne 0x35e23b
push 0x1c
call fcn.00438a50
add esp, 4
cmp eax, ebx
je 0x35e231
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], 0
jmp 0x35e233
xor eax, eax
mov byte [esp + 0x50], 2
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push ebx
push edi
call fcn.002f9870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x35e263
mov eax, dword [esp + 0x28]
push eax
call fcn.00438a36
add esp, 4
xor ebp, ebp
jmp 0x35e270
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp + 0x4c6580]
cmp dword [esi + 0x40], eax
jne 0x35e2df
mov ecx, dword [esi + 0x44]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0x35e2df
mov edi, dword [esi + 0x3c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x20]
jl 0x35e29f
lea eax, [esp + 0x1c]
mov eax, dword [eax]
xor ecx, ecx
mov dword [esi + 0x44], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437a7c
mov ecx, dword [esi + 0x40]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x3c], eax
call fcn.0043c600
lea edx, [esi + 0x48]
add esp, 0x10
cmp edi, edx
je 0x35e2df
push edi
call fcn.00439081
add esp, 4
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov dword [ecx + eax*4], ebx
inc dword [esi + 0x40]
add ebp, 4
cmp ebp, 0x54
jb 0x35e270
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esi + 0x60]
mov ebx, dword [ebp + 0x4c65d8]
cmp dword [esi + 0x5c], eax
jne 0x35e36f
mov ecx, dword [esi + 0x60]
inc eax
mov dword [esp + 0x1c], eax
cmp ecx, eax
jge 0x35e36f
mov edi, dword [esi + 0x58]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x1c]
jl 0x35e32f
lea eax, [esp + 0x20]
mov eax, dword [eax]
xor ecx, ecx
mov dword [esi + 0x60], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437a7c
mov ecx, dword [esi + 0x5c]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x58], eax
call fcn.0043c600
lea edx, [esi + 0x64]
add esp, 0x10
cmp edi, edx
je 0x35e36f
push edi
call fcn.00439081
add esp, 4
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [ecx + eax*4], ebx
inc dword [esi + 0x5c]
add ebp, 4
cmp ebp, 0x48
jb 0x35e300
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
je 0x35e3a5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 4
cmp edi, dword [ebx + 0x10]
jne 0x35e393
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
add esp, 0x40
ret 4