Function at 0x691798
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6920f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x6920de
mov eax, dword [ebp - 4]
call fcn.00692ba4
xor eax, eax
push ebp
push 0x6920cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00692b6c
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
xor eax, eax
push ebp
push 0x6920af
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x691917
mov eax, dword [ebp - 4]
call fcn.00693370
cmp dword [eax + 8], 0
jle 0x691887
mov eax, dword [ebp - 4]
call fcn.00693370
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov edi, eax
dec edi
test edi, edi
jl 0x691917
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x691913
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x58]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
inc ebx
dec edi
jne 0x69189c
test byte [ebp - 5], 4
je 0x691b26
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov edi, eax
dec edi
test edi, edi
jl 0x691a01
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068cf94
test al, al
je 0x6919f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x34]
call fcn.0068f708
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00691780
test al, al
jne 0x6919f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0068f6a8
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x5c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
inc ebx
dec edi
jne 0x69193a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov edi, eax
sub edi, 2
test edi, edi
jl 0x691b36
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
cmp dword [eax + 0x34], 0
je 0x691b1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x34]
call fcn.0068f810
add al, 0xfe
sub al, 2
jae 0x691b1c
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0069055c
call fcn.0068cf94
test al, al
jne 0x691b1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
lea edx, [ebp - 0x20]
call fcn.0068cc54
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0069055c
lea edx, [ebp - 0x30]
call fcn.0068cc54
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x40]
call fcn.0040f480
test al, al
je 0x691b1c
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x40]
call fcn.0040f414
test al, al
je 0x691ad3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0068f820
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x60]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
inc ebx
dec edi
jne 0x691a1c
jmp 0x691b36
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x691c09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x691c17
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x691b60
dec esi
test esi, esi
jle 0x691b90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0069055c
cmp dword [eax + 0x34], 0
je 0x691b90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0069055c
mov eax, dword [eax + 0x34]
call fcn.0068f810
cmp al, 3
je 0x691b5f
test esi, esi
jl 0x691bb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0069055c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
pop edx
call fcn.0068ed00
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x64]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
dec ebx
test ebx, ebx
jne 0x691b57
jmp 0x691c17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x691dca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x691d81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov esi, eax
dec esi
cmp esi, 0
jl 0x691d36
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0068bc0c
mov edx, dword [0x67f764]
call fcn.0040789c
test al, al
jne 0x691d15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0068bc0c
mov edx, dword [0x67f36c]
call fcn.0040789c
test al, al
jne 0x691d15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0068bc0c
mov edx, dword [0x67ffa8]
call fcn.0040789c
test al, al
jne 0x691d15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0068bc0c
mov edx, dword [0x680148]
call fcn.0040789c
test al, al
je 0x691d2c
test ebx, ebx
jg 0x691d15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
dec eax
jne 0x691d2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00682b9c
dec esi
cmp esi, 0xffffffff
jne 0x691c67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068bf28
test al, al
je 0x691d77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
call fcn.00682b54
test eax, eax
jne 0x691d77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.00407658
dec ebx
cmp ebx, 0xffffffff
jne 0x691c46
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x68]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
test byte [ebp - 5], 1
je 0x691f11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x691f1f
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068bf28
test al, al
jne 0x691f05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068cf94
test al, al
je 0x691f05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x34]
call fcn.0068f7e4
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068e94c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068bf28
test al, al
je 0x691ebc
test ebx, ebx
jle 0x691eaf
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0069055c
call fcn.0068cf94
test al, al
je 0x691eaf
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0069055c
mov eax, dword [eax + 0x34]
call fcn.0068f7e4
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0069055c
mov eax, dword [eax + 0x34]
pop edx
call fcn.0068f7ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00682b9c
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x6c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
dec ebx
cmp ebx, 0xffffffff
jne 0x691deb
jmp 0x691f1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x692055
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x69200c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
cmp dword [eax + 0x34], 0
je 0x691fc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.0068f7e4
test ax, ax
je 0x691f8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
dec eax
jne 0x691fc1
mov eax, esi
call fcn.0068f69c
test al, al
jne 0x691fc1
mov eax, esi
call fcn.0068f7f4
test al, al
jne 0x691fc1
mov eax, esi
call fcn.0068f810
sub al, 2
jb 0x691fba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00682b54
dec eax
jne 0x691fc1
mov eax, esi
call fcn.00407658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.0068bf28
test al, al
je 0x692002
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
mov eax, dword [eax + 0x30]
call fcn.00682b54
test eax, eax
jne 0x692002
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0069055c
call fcn.00407658
dec ebx
cmp ebx, 0xffffffff
jne 0x691f4e
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x70]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6920b6
call fcn.00406b58
test eax, eax
jne 0x692072
mov ebx, 0x64
jmp 0x692074
xor ebx, ebx
push ebx
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040f438
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x72ab4c]
call fcn.0040d834
mov eax, dword [ebp - 0x74]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00407920
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x692100
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.004093ac
ret