Function at 0x9015b8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x901e73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe44]
xor edx, edx
call fcn.00405738
jne 0x90161a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x514]
mov edx, dword [eax]
call dword [edx + 0x124]
test al, al
jne 0x901e2b
xor eax, eax
push ebp
push 0x901690
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043bc54
test al, al
jne 0x901686
call fcn.0043bcc0
call fcn.0043bc54
test al, al
jne 0x901686
mov ax, word [0x901e84]
push eax
push 0
mov eax, dword [0x98a548]
mov eax, dword [eax]
call fcn.0079b1b8
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x520]
mov edx, dword [edx + 0x158]
call fcn.00405594
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00905208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x901e2b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x90169a
xor edx, edx
push ebp
push 0x901e21
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [0x98a548]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x7d3c6c]
call fcn.00473550
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0092259c
mov eax, dword [ebp - 4]
call fcn.0093dab0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x616b84]
call fcn.00617c6c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00624ac0
mov byte [eax + 0x30], 0
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x12c]
xor eax, eax
mov dword [ebp - 0x2c], eax
xor edx, edx
push ebp
push 0x901d63
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x103d], 0
je 0x90172f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x103c], 0
je 0x90172f
call fcn.008b0800
test al, al
jne 0x901733
xor eax, eax
jmp 0x901735
mov al, 1
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x9017dd
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2e], 0
mov eax, dword [ebp - 4]
call fcn.008db6a4
cmp eax, 2
je 0x90176a
cmp eax, 1
je 0x90176a
mov byte [ebp - 0x2e], 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00942408
mov eax, dword [ebp - 4]
call fcn.00961aa4
mov eax, dword [ebp - 4]
call fcn.0096290c
mov eax, dword [ebp - 4]
call fcn.008f8604
test al, al
jne 0x901792
mov eax, dword [ebp - 4]
cmp byte [eax + 0xefc], 0
je 0x9017bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x818]
cmp byte [eax + 0x57], 0
je 0x9017bf
mov byte [ebp - 0x2d], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x818]
xor edx, edx
call fcn.00458bcc
push 0xfa
call sub.kernel32.dll_Sleep_1
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x514]
mov eax, dword [ebp - 4]
call fcn.00961c94
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
call fcn.008e3b64
mov dl, 1
mov eax, dword [0x4820cc]
call fcn.00483400
mov dword [ebp - 0x24], eax
mov eax, dword [0x98a548]
mov eax, dword [eax]
call fcn.007a5b9c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00937d10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x520]
mov ecx, dword [eax + 0xbc]
mov edx, dword [eax + 0x120]
mov eax, dword [ebp - 4]
call fcn.009014f8
mov eax, dword [ebp - 4]
call fcn.0094942c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.006519b0
call fcn.0049ea54
dec eax
test eax, eax
jl 0x9018d1
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
call fcn.006519b0
mov edx, dword [ebp - 0xc]
call fcn.00651470
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.006519b0
mov edx, dword [ebp - 0xc]
call fcn.00651470
mov edx, 3
call fcn.0049e54c
test al, al
je 0x9018c9
test ebx, ebx
je 0x9018c9
cmp byte [ebx + 0x10], 0
jne 0x9018c9
xor eax, eax
push ebp
push 0x9018bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea eax, [ebp - 0x14]
call fcn.0040568c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x9018c9
inc dword [ebp - 0xc]
dec dword [ebp - 0x34]
jne 0x901853
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x9018ee
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe44]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x901930
mov eax, dword [0x98a548]
mov eax, dword [eax]
call fcn.007a5bc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c4]
xor ecx, ecx
mov dl, 1
call fcn.006e7ce4
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x901ca6
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
call fcn.005f6a5c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x901c4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
call fcn.00485148
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.00404f0c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x20]
call fcn.0040adfc
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
call fcn.0040b04c
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [0x98a548]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d8]
mov eax, dword [eax + 0xe44]
call fcn.0040b04c
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00405738
jne 0x901abb
mov eax, dword [0x98a548]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d8]
call fcn.008f8674
test al, al
je 0x9019f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa40], 0
jne 0x901abb
cmp byte [ebp - 0x25], 0
je 0x901a26
cmp dword [ebp - 0x2c], 0
je 0x901a26
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x448], edx
jmp 0x901a6c
mov eax, dword [0x98a548]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d8]
mov ebx, dword [eax + 0x514]
cmp byte [ebx + 0x46d], 0
je 0x901a5d
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, eax
mov eax, dword [0x98a548]
mov eax, ebx
call fcn.00624dfc
jmp 0x901a6c
mov eax, dword [0x98a548]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
mov edx, dword [ebp - 0x10]
call fcn.005f71a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x514]
call fcn.008b7550
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
mov edx, dword [ebp - 0x10]
call fcn.005f66a4
jmp 0x901c31
mov eax, 0x96
call fcn.008ae474
push eax
mov eax, 0x78
call fcn.008ae474
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.009481fc
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
mov edx, dword [ebp - 0x10]
call fcn.005f71a0
mov eax, dword [ebp - 0x1c]
call fcn.008b7550
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
mov edx, dword [ebp - 0x10]
call fcn.005f66a4
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x24], 1
jne 0x901c31
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x78], 2
jne 0x901c31
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x14], 0x1f4
jge 0x901b7a
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x18], 0x1f4
jl 0x901c31
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00405738
je 0x901c31
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov edx, 1
call fcn.00604b8c
xor eax, eax
push ebp
push 0x901bce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov edx, dword [ebp - 0x14]
mov si, 0xffe8
call fcn.00404028
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x901bd8
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
xor edx, edx
call fcn.00604b8c
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x14], 0x190
jg 0x901c31
mov eax, dword [ebp - 0x1c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x18], 0x190
jg 0x901c31
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
mov ecx, 1
mov edx, dword [ebp - 0x10]
call fcn.005f66a4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.005f6564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x901c59
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
mov eax, dword [ebp - 0xc]
inc eax
imul eax, eax, 0x64
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c4]
call fcn.006e7bcc
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c4]
cmp dword [eax + 0xc], 1
je 0x901ca6
inc dword [ebp - 0xc]
dec dword [ebp - 0x34]
jne 0x90194c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
call fcn.005f6738
test eax, eax
jle 0x901cc8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.005f7d54
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x364]
call fcn.005f6738
lea edx, [ebp - 0x50]
call fcn.0040b818
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + 0xc0]
xor ecx, ecx
call fcn.008b47e4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00458cdc
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x901d27
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c4]
mov edx, dword [eax + 0x50]
call fcn.006e7bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x901d6a
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00937d10
mov eax, dword [ebp - 4]
call fcn.008e3b64
mov eax, dword [0x98a548]
mov eax, dword [eax]
call fcn.007a5bc8
lea eax, [ebp - 0x1c]
call fcn.004120b8
lea eax, [ebp - 0x24]
call fcn.004120b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x901e7a
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00404ca0
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004053c8
lea eax, [ebp - 0x3c]
call fcn.00404c7c
lea eax, [ebp - 0x38]
call fcn.004053b0
lea eax, [ebp - 0x20]
call fcn.00404c7c
lea eax, [ebp - 0x14]
call fcn.004053b0
ret