Function at 0x475db8
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 - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47666d
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 0x476652
mov eax, dword [ebp - 4]
call fcn.00477bc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00412188
xor eax, eax
push ebp
push 0x47664b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
xor eax, eax
push ebp
push 0x47662b
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 + 0x24]
call fcn.0046e1a0
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x475f3c
mov eax, dword [ebp - 4]
call fcn.004775e0
cmp dword [eax + 8], 0
jle 0x475eac
mov eax, dword [ebp - 4]
call fcn.004775e0
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
mov edi, eax
dec edi
test edi, edi
jl 0x475f3c
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x475f38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
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.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x58]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
inc esi
dec edi
jne 0x475ec1
test byte [ebp - 5], 4
je 0x47614a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
mov edi, eax
dec edi
test edi, edi
jl 0x476023
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
cmp byte [eax + 0x34], 0
je 0x47601b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x38]
call fcn.00473c4c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00475da0
test al, al
jne 0x47601b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00473c38
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.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x5c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
inc esi
dec edi
jne 0x475f5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
mov edi, eax
sub edi, 2
test edi, edi
jl 0x47615a
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
cmp dword [eax + 0x38], 0
je 0x476140
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x38]
call fcn.00473ce4
add al, 0xfe
sub al, 2
jae 0x476140
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047475c
cmp byte [eax + 0x34], 0
jne 0x476140
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
lea edx, [ebp - 0x20]
call fcn.00471654
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047475c
lea edx, [ebp - 0x30]
call fcn.00471654
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 0x476140
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x4760f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00473cf4
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.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x60]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
inc esi
dec edi
jne 0x47603e
jmp 0x47615a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x476229
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
mov esi, eax
dec esi
cmp esi, 1
jl 0x476237
inc dword [ebp - 0xc]
mov ebx, esi
dec ebx
jmp 0x476184
dec ebx
test ebx, ebx
jle 0x4761b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0047475c
cmp dword [eax + 0x38], 0
je 0x4761b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0047475c
mov eax, dword [eax + 0x38]
call fcn.00473ce4
cmp al, 3
je 0x476183
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0047475c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
pop edx
call fcn.00473510
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.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x64]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
dec esi
test esi, esi
jne 0x47617b
jmp 0x476237
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
add dword [ebp - 0xc], eax
test byte [ebp - 5], 1
je 0x476378
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
mov esi, eax
dec esi
cmp esi, 0
jl 0x476386
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
call fcn.004707f0
test al, al
jne 0x47636c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
cmp byte [eax + 0x34], 0
je 0x47636c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x38]
call fcn.00473ccc
movzx ebx, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
call fcn.004731b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
call fcn.004707f0
test al, al
je 0x476323
test esi, esi
jle 0x476316
mov edx, esi
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047475c
cmp byte [eax + 0x34], 0
je 0x476316
mov edi, esi
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047475c
mov eax, dword [eax + 0x38]
call fcn.00473ccc
add ax, bx
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047475c
mov eax, dword [eax + 0x38]
pop edx
call fcn.00473cd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0046e1d0
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.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x68]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
dec esi
cmp esi, 0xffffffff
jne 0x476258
jmp 0x476386
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x4765ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
mov esi, eax
dec esi
cmp esi, 0
jl 0x476563
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
call fcn.0046e1a0
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4764a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00470538
mov edx, dword [0x469794]
call fcn.00403310
test al, al
jne 0x476484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00470538
mov edx, dword [0x4696d4]
call fcn.00403310
test al, al
jne 0x476484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00470538
mov edx, dword [0x46998c]
call fcn.00403310
test al, al
jne 0x476484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00470538
mov edx, dword [0x469a60]
call fcn.00403310
test al, al
je 0x47649b
test esi, esi
jg 0x476484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
dec eax
jne 0x47649b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0046e1d0
dec ebx
cmp ebx, 0xffffffff
jne 0x4763d6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
cmp dword [eax + 0x38], 0
je 0x476518
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov ebx, dword [eax + 0x38]
mov eax, ebx
call fcn.00473ccc
test ax, ax
je 0x4764e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
dec eax
jne 0x476518
mov eax, ebx
call fcn.00473c30
test al, al
jne 0x476518
mov eax, ebx
call fcn.00473cdc
test al, al
jne 0x476518
mov eax, ebx
call fcn.00473ce4
sub al, 2
jb 0x476511
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046e1a0
dec eax
jne 0x476518
mov eax, ebx
call fcn.00403198
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
call fcn.004707f0
test al, al
je 0x476559
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
mov eax, dword [eax + 0x30]
call fcn.0046e1a0
test eax, eax
jne 0x476559
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047475c
call fcn.00403198
dec esi
cmp esi, 0xffffffff
jne 0x4763b5
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.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x6c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
jmp 0x4765cf
test byte [ebp - 5], 0x10
je 0x4765cf
cmp byte [ebp - 6], 9
jne 0x4765cf
lea edx, [ebp - 0x70]
mov eax, 0x469dfc
call fcn.0040639c
mov eax, dword [ebp - 0x70]
call fcn.00469fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476632
call fcn.0040c410
test eax, eax
jne 0x4765ec
mov esi, 0x64
jmp 0x4765ee
xor esi, esi
mov eax, esi
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00411110
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, 0x469e34
call fcn.0040639c
mov eax, dword [ebp - 0x74]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00403374
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476674
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00403f5c
ret