Function at 0x1009c520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10186906
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov eax, 0xf
mov dword [esp + 0x4c], edi
mov dword [esp + 0x148], eax
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
mov dword [esp + 0x308], ebx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x308], 1
call fcn.1002a4c0
mov dword [esp + 0x20], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x308], 2
call fcn.1005bad0
mov dword [esp + 0x2c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], eax
mov dword [esp + 0x30], ebx
mov esi, dword [edi + 0x2624]
add edi, 0x2620
cmp esi, dword [edi + 8]
mov byte [esp + 0x308], 3
mov dword [esp + 0x10], edi
jbe 0x1009c622
call fcn.10158fad
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
jbe 0x1009c637
call fcn.10158fad
mov dword [esp + 0x3c], ebx
jmp 0x1009c640
cmp edi, ebx
je 0x1009c648
cmp edi, edi
je 0x1009c64d
call fcn.10158fad
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x38], eax
je 0x1009c9ad
cmp edi, ebx
jne 0x1009c664
call fcn.10158fad
mov ecx, dword [esp + 0x38]
cmp ecx, dword [edi + 8]
jb 0x1009c672
call fcn.10158fad
mov edx, dword [esp + 0x38]
cmp edx, dword [edi + 8]
jb 0x1009c680
call fcn.10158fad
mov esi, dword [esp + 0x38]
cmp esi, dword [edi + 8]
jb 0x1009c68e
call fcn.10158fad
movzx ecx, byte [esi + 0x1c]
mov eax, dword [esi + 0x20]
push eax
push ecx
push esi
lea ecx, [esp + 0x158]
call fcn.1003c210
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x30c], 4
call fcn.1010a66a
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x30c], 5
call fcn.10109612
test al, al
je 0x1009c96f
add dword [esp + 0x3c], 1
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.100e9599
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x318], 6
call fcn.100e92f4
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x314], 7
call fcn.10005490
cmp dword [esp + 0xa0], 0x10
jb 0x1009c746
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x68], 0x10
mov esi, 0xf
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov byte [esp + 0x308], 5
jb 0x1009c77c
mov edx, dword [esp + 0x54]
push edx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0xf0], ebx
je 0x1009c96f
lea eax, [esp + 0x130]
push eax
call fcn.100e972f
add esp, 4
test al, al
jne 0x1009c96f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xdc], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x154]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.10005490
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x11c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x34c], 8
mov byte [ecx + 4], bl
call fcn.10005490
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x344], 5
call fcn.1005cb80
add esp, 0x3c
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x30c], 9
call fcn.1005cc20
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x310], 0xa
call fcn.1008e9a0
lea ecx, [esp + 0x50]
call fcn.1002a6e0
lea ecx, [esp + 0x88]
mov byte [esp + 0x308], 5
call fcn.1002a6e0
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.1005c920
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x28]
cmp eax, esi
je 0x1009c880
call fcn.10158fad
mov eax, dword [esp + 0x18]
cmp edi, eax
jne 0x1009c94c
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x104]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.10005490
lea eax, [esp + 0xa8]
push eax
call fcn.10036da0
add esp, 0x24
mov esi, eax
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x314], 0xb
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10005490
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x310], 0xc
call fcn.100395d0
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x1009c925
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x1009c96b
mov edx, dword [esp + 0x8c]
push edx
call fcn.10158c57
add esp, 4
jmp 0x1009c96b
cmp esi, ebx
jne 0x1009c959
call fcn.10158fad
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 4]
jne 0x1009c967
call fcn.10158fad
mov eax, dword [esp + 0x18]
add dword [eax + 0x28], 1
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1e4]
call fcn.1002c4e0
lea ecx, [esp + 0x14c]
mov byte [esp + 0x308], 3
call fcn.10019f90
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 8]
jb 0x1009c99d
call fcn.10158fad
add dword [esp + 0x38], 0x64
cmp dword [esp + 0x3c], 0x14
jl 0x1009c640
mov dword [esp + 0x10], ebx
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
lea edi, [esp + 0x28]
mov byte [esp + 0x308], 0xd
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], eax
cmp edi, ebx
je 0x1009c9f4
lea ecx, [esp + 0x28]
cmp edi, ecx
je 0x1009c9f9
call fcn.10158fad
cmp esi, dword [esp + 0x38]
je 0x1009ca57
cmp edi, ebx
jne 0x1009ca08
call fcn.10158fad
cmp esi, dword [edi + 4]
jne 0x1009ca12
call fcn.10158fad
mov eax, dword [esi + 0x28]
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
jb 0x1009ca44
cmp esi, dword [edi + 4]
jne 0x1009ca29
call fcn.10158fad
push 0xffffffffffffffff
push ebx
add esi, 0xc
push esi
lea ecx, [esp + 0x104]
call fcn.10005490
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x14]
call fcn.1005b250
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x1009c9e8
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x30c], 0xe
mov dword [esp + 0x14], ebx
call fcn.10088ee0
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
call fcn.10088e50
lea edi, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
cmp edi, ebx
je 0x1009cabc
lea edx, [esp + 0x1c]
cmp edi, edx
je 0x1009cac1
call fcn.10158fad
cmp esi, dword [esp + 0x38]
je 0x1009cb46
cmp edi, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
je 0x1009cadb
lea ecx, [esp + 0x1c]
cmp edi, ecx
je 0x1009cae0
call fcn.10158fad
cmp esi, dword [esp + 0x48]
je 0x1009cb46
cmp edi, ebx
jne 0x1009caef
call fcn.10158fad
cmp esi, dword [edi + 4]
jne 0x1009caf9
call fcn.10158fad
mov edx, dword [esp + 0x10]
cmp dword [esi + 0x3c], edx
jb 0x1009cb30
cmp esi, dword [edi + 4]
jne 0x1009cb0c
call fcn.10158fad
cmp esi, dword [edi + 4]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x10], eax
jne 0x1009cb1d
call fcn.10158fad
push 0xffffffffffffffff
push ebx
add esi, 0x28
push esi
lea ecx, [esp + 0x120]
call fcn.10005490
lea ecx, [esp + 0x14]
call fcn.1002a2e0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x1009cab0
push 3
push 0x1019ad44
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.10005630
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x310], 0xf
call fcn.1010b3d6
add esp, 8
mov esi, eax
push ebx
push ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x314], 0x10
call fcn.1003c210
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 8]
add ecx, 8
push esi
push eax
mov eax, dword [edx + 0x7c]
mov byte [esp + 0x310], 0x11
call eax
lea ecx, [esp + 0x14c]
call fcn.10019f90
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x1009cbec
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0xa0], edi
mov esi, 0xf
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x1009cc16
mov edx, dword [esp + 0x8c]
push edx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x12c], edi
jb 0x1009cc2f
mov eax, dword [esp + 0x118]
push eax
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x110], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
jb 0x1009cc5d
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x114], esi
push ecx
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x31c], 2
call fcn.1003a030
mov eax, dword [esp + 0x2c]
push eax
call fcn.10158c57
mov eax, dword [esp + 0x24]
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x31c], 1
call fcn.1002bcc0
mov edx, dword [esp + 0x20]
push edx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0xf4], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x1009ccfb
mov eax, dword [esp + 0xe0]
push eax
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
jb 0x1009cd2d
mov ecx, dword [esp + 0x134]
push ecx
call fcn.10158c57
add esp, 4
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.101593ee
mov esp, ebp
pop ebp
ret