Function at 0x4ef83c
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 0x4f01a2
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 0x4f0187
mov eax, dword [ebp - 4]
call fcn.004f0b9c
xor eax, eax
push ebp
push 0x4f0175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f0b6c
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
xor eax, eax
push ebp
push 0x4f0158
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.004e3a20
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x4ef9bb
mov eax, dword [ebp - 4]
call fcn.004f1384
cmp dword [eax + 8], 0
jle 0x4ef92b
mov eax, dword [ebp - 4]
call fcn.004f1384
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov edi, eax
dec edi
test edi, edi
jl 0x4ef9bb
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x4ef9b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
inc ebx
dec edi
jne 0x4ef940
test byte [ebp - 5], 4
je 0x4efbcf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov edi, eax
dec edi
test edi, edi
jl 0x4efaa5
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004eb70c
test al, al
je 0x4efa9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x34]
call fcn.004edca8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.004ef824
test al, al
jne 0x4efa9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004edc84
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
inc ebx
dec edi
jne 0x4ef9de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov edi, eax
sub edi, 2
test edi, edi
jl 0x4efbdf
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
cmp dword [eax + 0x34], 0
je 0x4efbc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x34]
call fcn.004edda0
add al, 0xfe
sub al, 2
jae 0x4efbc5
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee868
call fcn.004eb70c
test al, al
jne 0x4efbc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
lea edx, [ebp - 0x20]
call fcn.004eb43c
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee868
lea edx, [ebp - 0x30]
call fcn.004eb43c
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 0x4efbc5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x4efb7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004eddb0
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
inc ebx
dec edi
jne 0x4efac0
jmp 0x4efbdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x4efcb2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x4efcc0
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x4efc09
dec esi
test esi, esi
jle 0x4efc39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ee868
cmp dword [eax + 0x34], 0
je 0x4efc39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ee868
mov eax, dword [eax + 0x34]
call fcn.004edda0
cmp al, 3
je 0x4efc08
test esi, esi
jl 0x4efc5e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ee868
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
pop edx
call fcn.004ed440
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
dec ebx
test ebx, ebx
jne 0x4efc00
jmp 0x4efcc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x4efe73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4efe2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov esi, eax
dec esi
cmp esi, 0
jl 0x4efddf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ea46c
mov edx, dword [0x4e2c20]
call fcn.00404640
test al, al
jne 0x4efdbe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ea46c
mov edx, dword [0x4e2b60]
call fcn.00404640
test al, al
jne 0x4efdbe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ea46c
mov edx, dword [0x4e2e24]
call fcn.00404640
test al, al
jne 0x4efdbe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004ea46c
mov edx, dword [0x4e2ef4]
call fcn.00404640
test al, al
je 0x4efdd5
test ebx, ebx
jg 0x4efdbe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
dec eax
jne 0x4efdd5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004e3a68
dec esi
cmp esi, 0xffffffff
jne 0x4efd10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004ea790
test al, al
je 0x4efe20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
call fcn.004e3a20
test eax, eax
jne 0x4efe20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004044a0
dec ebx
cmp ebx, 0xffffffff
jne 0x4efcef
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
test byte [ebp - 5], 1
je 0x4effba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4effc8
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004ea790
test al, al
jne 0x4effae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004eb70c
test al, al
je 0x4effae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x34]
call fcn.004edd84
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004ed088
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004ea790
test al, al
je 0x4eff65
test ebx, ebx
jle 0x4eff58
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee868
call fcn.004eb70c
test al, al
je 0x4eff58
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee868
mov eax, dword [eax + 0x34]
call fcn.004edd84
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee868
mov eax, dword [eax + 0x34]
pop edx
call fcn.004edd8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004e3a68
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
dec ebx
cmp ebx, 0xffffffff
jne 0x4efe94
jmp 0x4effc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x4f00fe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4f00b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
cmp dword [eax + 0x34], 0
je 0x4f006a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.004edd84
test ax, ax
je 0x4f0034
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
dec eax
jne 0x4f006a
mov eax, esi
call fcn.004edc78
test al, al
jne 0x4f006a
mov eax, esi
call fcn.004edd94
test al, al
jne 0x4f006a
mov eax, esi
call fcn.004edda0
sub al, 2
jb 0x4f0063
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004e3a20
dec eax
jne 0x4f006a
mov eax, esi
call fcn.004044a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004ea790
test al, al
je 0x4f00ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
mov eax, dword [eax + 0x30]
call fcn.004e3a20
test eax, eax
jne 0x4f00ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004ee868
call fcn.004044a0
dec ebx
cmp ebx, 0xffffffff
jne 0x4efff7
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f015f
call fcn.0040314c
test eax, eax
jne 0x4f011b
mov ebx, 0x64
jmp 0x4f011d
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.00422034
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x539174]
call fcn.00408cfc
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.004046b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f01a9
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00406254
ret