Function at 0x1012d400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1020184c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x58]
mov ebx, 1
call fcn.10058000
xor edi, edi
mov eax, 0x10206138
lea ecx, [esp + 0x1c]
mov edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], edx
mov edx, eax
mov dword [esp + 0x248], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], 0x1020dfec
mov eax, dword [esp + 0x254]
mov dword [esi + 0x168], edi
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xac]
xor ebp, ebp
cmp eax, edi
mov byte [esp + 0x248], bl
mov byte [esp + 0x13], 0
mov dword [esp + 0x4c], edx
jbe 0x1012d71c
cmp eax, dword [esi + 0x148]
jb 0x1012d71c
cmp edx, edi
mov dword [esp + 0x50], edi
jbe 0x1012d581
test bl, 1
je 0x1012d576
cmp byte [esp + 0x13], 0
jne 0x1012d716
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x258]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.10059820
mov ebx, dword [eax]
test bl, 1
je case.0x1012d51e.82
mov eax, dword [esp + 0x58]
and eax, 0xff
lea ecx, [eax - 0x4e]
cmp ecx, 0x34
ja case.0x1012d51e.82
movzx ecx, byte [ecx + 0x1012d7d0]
jmp dword [ecx*4 + 0x1012d7a4]
push eax
lea ecx, [esp + 0x18]
call fcn.100b3290
jmp case.0x1012d51e.82
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d561
mov eax, dword [ecx + 8]
cmp eax, 0x4e
je 0x1012d554
cmp eax, 0x4f
je 0x1012d554
cmp eax, 0x50
je 0x1012d554
cmp eax, 0x51
jne 0x1012d561
lea ecx, [esp + 0x14]
call fcn.101b51d0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
jb 0x1012d4d0
cmp byte [esp + 0x13], 0
jne 0x1012d716
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 0xa4]
cmp eax, 0xc
je 0x1012d71c
cmp eax, 4
je 0x1012d71c
xor edx, edx
mov eax, ebp
div dword [esi + 0x148]
add dword [esi + 0x168], eax
jmp 0x1012d71c
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x1012d561
cmp dword [ecx + 8], 0x54
jmp 0x1012d552
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d561
cmp dword [ecx + 8], 0x60
jmp 0x1012d552
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x1012d561
cmp dword [ecx + 8], 0x64
jmp 0x1012d552
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d561
cmp dword [ecx + 8], 0x66
jmp 0x1012d552
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x1012d561
cmp dword [ecx + 8], 0x68
jmp 0x1012d552
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d63f
and ebx, 0xfffffffe
mov byte [esp + 0x13], 1
or ebx, 2
jmp 0x1012d561
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xa4]
add ebp, 1
cmp eax, 0xc
je 0x1012d659
cmp eax, 4
jne 0x1012d561
cmp ebp, dword [esi + 0x148]
jb 0x1012d561
add dword [esi + 0x168], 1
jmp 0x1012d561
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d68d
and ebx, 0xfffffffe
mov byte [esp + 0x13], 1
or ebx, 2
jmp 0x1012d561
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xa4]
cmp eax, 0xc
je 0x1012d6b0
cmp eax, 4
je 0x1012d6b0
xor edx, edx
mov eax, ebp
div dword [esi + 0x148]
add dword [esi + 0x168], eax
xor ebp, ebp
jmp 0x1012d561
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d6d3
and ebx, 0xfffffffe
mov byte [esp + 0x13], 1
or ebx, 2
jmp 0x1012d561
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xa4]
add ebp, 1
cmp eax, 0xc
je 0x1012d700
cmp eax, 4
je 0x1012d700
mov eax, ebp
xor edx, edx
div dword [esi + 0x148]
add dword [esi + 0x168], eax
xor ebp, ebp
jmp 0x1012d561
cmp ebp, dword [esi + 0x148]
jb 0x1012d70f
add dword [esi + 0x168], 1
xor ebp, ebp
jmp 0x1012d561
mov dword [esi + 0x168], edi
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x1012d756
and ebx, 0xfffffffe
or ebx, 2
lea ebx, [ebx]
lea edx, [esp + 0x1c]
cmp ecx, edx
je 0x1012d756
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.100a4850
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
cmp ecx, edx
jne 0x1012d730
mov esi, dword [esp + 0x250]
lea ecx, [esp + 0x14]
mov dword [esi], ebx
mov byte [esp + 0x248], 0
call fcn.10059c90
lea ecx, [esp + 0x58]
mov dword [esp + 0x248], 0xffffffff
call fcn.10058030
mov ecx, dword [esp + 0x240]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret 8