Function at 0x919148
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x919150
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x91957a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa98], 0
jne 0x91955f
xor edx, edx
push ebp
push 0x919555
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x919544
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa98], 1
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbd0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xbc8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0xc], edx
xor edx, edx
call fcn.0044b198
mov eax, dword [ebp - 4]
call fcn.008f8604
test al, al
jne 0x9191e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f8]
jmp 0x9191f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xea4]
mov ebx, dword [eax + 0x304]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe68]
xor edx, edx
call fcn.00405738
jne 0x91921b
call fcn.004046a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x91955f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe68]
call fcn.008b4ad4
test al, al
jne 0x91923f
call fcn.004046a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x91955f
mov eax, dword [ebp - 4]
call fcn.0091779c
cmp dword [ebx + 0xc], 0
setg byte [ebp - 6]
cmp byte [ebp - 6], 0
jne 0x919264
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jg 0x919264
xor eax, eax
jmp 0x919266
mov al, 1
mov byte [ebp - 7], al
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x919294
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0064885c
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00405738
je 0x919365
xor eax, eax
push ebp
push 0x91935e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.009424f0
mov eax, dword [ebp - 4]
call fcn.008dfa08
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00953430
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00938230
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00937d10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48c]
call fcn.006118d4
test eax, eax
jle 0x919303
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb60]
call fcn.008b9c98
test al, al
je 0x919303
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00938238
mov eax, dword [ebp - 4]
mov byte [eax + 0xb5f], 1
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebp - 4]
call fcn.00918ca4
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x919365
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00937d10
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00938230
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00938238
mov eax, dword [ebp - 4]
call fcn.008df8a8
mov ecx, 0x64
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00953430
ret
mov eax, dword [ebp - 4]
call fcn.00917ad8
cmp byte [ebp - 5], 0
je 0x9194ed
xor eax, eax
push ebp
push 0x9194e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x98aad0]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x12], ax
mov eax, dword [0x98a548]
mov eax, dword [eax]
call fcn.007a5a74
cmp byte [ebp - 7], 0
je 0x9193b2
push 0x96
call sub.kernel32.dll_Sleep_1
jmp 0x9193b9
push 0x32
call sub.kernel32.dll_Sleep_1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.009167bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbd0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xbc8]
cmp eax, dword [ebp - 0x10]
je 0x919429
mov eax, dword [ebp - 4]
call fcn.0094942c
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xec]
test eax, eax
jne 0x919410
mov eax, ebx
call fcn.006518c4
test eax, eax
je 0x919410
mov eax, ebx
call fcn.006518c4
mov cl, 1
mov edx, 3
call fcn.0049e5b4
mov eax, ebx
call fcn.006518c4
test eax, eax
je 0x919429
mov eax, ebx
call fcn.006518c4
xor edx, edx
call fcn.0049e36c
cmp byte [ebp - 6], 0
je 0x9194c0
mov eax, dword [ebp - 4]
call fcn.008f8604
test al, al
je 0x919491
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.0065da60
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.008b0e84
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040b04c
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe68]
call fcn.008b0e84
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040b04c
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00405738
jne 0x9194c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.0065396c
test eax, eax
je 0x9194c0
push 0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2e0]
mov eax, ebx
call fcn.0065396c
mov edx, eax
mov eax, ebx
mov cl, 1
call fcn.0065eabc
mov eax, dword [ebp - 4]
call fcn.0091c070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9194ed
mov eax, dword [0x98aad0]
mov eax, dword [eax]
mov dx, word [ebp - 0x12]
call fcn.00478f6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x91954b
mov eax, dword [ebp - 4]
mov byte [eax + 0xa98], 0
xor edx, edx
push ebp
push 0x919539
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c0]
cmp dword [eax + 0x30], 0
jne 0x91952f
cmp dword [ebp - 0xc], 0
jle 0x91952f
mov edx, dword [ebp - 0xc]
call fcn.0044b198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x919543
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x919581
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.004053c8
ret