Function at 0x47db00
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 0x47e3b5
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 0x47e39a
mov eax, dword [ebp - 4]
call fcn.0047f9a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040f5e8
xor eax, eax
push ebp
push 0x47e393
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, 0x471b20
call fcn.00405910
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.00403298
xor eax, eax
push ebp
push 0x47e373
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.00475e8c
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x47dc84
mov eax, dword [ebp - 4]
call fcn.0047f3bc
cmp dword [eax + 8], 0
jle 0x47dbf4
mov eax, dword [ebp - 4]
call fcn.0047f3bc
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
mov edi, eax
dec edi
test edi, edi
jl 0x47dc84
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x47dc80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, 0x471b20
call fcn.00405910
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.00403298
inc esi
dec edi
jne 0x47dc09
test byte [ebp - 5], 4
je 0x47de92
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
mov edi, eax
dec edi
test edi, edi
jl 0x47dd6b
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
cmp byte [eax + 0x34], 0
je 0x47dd63
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x38]
call fcn.0047b958
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.0047dae8
test al, al
jne 0x47dd63
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0047b944
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, 0x471b20
call fcn.00405910
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.00403298
inc esi
dec edi
jne 0x47dca7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
mov edi, eax
sub edi, 2
test edi, edi
jl 0x47dea2
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
cmp dword [eax + 0x38], 0
je 0x47de88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x38]
call fcn.0047b9f0
add al, 0xfe
sub al, 2
jae 0x47de88
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047c468
cmp byte [eax + 0x34], 0
jne 0x47de88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
lea edx, [ebp - 0x20]
call fcn.00479360
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047c468
lea edx, [ebp - 0x30]
call fcn.00479360
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 0x47de88
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x47de3f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0047ba00
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, 0x471b20
call fcn.00405910
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.00403298
inc esi
dec edi
jne 0x47dd86
jmp 0x47dea2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x47df71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
mov esi, eax
dec esi
cmp esi, 1
jl 0x47df7f
inc dword [ebp - 0xc]
mov ebx, esi
dec ebx
jmp 0x47decc
dec ebx
test ebx, ebx
jle 0x47defc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0047c468
cmp dword [eax + 0x38], 0
je 0x47defc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0047c468
mov eax, dword [eax + 0x38]
call fcn.0047b9f0
cmp al, 3
je 0x47decb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0047c468
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
pop edx
call fcn.0047b21c
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, 0x471b20
call fcn.00405910
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.00403298
dec esi
test esi, esi
jne 0x47dec3
jmp 0x47df7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
add dword [ebp - 0xc], eax
test byte [ebp - 5], 1
je 0x47e0c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
mov esi, eax
dec esi
cmp esi, 0
jl 0x47e0ce
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
call fcn.004784dc
test al, al
jne 0x47e0b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
cmp byte [eax + 0x34], 0
je 0x47e0b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x38]
call fcn.0047b9d8
movzx ebx, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
call fcn.0047aebc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
call fcn.004784dc
test al, al
je 0x47e06b
test esi, esi
jle 0x47e05e
mov edx, esi
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047c468
cmp byte [eax + 0x34], 0
je 0x47e05e
mov edi, esi
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047c468
mov eax, dword [eax + 0x38]
call fcn.0047b9d8
add ax, bx
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0047c468
mov eax, dword [eax + 0x38]
pop edx
call fcn.0047b9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.00475ebc
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, 0x471b20
call fcn.00405910
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.00403298
dec esi
cmp esi, 0xffffffff
jne 0x47dfa0
jmp 0x47e0ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x47e2f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
mov esi, eax
dec esi
cmp esi, 0
jl 0x47e2ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
call fcn.00475e8c
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x47e1ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00478224
mov edx, dword [0x471480]
call fcn.00403234
test al, al
jne 0x47e1cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00478224
mov edx, dword [0x4713c0]
call fcn.00403234
test al, al
jne 0x47e1cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00478224
mov edx, dword [0x471678]
call fcn.00403234
test al, al
jne 0x47e1cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00478224
mov edx, dword [0x47174c]
call fcn.00403234
test al, al
je 0x47e1e3
test esi, esi
jg 0x47e1cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
dec eax
jne 0x47e1e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00475ebc
dec ebx
cmp ebx, 0xffffffff
jne 0x47e11e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
cmp dword [eax + 0x38], 0
je 0x47e260
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov ebx, dword [eax + 0x38]
mov eax, ebx
call fcn.0047b9d8
test ax, ax
je 0x47e22a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
dec eax
jne 0x47e260
mov eax, ebx
call fcn.0047b93c
test al, al
jne 0x47e260
mov eax, ebx
call fcn.0047b9e8
test al, al
jne 0x47e260
mov eax, ebx
call fcn.0047b9f0
sub al, 2
jb 0x47e259
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00475e8c
dec eax
jne 0x47e260
mov eax, ebx
call fcn.004030bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
call fcn.004784dc
test al, al
je 0x47e2a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
mov eax, dword [eax + 0x30]
call fcn.00475e8c
test eax, eax
jne 0x47e2a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0047c468
call fcn.004030bc
dec esi
cmp esi, 0xffffffff
jne 0x47e0fd
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, 0x471b20
call fcn.00405910
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.00403298
jmp 0x47e317
test byte [ebp - 5], 0x10
je 0x47e317
cmp byte [ebp - 6], 9
jne 0x47e317
lea edx, [ebp - 0x70]
mov eax, 0x471ae8
call fcn.00405910
mov eax, dword [ebp - 0x70]
call fcn.00471cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e37a
call fcn.0040a60c
test eax, eax
jne 0x47e334
mov esi, 0x64
jmp 0x47e336
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.0040e808
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, 0x471b20
call fcn.00405910
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.00403298
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3bc
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00403e08
ret