Function at 0x3539e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ab9c6
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 ebp, dword [esp + 0x58]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x50], ebx
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x353a4a
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
jmp 0x353c42
cmp dword [ebp + 0x20], ebx
je 0x353a54
mov ecx, dword [ebp + 0x20]
jmp 0x353a5d
mov ecx, dword [0x52d70c]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x48]
mov dword [esp + 0x20], ecx
cmp ecx, ebx
jne 0x353a92
mov dword [esp + 0x14], ebx
mov ecx, ebp
cmp eax, 1
je 0x353a81
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
call eax
jmp 0x353c42
push 5
xor edx, edx
call fcn.003282c0
add esp, 4
jmp 0x353c35
or dword [ebp + 0x28], 0x40
cmp dword [ebp + 0x20], ebx
jne 0x353ac6
push 0x130
call fcn.00438a50
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0x353abd
push eax
call fcn.00323050
jmp 0x353abf
xor eax, eax
mov byte [esp + 0x50], bl
mov dword [ebp + 0x20], eax
mov edi, dword [ebp + 0x20]
call fcn.00352440
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x20], ebx
jle 0x353c14
or dword [ebp + 0x28], 0x40
cmp dword [ebp + 0x20], ebx
jne 0x353b12
push 0x130
call fcn.00438a50
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x50], 2
cmp eax, ebx
je 0x353b09
push eax
call fcn.00323050
jmp 0x353b0b
xor eax, eax
mov byte [esp + 0x50], bl
mov dword [ebp + 0x20], eax
mov esi, dword [ebp + 0x20]
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
cmp eax, ecx
jge 0x353b2d
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + 0x68], eax
mov esi, ecx
jmp 0x353b91
mov eax, dword [esi + 0x70]
cmp ecx, eax
jne 0x353b3e
inc eax
push eax
lea eax, [esi + 0x64]
call fcn.003b1990
inc dword [esi + 0x6c]
push 0x38
call fcn.00438a50
add esp, 4
cmp eax, ebx
je 0x353b81
fldz
mov dword [eax], vtable.ipc::proto::Variable.0
mov dword [eax + 4], ebx
fstp qword [eax + 0x18]
mov dword [eax + 0x30], ebx
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x20], 0x515620
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x34], ebx
jmp 0x353b83
xor eax, eax
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
mov dword [ecx + edx*4], eax
inc dword [esi + 0x68]
mov esi, eax
or dword [esi + 0x34], 1
mov dword [esi + 8], ebx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
jne 0x353ba8
mov edx, dword [0x52d70c]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edi*4]
cmp dword [eax + 0x10], ebx
je 0x353c01
lea ecx, [esp + 0x28]
push ebx
push ecx
mov edi, eax
call fcn.00352470
add esp, 8
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x50], 5
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x28]
call eax
mov byte [esp + 0x50], bl
cmp dword [esp + 0x3c], 0x10
jb 0x353bed
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00438a36
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x20]
jl 0x353ade
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 0xc], 1
jne 0x353c31
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
or dword [ebp + 0x28], 0xe
mov dword [ebp + 0xc], 2
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
push ebp
push esi
call eax
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