Function at 0x6b0610
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x49
push 0
push 0
dec ecx
jne 0x6b0619
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040576c
mov eax, dword [ebp - 0xc]
call fcn.0040576c
lea eax, [ebp - 0x1b0]
mov edx, dword [0x408c90]
call fcn.00405ccc
xor eax, eax
push ebp
push 0x6b118f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xb
lea eax, [ebp - 0x1dc]
lea edx, [ebp - 0x1e7]
mov dword [eax], 0xffffffff
mov byte [edx], 0
inc edx
add eax, 4
dec ecx
jne 0x6b066d
xor eax, eax
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 0x1e6], 1
xor eax, eax
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006b1260
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x6b06ca
push 0
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a8168]
mov eax, dword [edx + eax*4]
mov cx, word [0x6b119c]
mov dl, 2
call fcn.004375a0
jmp 0x6b111b
push 0
push 0
push 0
lea eax, [ebp - 0x1f8]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041a404
lea eax, [ebp - 0x1f8]
push eax
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a7de8]
mov edx, dword [edx + eax*4]
lea eax, [ebp - 0x1fc]
mov ecx, 0x6b11a8
call fcn.004055c8
mov eax, dword [ebp - 0x1fc]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006ae064
lea eax, [ebp - 0x200]
mov ecx, 0x6b11b4
mov edx, dword [ebp - 8]
call fcn.004055c8
mov eax, dword [ebp - 0x200]
lea ecx, [ebp - 0x1b0]
mov edx, 0x10
call fcn.0040a670
test eax, eax
jne 0x6b1004
test byte [ebp - 0x1a8], 0x10
jne 0x6b0fe6
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.0040a8d8
mov eax, dword [ebp - 0x34]
call fcn.0040577c
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x4c]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.006b0300
test al, al
je 0x6b085b
cmp dword [ebp - 0x3c], 0
jne 0x6b07a8
cmp dword [ebp - 0x40], 0x2faf080
jae 0x6b085b
jmp 0x6b07ae
jge 0x6b085b
lea eax, [ebp - 0x204]
push eax
fild qword [ebp - 0x40]
fdiv dword [0x6b11b8]
fstp xword [ebp - 0x210]
wait
lea eax, [ebp - 0x210]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 0x1f4], 3
fild qword [ebp - 0x48]
fdiv dword [0x6b11b8]
fstp xword [ebp - 0x21c]
wait
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 0x1ec], 3
lea edx, [ebp - 0x1f8]
mov ecx, 1
mov eax, 0x6b11c4
call fcn.0040b5bc
mov eax, dword [ebp - 0x204]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0044ef20
pop edx
call fcn.0044ee7c
push 0
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a8bb0]
mov eax, dword [edx + eax*4]
mov cx, word [0x6b119c]
xor edx, edx
call fcn.004375a0
jmp 0x6b111b
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1a4]
call fcn.00405354
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004055c8
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x10]
call fcn.0040a9a4
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x30]
call fcn.004099dc
lea eax, [ebp - 0x30]
mov ecx, 1
mov edx, 1
call fcn.0040581c
mov eax, dword [ebp - 0x30]
mov edx, 0x6b11e0
call fcn.004056c8
je 0x6b0903
mov eax, dword [ebp - 0x30]
mov edx, 0x6b11ec
call fcn.004056c8
je 0x6b0903
mov eax, dword [ebp - 0x30]
mov edx, 0x6b11fc
call fcn.004056c8
je 0x6b0903
mov eax, dword [ebp - 0x30]
mov edx, 0x6b1208
call fcn.004056c8
je 0x6b0903
mov eax, dword [ebp - 0x30]
mov edx, 0x6b1214
call fcn.004056c8
je 0x6b0903
mov eax, dword [ebp - 0x30]
mov edx, 0x6b1220
call fcn.004056c8
jne 0x6b0fe6
mov eax, dword [0x7a80cc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00522b88
test eax, eax
jne 0x6b0b2d
mov eax, dword [ebp - 0x30]
mov edx, 0x6b11e0
call fcn.004056c8
je 0x6b094b
mov eax, dword [ebp - 0x30]
mov edx, 0x6b11ec
call fcn.004056c8
je 0x6b094b
mov eax, dword [ebp - 0x30]
mov edx, 0x6b11fc
call fcn.004056c8
jne 0x6b0fe6
mov byte [ebp - 0x55], 0
mov dl, 1
mov eax, dword [0x427220]
call fcn.0042baa8
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x6b0b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.0042bc90
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0xc]
mov eax, ebx
mov edx, dword [0x4274cc]
call fcn.00404634
test al, al
je 0x6b09af
mov eax, ebx
mov edx, dword [0x4274cc]
call fcn.00404658
mov dword [ebp - 0x1c], eax
jmp 0x6b09e1
mov eax, ebx
mov edx, dword [0x4e99d0]
call fcn.00404634
test al, al
je 0x6b09e1
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x55], 1
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.006aed7c
mov dl, 6
mov eax, dword [ebp - 0x1c]
call fcn.0042f724
lea ecx, [ebp - 0x34]
mov edx, 0x6b1230
mov eax, dword [ebp - 0x10]
call fcn.0040a7bc
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call fcn.004055c8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006b1444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b0fe6
lea eax, [ebp - 0x24]
call fcn.0040ffa4
lea eax, [ebp - 0x20]
call fcn.0040ffa4
cmp byte [ebp - 0x55], 0
je 0x6b0a80
lea eax, [ebp - 0x1c]
call fcn.0040ffa4
inc dword [ebp - 0x50]
imul eax, dword [ebp - 0x50], 0x64
mov dword [ebp - 0x224], eax
fild dword [ebp - 0x224]
fild dword [ebp - 0x54]
fdivp st(1)
call fcn.00402ff4
mov ebx, eax
push ebx
push 1
push 0
lea eax, [ebp - 0x1f8]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041a404
lea eax, [ebp - 0x1f8]
push eax
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a7de8]
push dword [edx + eax*4]
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x230], 0
lea edx, [ebp - 0x234]
xor ecx, ecx
mov eax, 0x6b1240
call fcn.0040b5bc
push dword [ebp - 0x22c]
push 0x6b124c
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.0040563c
mov eax, dword [ebp - 0x228]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006ae064
ret
mov eax, dword [ebp - 0x30]
mov edx, 0x6b1208
call fcn.004056c8
jne 0x6b0e2b
push 0x20
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x419978]
call fcn.0041ee50
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x513128]
call fcn.0051371c
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x6b0e21
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0xc8], 0
je 0x6b0d61
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 0xd0]
cmp byte [ebp + ebx - 0x1e7], 0
je 0x6b0ba9
cmp dword [ebp + ebx*4 - 0x1dc], 0xffffffff
jne 0x6b0c0a
cmp ebx, 1
jl 0x6b0c0a
mov eax, dword [0x7a8aac]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
call fcn.006a405c
mov eax, dword [0x7a8aac]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
dec eax
jne 0x6b0bfa
mov eax, dword [0x7a8aac]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
mov dword [ebp + ebx*4 - 0x1dc], eax
mov eax, dword [0x7a8aac]
mov eax, dword [eax]
mov al, byte [eax + 0x328]
mov byte [ebp + ebx - 0x1e7], al
mov eax, dword [0x7a8c7c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004913a8
cmp ebx, 1
jl 0x6b0d61
cmp dword [ebp + ebx*4 - 0x1dc], 0xffffffff
je 0x6b0d61
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x6b0d5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + ebx*4 - 0x1dc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
call fcn.005201c4
mov dl, 6
mov eax, dword [ebp - 0x1c]
call fcn.0042f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.006aed7c
mov eax, dword [ebp - 4]
add eax, 0x350
push eax
mov eax, dword [ebp - 4]
add eax, 0x356
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x354]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x34c]
mov eax, dword [ebp - 0x2c]
call fcn.005202b8
mov ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x358], bl
test bl, bl
je 0x6b0d08
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x356]
inc eax
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x350]
mov eax, dword [ebp - 4]
movsx edx, word [eax + 0x354]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0069e2d4
lea ecx, [ebp - 0x34]
mov edx, 0x6b1230
mov eax, dword [ebp - 0x10]
call fcn.0040a7bc
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call fcn.004055c8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006b1444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b0d61
lea eax, [ebp - 0x1c]
call fcn.0040ffa4
lea eax, [ebp - 0x20]
call fcn.0040ffa4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b0fe6
lea eax, [ebp - 0x2c]
call fcn.0040ffa4
lea eax, [ebp - 0x28]
call fcn.0040ffa4
inc dword [ebp - 0x50]
imul eax, dword [ebp - 0x50], 0x64
mov dword [ebp - 0x224], eax
fild dword [ebp - 0x224]
fild dword [ebp - 0x54]
fdivp st(1)
call fcn.00402ff4
mov ebx, eax
push ebx
push 1
push 0
lea eax, [ebp - 0x1f8]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041a404
lea eax, [ebp - 0x1f8]
push eax
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a7de8]
push dword [edx + eax*4]
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x230], 0
lea edx, [ebp - 0x234]
xor ecx, ecx
mov eax, 0x6b1240
call fcn.0040b5bc
push dword [ebp - 0x23c]
push 0x6b124c
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.0040563c
mov eax, dword [ebp - 0x238]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006ae064
ret
mov eax, dword [ebp - 0x30]
mov edx, 0x6b1214
call fcn.004056c8
jne 0x6b0fe6
mov dl, 1
mov eax, dword [0x427220]
call fcn.0042baa8
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x6b0fdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.0042bc90
mov eax, dword [ebp - 0x24]
call fcn.0042bbb0
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 6
mov eax, dword [ebp - 0x1c]
call fcn.0042f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.006aed7c
mov eax, dword [ebp - 4]
mov byte [eax + 0x358], 0
lea ecx, [ebp - 0x34]
mov edx, 0x6b1230
mov eax, dword [ebp - 0x10]
call fcn.0040a7bc
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call fcn.004055c8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006b1444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b0fe6
lea eax, [ebp - 0x1c]
call fcn.0040ffa4
lea eax, [ebp - 0x20]
call fcn.0040ffa4
lea eax, [ebp - 0x24]
call fcn.0040ffa4
inc dword [ebp - 0x50]
imul eax, dword [ebp - 0x50], 0x64
mov dword [ebp - 0x224], eax
fild dword [ebp - 0x224]
fild dword [ebp - 0x54]
fdivp st(1)
call fcn.00402ff4
mov ebx, eax
push ebx
push 1
push 0
lea eax, [ebp - 0x1f8]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041a404
lea eax, [ebp - 0x1f8]
push eax
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a7de8]
push dword [edx + eax*4]
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x230], 0
lea edx, [ebp - 0x234]
xor ecx, ecx
mov eax, 0x6b1240
call fcn.0040b5bc
push dword [ebp - 0x244]
push 0x6b124c
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.0040563c
mov eax, dword [ebp - 0x240]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006ae064
ret
lea eax, [ebp - 0x1b0]
call fcn.0040a6c0
test eax, eax
je 0x6b074e
lea eax, [ebp - 0x1b0]
call fcn.0040a6e4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x4c]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.006b0300
test al, al
je 0x6b10a8
lea eax, [ebp - 0x248]
push eax
fild qword [ebp - 0x40]
fdiv dword [0x6b11b8]
fstp xword [ebp - 0x210]
wait
lea eax, [ebp - 0x210]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 0x1f4], 3
fild qword [ebp - 0x48]
fdiv dword [0x6b11b8]
fstp xword [ebp - 0x21c]
wait
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 0x1ec], 3
lea edx, [ebp - 0x1f8]
mov ecx, 1
mov eax, 0x6b11c4
call fcn.0040b5bc
mov eax, dword [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0044ef20
pop edx
call fcn.0044ee7c
push 0x64
push 1
push 0
lea eax, [ebp - 0x1f8]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041a404
lea eax, [ebp - 0x1f8]
push eax
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a7de8]
mov edx, dword [edx + eax*4]
lea eax, [ebp - 0x24c]
mov ecx, 0x6b1258
call fcn.004055c8
mov eax, dword [ebp - 0x24c]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006ae064
push 0
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a8b7c]
mov eax, dword [edx + eax*4]
mov cx, word [0x6b119c]
mov dl, 2
call fcn.004375a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b1196
lea eax, [ebp - 0x24c]
mov edx, 6
call fcn.004052e0
lea eax, [ebp - 0x22c]
mov edx, 2
call fcn.004052e0
lea eax, [ebp - 0x220]
call fcn.004052bc
lea eax, [ebp - 0x204]
mov edx, 3
call fcn.004052e0
lea eax, [ebp - 0x1b0]
mov edx, dword [0x408c90]
call fcn.00405d9c
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004052e0
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004052e0
ret