Function at 0x4723a8
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 0x472d0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x472cf3
mov eax, dword [ebp - 4]
call fcn.004736f8
xor eax, eax
push ebp
push 0x472ce1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004736d0
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
xor eax, eax
push ebp
push 0x472cc4
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.00466700
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x472527
mov eax, dword [ebp - 4]
call fcn.00473ee0
cmp dword [eax + 8], 0
jle 0x472497
mov eax, dword [ebp - 4]
call fcn.00473ee0
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov edi, eax
dec edi
test edi, edi
jl 0x472527
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x472523
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
inc ebx
dec edi
jne 0x4724ac
test byte [ebp - 5], 4
je 0x47273b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov edi, eax
dec edi
test edi, edi
jl 0x472611
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046e2d0
test al, al
je 0x472609
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x34]
call fcn.00470848
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00472390
test al, al
jne 0x472609
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.00470824
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
inc ebx
dec edi
jne 0x47254a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov edi, eax
sub edi, 2
test edi, edi
jl 0x47274b
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
cmp dword [eax + 0x34], 0
je 0x472731
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x34]
call fcn.00470940
add al, 0xfe
sub al, 2
jae 0x472731
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004713fc
call fcn.0046e2d0
test al, al
jne 0x472731
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
lea edx, [ebp - 0x20]
call fcn.0046e000
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004713fc
lea edx, [ebp - 0x30]
call fcn.0046e000
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_IntersectRect
test eax, eax
je 0x472731
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x4726e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.00470950
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
inc ebx
dec edi
jne 0x47262c
jmp 0x47274b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x47281e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x47282c
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x472775
dec esi
test esi, esi
jle 0x4727a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004713fc
cmp dword [eax + 0x34], 0
je 0x4727a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004713fc
mov eax, dword [eax + 0x34]
call fcn.00470940
cmp al, 3
je 0x472774
test esi, esi
jl 0x4727ca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004713fc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
pop edx
call fcn.0046fff4
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
dec ebx
test ebx, ebx
jne 0x47276c
jmp 0x47282c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x4729df
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x472996
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
call fcn.00466700
mov esi, eax
dec esi
cmp esi, 0
jl 0x47294b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0046d034
mov edx, dword [0x465a10]
call fcn.00404278
test al, al
jne 0x47292a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0046d034
mov edx, dword [0x46595c]
call fcn.00404278
test al, al
jne 0x47292a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0046d034
mov edx, dword [0x465bf0]
call fcn.00404278
test al, al
jne 0x47292a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0046d034
mov edx, dword [0x465cb4]
call fcn.00404278
test al, al
je 0x472941
test ebx, ebx
jg 0x47292a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
dec eax
jne 0x472941
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00466748
dec esi
cmp esi, 0xffffffff
jne 0x47287c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046d354
test al, al
je 0x47298c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
call fcn.00466700
test eax, eax
jne 0x47298c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.004040ec
dec ebx
cmp ebx, 0xffffffff
jne 0x47285b
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
test byte [ebp - 5], 1
je 0x472b26
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x472b34
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046d354
test al, al
jne 0x472b1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046e2d0
test al, al
je 0x472b1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x34]
call fcn.00470924
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046fc3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046d354
test al, al
je 0x472ad1
test ebx, ebx
jle 0x472ac4
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004713fc
call fcn.0046e2d0
test al, al
je 0x472ac4
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004713fc
mov eax, dword [eax + 0x34]
call fcn.00470924
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004713fc
mov eax, dword [eax + 0x34]
pop edx
call fcn.0047092c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00466748
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
dec ebx
cmp ebx, 0xffffffff
jne 0x472a00
jmp 0x472b34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x472c6a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x472c21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
cmp dword [eax + 0x34], 0
je 0x472bd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.00470924
test ax, ax
je 0x472ba0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
dec eax
jne 0x472bd6
mov eax, esi
call fcn.00470818
test al, al
jne 0x472bd6
mov eax, esi
call fcn.00470934
test al, al
jne 0x472bd6
mov eax, esi
call fcn.00470940
sub al, 2
jb 0x472bcf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00466700
dec eax
jne 0x472bd6
mov eax, esi
call fcn.004040ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.0046d354
test al, al
je 0x472c17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
mov eax, dword [eax + 0x30]
call fcn.00466700
test eax, eax
jne 0x472c17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004713fc
call fcn.004040ec
dec ebx
cmp ebx, 0xffffffff
jne 0x472b63
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472ccb
call fcn.00402f34
test eax, eax
jne 0x472c87
mov ebx, 0x64
jmp 0x472c89
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.0041476c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x48701c]
call fcn.00406d08
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.004042e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d15
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00405010
ret