Function at 0x4ac110
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x25], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4acb21
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 0x4acb03
mov eax, dword [ebp - 4]
call fcn.004ad848
xor eax, eax
push ebp
push 0x4acaf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ad7f4
push 0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x6c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
xor eax, eax
push ebp
push 0x4acad4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
shl eax, 3
mov dword [ebp - 0x20], eax
test byte [ebp - 5], 8
je 0x4ac2ae
mov eax, dword [ebp - 4]
call fcn.004ae088
cmp dword [eax + 8], 0
jle 0x4ac20a
mov eax, dword [ebp - 4]
call fcn.004ae088
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
test eax, eax
jl 0x4ac2ae
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x4ac2a2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x5c25d4]
call fcn.0040b404
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.00405db0
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x4ac229
test byte [ebp - 5], 4
je 0x4ac4e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
test eax, eax
jl 0x4ac3a9
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a4cf8
test al, al
je 0x4ac39d
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
call fcn.004a7ac4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.004ac0f4
pop ecx
test al, al
jne 0x4ac39d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004a7a2c
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x74]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x4ac2d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
sub eax, 2
test eax, eax
jl 0x4ac4f3
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
cmp dword [eax + 0x34], 0
je 0x4ac4d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
call fcn.004a7c58
add al, 0xfe
sub al, 2
jae 0x4ac4d5
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a8de0
call fcn.004a4cf8
test al, al
jne 0x4ac4d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
lea edx, [ebp - 0x38]
call fcn.004a47c4
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a8de0
lea edx, [ebp - 0x48]
call fcn.004a47c4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_IntersectRect
test eax, eax
je 0x4ac4d5
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x4ac48c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004a7c7c
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x78]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x4ac3ca
jmp 0x4ac4f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
add eax, eax
add dword [ebp - 0x1c], eax
test byte [ebp - 5], 2
je 0x4ac5d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
cmp eax, 1
jl 0x4ac5e7
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x4ac524
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jle 0x4ac558
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a8de0
cmp dword [eax + 0x34], 0
je 0x4ac558
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
call fcn.004a7c58
cmp al, 3
je 0x4ac521
cmp dword [ebp - 0x10], 0
jl 0x4ac581
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a8de0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
pop edx
call fcn.004a6e4c
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x7c]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x7c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4ac515
jmp 0x4ac5e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
add dword [ebp - 0x1c], eax
test byte [ebp - 5], 4
je 0x4ac7b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
cmp eax, 0
jl 0x4ac769
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
cmp eax, 0
jl 0x4ac718
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a33f0
mov edx, dword [0x494518]
call fcn.00405d10
test al, al
jne 0x4ac6f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a33f0
mov edx, dword [0x494060]
call fcn.00405d10
test al, al
jne 0x4ac6f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a33f0
mov edx, dword [0x494d5c]
call fcn.00405d10
test al, al
jne 0x4ac6f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a33f0
mov edx, dword [0x494efc]
call fcn.00405d10
test al, al
je 0x4ac70b
cmp dword [ebp - 0xc], 0
jg 0x4ac6f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
jne 0x4ac70b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.00497b9c
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4ac63a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a37c8
test al, al
je 0x4ac75c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
call fcn.00497b24
test eax, eax
jne 0x4ac75c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.00405a54
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4ac617
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x80]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
test byte [ebp - 5], 1
je 0x4ac911
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
cmp eax, 0
jl 0x4ac91f
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a37c8
test al, al
jne 0x4ac902
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a4cf8
test al, al
je 0x4ac902
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
call fcn.004a7bd8
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a69cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a37c8
test al, al
je 0x4ac8b3
cmp dword [ebp - 0xc], 0
jle 0x4ac8a5
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a8de0
call fcn.004a4cf8
test al, al
je 0x4ac8a5
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
call fcn.004a7bd8
add ax, word [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
pop edx
call fcn.004a7bf4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.00497b9c
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x84]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4ac7d4
jmp 0x4ac91f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
add dword [ebp - 0x1c], eax
test byte [ebp - 5], 4
je 0x4aca6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
cmp eax, 0
jl 0x4aca1d
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
cmp dword [eax + 0x34], 0
je 0x4ac9cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.004a7bd8
test ax, ax
je 0x4ac992
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
jne 0x4ac9cc
mov eax, dword [ebp - 0x18]
call fcn.004a7a0c
test al, al
jne 0x4ac9cc
mov eax, dword [ebp - 0x18]
call fcn.004a7c10
test al, al
jne 0x4ac9cc
mov eax, dword [ebp - 0x18]
call fcn.004a7c58
sub al, 2
jb 0x4ac9c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00497b24
dec eax
jne 0x4ac9cc
mov eax, dword [ebp - 0x18]
call fcn.00405a54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.004a37c8
test al, al
je 0x4aca10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
mov eax, dword [eax + 0x30]
call fcn.00497b24
test eax, eax
jne 0x4aca10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004a8de0
call fcn.00405a54
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4ac94f
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x88]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acadb
call fcn.0040472c
test eax, eax
jne 0x4aca8b
mov dword [ebp - 0xc], 0x64
jmp 0x4aca90
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044637c
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [0x5c25d4]
call fcn.0040b404
mov eax, dword [ebp - 0x8c]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.00405db0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acb28
lea eax, [ebp - 0x8c]
mov edx, 9
call fcn.00407758
ret