Function at 0x124e140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x138ebf6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x14016ec]
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], 0x1405620
jne 0x124e1c6
push 0x1c
call fcn.01328a50
add esp, 4
cmp eax, ebx
je 0x124e1bc
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x124e1be
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.011e9870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x124e1ee
mov eax, dword [esp + 0x28]
push eax
call fcn.01328a36
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], 0x1405620
jne 0x124e23b
push 0x1c
call fcn.01328a50
add esp, 4
cmp eax, ebx
je 0x124e231
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], 0
jmp 0x124e233
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.011e9870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x124e263
mov eax, dword [esp + 0x28]
push eax
call fcn.01328a36
add esp, 4
xor ebp, ebp
jmp 0x124e270
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp + 0x13b6580]
cmp dword [esi + 0x40], eax
jne 0x124e2df
mov ecx, dword [esi + 0x44]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0x124e2df
mov edi, dword [esi + 0x3c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x20]
jl 0x124e29f
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.01327a7c
mov ecx, dword [esi + 0x40]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x3c], eax
call fcn.0132c600
lea edx, [esi + 0x48]
add esp, 0x10
cmp edi, edx
je 0x124e2df
push edi
call fcn.01329081
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 0x124e270
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esi + 0x60]
mov ebx, dword [ebp + 0x13b65d8]
cmp dword [esi + 0x5c], eax
jne 0x124e36f
mov ecx, dword [esi + 0x60]
inc eax
mov dword [esp + 0x1c], eax
cmp ecx, eax
jge 0x124e36f
mov edi, dword [esi + 0x58]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x1c]
jl 0x124e32f
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.01327a7c
mov ecx, dword [esi + 0x5c]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x58], eax
call fcn.0132c600
lea edx, [esi + 0x64]
add esp, 0x10
cmp edi, edx
je 0x124e36f
push edi
call fcn.01329081
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 0x124e300
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
je 0x124e3a5
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 0x124e393
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.01328a41
add esp, 0x40
ret 4