Function at 0x6d5f84
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x68
push 0
push 0
dec ecx
jne 0x6d5f8c
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6d6709
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x30]
call fcn.006d5c48
mov edi, eax
xor eax, eax
mov al, byte [edi + 0x16a5]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jb 0x6d5fd4
sub eax, 2
jb 0x6d5fdd
jmp 0x6d5fe3
mov dword [ebp - 4], 1
jmp 0x6d5fe3
mov eax, dword [ebx + 0x18]
mov dword [ebp - 4], eax
mov edx, ebx
mov eax, esi
call fcn.006d5eb4
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, esi
call fcn.006d5e84
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, esi
call fcn.006d5f40
mov eax, dword [ebp - 4]
add dword [ebx + 0x80], eax
lea ecx, [ebp - 0x115]
mov eax, dword [edi + 0x4a4]
mov edx, dword [ebx + 0xc]
call fcn.004e7e88
test al, al
je 0x6d66d3
lea ecx, [ebp - 0x216]
mov eax, dword [edi + 0x4a4]
mov edx, dword [ebx + 0x10]
call fcn.004e7e88
test al, al
je 0x6d66d3
lea ecx, [ebp - 0x2af]
mov eax, dword [0x70f678]
mov eax, dword [eax]
mov edx, dword [ebx + 0x14]
call fcn.004c5bc8
test al, al
je 0x6d66d3
cmp byte [ebp - 0x252], 6
jne 0x6d6090
lea ecx, [ebp - 0x10]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, 0x6d6720
call fcn.006fbecc
jmp 0x6d60c0
cmp dword [ebp - 0xc], 1
jne 0x6d60ac
lea ecx, [ebp - 0x10]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, 0x6d6734
call fcn.006fbecc
jmp 0x6d60c0
lea ecx, [ebp - 0x10]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, 0x6d6748
call fcn.006fbecc
lea eax, [ebp - 0x14]
call fcn.00404e30
cmp dword [ebp - 0xc], 1
jne 0x6d612e
mov esi, dword [ebx + 0x18]
cmp esi, 3
setg al
mov ecx, esi
mov edx, 3
call fcn.00433df0
dec eax
test eax, eax
jl 0x6d615b
inc eax
mov esi, eax
lea eax, [ebp - 0x2b4]
push eax
movzx eax, word [ebp - 0x2af]
add eax, 0x64
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
lea edx, [ebp - 0x2bc]
xor ecx, ecx
mov eax, 0x6d675c
call fcn.0040b918
mov edx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x14]
call fcn.00405108
dec esi
jne 0x6d60eb
jmp 0x6d615b
lea eax, [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x2af]
add eax, 0x64
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
lea edx, [ebp - 0x2bc]
xor ecx, ecx
mov eax, 0x6d675c
call fcn.0040b918
cmp byte [ebp - 0xa1], 0
jne 0x6d616e
cmp byte [ebx + 0x21], 0
je 0x6d624e
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2c0]
push eax
xor ecx, ecx
mov edx, 0x6d67a0
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2c4]
push eax
mov ecx, 0x6d67b8
mov edx, 0x6d67c8
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2c8]
push eax
mov ecx, 0x6d67b8
mov edx, 0x6d67e0
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2cc]
push eax
xor ecx, ecx
mov edx, 0x6d67f8
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2d0]
push eax
mov ecx, 0x6d67b8
mov edx, 0x6d680c
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x10]
call fcn.00404ec8
jmp 0x6d6332
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x115]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f9a44
mov edx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x10]
call fcn.00404ec8
push 0
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x115]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f9354
mov edx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x10]
call fcn.00404ec8
push 0
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x115]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f90e4
mov edx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x2e0]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.006f98a4
mov edx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2e8]
lea edx, [ebp - 0x111]
call fcn.004050a4
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f8ff0
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x10]
call fcn.00404ec8
cmp byte [ebp - 0x1a2], 0
je 0x6d641f
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2ec]
push eax
xor ecx, ecx
mov edx, 0x6d6820
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2f0]
push eax
mov ecx, 0x6d67b8
mov edx, 0x6d6838
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2f4]
push eax
mov ecx, 0x6d67b8
mov edx, 0x6d6850
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2f4]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2f8]
push eax
xor ecx, ecx
mov edx, 0x6d6868
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x10]
call fcn.00404ec8
mov al, byte [0x6d6794]
push eax
lea eax, [ebp - 0x2fc]
push eax
mov ecx, 0x6d67b8
mov edx, 0x6d687c
mov eax, dword [ebp - 0x10]
call fcn.00410298
mov edx, dword [ebp - 0x2fc]
lea eax, [ebp - 0x10]
call fcn.00404ec8
jmp 0x6d6503
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x216]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f6c70
mov edx, dword [ebp - 0x300]
lea eax, [ebp - 0x10]
call fcn.00404ec8
push 0
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x216]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f693c
mov edx, dword [ebp - 0x304]
lea eax, [ebp - 0x10]
call fcn.00404ec8
push 0
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x216]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f6718
mov edx, dword [ebp - 0x308]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.006f6ad0
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x314]
lea edx, [ebp - 0x212]
call fcn.004050a4
mov ecx, dword [ebp - 0x314]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f665c
mov edx, dword [ebp - 0x310]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x318]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.006f73c8
mov edx, dword [ebp - 0x318]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea ecx, [ebp - 0x31c]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006fac34
mov edx, dword [ebp - 0x31c]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x320]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.006f744c
mov edx, dword [ebp - 0x320]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x324]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.006f7794
mov edx, dword [ebp - 0x324]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x328]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.006f7694
mov edx, dword [ebp - 0x328]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x330]
lea edx, [ebp - 0x287]
call fcn.004050a4
mov ecx, dword [ebp - 0x330]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006fc0dc
mov edx, dword [ebp - 0x32c]
lea eax, [ebp - 0x10]
call fcn.00404ec8
lea eax, [ebp - 0x334]
push eax
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.006f7618
mov edx, dword [ebp - 0x334]
lea eax, [ebp - 0x10]
call fcn.00404ec8
call fcn.0040cee4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x338]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006fc120
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 0x10]
call fcn.00404ec8
cmp byte [ebp - 0x252], 6
jne 0x6d66bf
lea eax, [ebp - 0x33c]
push eax
mov eax, dword [ebx + 0x22]
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0x344], eax
fild dword [ebp - 0x344]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x340]
call fcn.0040c818
lea eax, [ebp - 0x340]
mov edx, 0x6d6890
call fcn.00405108
mov ecx, dword [ebp - 0x340]
mov eax, dword [0x70f140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.006f8190
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x10]
call fcn.00404ec8
cmp dword [ebp - 0x10], 0
je 0x6d66d3
mov eax, dword [edi + 0x490]
mov edx, dword [ebp - 0x10]
call fcn.006ef6cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d6710
lea eax, [ebp - 0x340]
mov edx, 0x21
call fcn.00404e54
lea eax, [ebp - 0x2b4]
call fcn.00404e30
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404e54
ret