Function at 0x57174c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x571755
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004044a4
mov eax, dword [ebp - 0xc]
call fcn.004044a4
xor eax, eax
push ebp
push 0x571e5b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x5717af
mov eax, dword [ebp - 0xc]
call fcn.004042f0
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x5717af
lea eax, [ebp - 0xc]
mov edx, 0x571e74
call fcn.004042f8
mov eax, dword [ebp - 8]
mov edx, 0x571e80
call fcn.00404400
sete byte [ebp - 0x26]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x4c], edx
xor ebx, ebx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x49], 1
xor eax, eax
push ebp
push 0x5718a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0x26], 0
je 0x5717f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x20], eax
jmp 0x571831
mov eax, dword [ebp - 8]
call fcn.0040a6e8
test al, al
jne 0x571811
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x571e19
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 1
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x20]
call fcn.00415760
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.00404158
mov eax, dword [ebp - 0x18]
call fcn.004044b4
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00415760
mov eax, dword [ebp - 4]
lea edx, [eax + 0x38]
mov ecx, 4
mov eax, dword [ebp - 0x20]
call fcn.00415760
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, 4
mov eax, dword [ebp - 0x20]
call fcn.00415760
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5718e1
mov byte [ebp - 0x25], 1
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x20]
call fcn.00415760
cmp dword [ebp - 0x10], 0
jle 0x571d9e
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.00404158
mov eax, dword [ebp - 0x18]
call fcn.004044b4
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00415760
lea eax, [ebp - 0x2c]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004044f8
mov eax, dword [ebp - 0x2c]
mov edx, 0x571eb0
call fcn.00404400
jne 0x571b3a
mov eax, dword [ebp - 0x20]
call fcn.00403308
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 3
mov edx, 0xa
mov eax, dword [ebp - 0x18]
call fcn.004044f8
jmp 0x57198b
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004042f0
mov ecx, eax
dec ecx
mov edx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004044f8
lea eax, [ebp - 0x30]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.004044f8
mov eax, dword [ebp - 0x30]
mov edx, 0x571ec4
call fcn.00404400
je 0x57196f
mov eax, dword [ebp - 4]
cmp word [eax + 0x6a], 0
je 0x5719d9
mov eax, dword [ebp - 4]
add eax, 0x49
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040a4dc
mov ecx, eax
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x6c]
call dword [ebx + 0x68]
jmp 0x571a13
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x571ed0
call fcn.0040b5c8
mov eax, dword [ebp - 0x34]
mov cx, word [0x571efc]
mov dl, 2
call fcn.0045e720
dec eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x49], al
lea eax, [ebp - 0x48]
push eax
mov ecx, 3
mov edx, 0xa
mov eax, dword [ebp - 0x18]
call fcn.004044f8
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x571f08
call fcn.0040433c
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0040a98c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.00404108
mov eax, dword [ebp - 8]
call fcn.0040a6e8
test al, al
jne 0x571a6b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x49], 0
jne 0x5719b0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x49], 0
je 0x571d9e
xor eax, eax
push ebp
push 0x571b33
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp byte [ebp - 0x25], 0
je 0x571ad7
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.00415728
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov al, byte [ebp - 0x25]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00571f2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571d9e
cmp byte [ebp - 0x25], 0
je 0x571b32
mov eax, dword [ebp - 4]
cmp word [eax + 0x7a], 0
je 0x571b1c
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x44]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x7c]
call dword [ebx + 0x78]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.0040a748
mov eax, dword [ebp - 0x24]
call fcn.00403308
ret
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x20]
call fcn.00415760
cmp dword [ebp - 0xc], 0
je 0x571b6e
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
call fcn.0040ab44
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 0xc]
call fcn.0040433c
jmp 0x571b7c
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 0x18]
call fcn.004040c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x58], 0
je 0x571bb7
cmp dword [ebp - 0xc], 0
je 0x571bb7
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004042f0
mov ecx, eax
mov edx, 4
mov eax, dword [ebp - 0x18]
call fcn.004044f8
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 0xc]
call fcn.0040433c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040a680
mov ebx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d]
cmp eax, 4
ja case.default.0x571bd0
jmp dword [eax*4 + 0x571bd7]
mov byte [ebp - 0x25], 1
jmp case.default.0x571bd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040a6e8
xor al, 1
mov byte [ebp - 0x25], al
jmp case.default.0x571bd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040a6e8
test al, al
je 0x571c1b
cmp ebx, dword [ebp - 0x14]
jl 0x571c1b
xor eax, eax
jmp 0x571c1d
mov al, 1
mov byte [ebp - 0x25], al
jmp case.default.0x571bd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040a6e8
mov byte [ebp - 0x25], al
jmp case.default.0x571bd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040a6e8
test al, al
je 0x571c46
cmp ebx, dword [ebp - 0x14]
jl 0x571c4a
xor eax, eax
jmp 0x571c4c
mov al, 1
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x18]
mov edx, 0x571f14
call fcn.00404400
jne 0x571c64
mov byte [ebp - 0x25], 0
jmp 0x571c88
mov eax, dword [ebp - 4]
cmp word [eax + 0x72], 0
je 0x571c88
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x25]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x44]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x74]
call dword [ebx + 0x70]
cmp byte [ebp - 0x25], 0
je 0x571cbd
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040aa54
mov eax, dword [ebp - 0x54]
call fcn.004fe310
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040aa54
mov eax, dword [ebp - 0x58]
call fcn.004fe2ec
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x571d8f
xor eax, eax
push ebp
push 0x571d88
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x571d29
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 0x24], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00571f2c
mov eax, dword [ebp - 4]
inc dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x571d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571d9e
mov eax, dword [ebp - 4]
cmp word [eax + 0x7a], 0
je 0x571d71
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x44]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x7c]
call dword [ebx + 0x78]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.0040a748
mov eax, dword [ebp - 0x24]
call fcn.00403308
ret
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00571f2c
cmp dword [ebp - 0x10], 0
je 0x571db1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x49], 0
jne 0x5718e5
cmp byte [ebp - 0x26], 0
jne 0x571dc5
cmp dword [ebp - 0x20], 0
je 0x571dc5
mov eax, dword [ebp - 0x20]
call fcn.00403308
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
jne 0x571dd7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x49], 0
jne 0x571ddb
xor ebx, ebx
jmp 0x571ddd
mov bl, 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x62], 0
je 0x571dfe
push 0x64
mov eax, dword [ebp - 4]
add eax, 0x49
push eax
mov esi, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x64]
call dword [esi + 0x60]
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x571e19
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00571574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571e62
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00404094
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404094
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404094
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404094
ret