Function at 0x465c24
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 0x4664d9
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 0x4664be
mov eax, dword [ebp - 4]
call fcn.00467a30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040e5f4
xor eax, eax
push ebp
push 0x4664b7
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
xor eax, eax
push ebp
push 0x466497
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.0045e00c
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x465da8
mov eax, dword [ebp - 4]
call fcn.0046744c
cmp dword [eax + 8], 0
jle 0x465d18
mov eax, dword [ebp - 4]
call fcn.0046744c
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
mov edi, eax
dec edi
test edi, edi
jl 0x465da8
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x465da4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
inc esi
dec edi
jne 0x465d2d
test byte [ebp - 5], 4
je 0x465fb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
mov edi, eax
dec edi
test edi, edi
jl 0x465e8f
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
cmp byte [eax + 0x34], 0
je 0x465e87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x38]
call fcn.00463ab8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00465c0c
test al, al
jne 0x465e87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00463aa4
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
inc esi
dec edi
jne 0x465dcb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
mov edi, eax
sub edi, 2
test edi, edi
jl 0x465fc6
inc edi
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
cmp dword [eax + 0x38], 0
je 0x465fac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x38]
call fcn.00463b50
add al, 0xfe
sub al, 2
jae 0x465fac
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004645c8
cmp byte [eax + 0x34], 0
jne 0x465fac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
lea edx, [ebp - 0x20]
call fcn.004614c0
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004645c8
lea edx, [ebp - 0x30]
call fcn.004614c0
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 0x465fac
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x465f63
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00463b60
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
inc esi
dec edi
jne 0x465eaa
jmp 0x465fc6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x466095
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
mov esi, eax
dec esi
cmp esi, 1
jl 0x4660a3
inc dword [ebp - 0xc]
mov ebx, esi
dec ebx
jmp 0x465ff0
dec ebx
test ebx, ebx
jle 0x466020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.004645c8
cmp dword [eax + 0x38], 0
je 0x466020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.004645c8
mov eax, dword [eax + 0x38]
call fcn.00463b50
cmp al, 3
je 0x465fef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.004645c8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
pop edx
call fcn.0046337c
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
dec esi
test esi, esi
jne 0x465fe7
jmp 0x4660a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
add dword [ebp - 0xc], eax
test byte [ebp - 5], 1
je 0x4661e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
mov esi, eax
dec esi
cmp esi, 0
jl 0x4661f2
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
call fcn.0046065c
test al, al
jne 0x4661d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
cmp byte [eax + 0x34], 0
je 0x4661d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x38]
call fcn.00463b38
movzx ebx, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
call fcn.0046301c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
call fcn.0046065c
test al, al
je 0x46618f
test esi, esi
jle 0x466182
mov edx, esi
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004645c8
cmp byte [eax + 0x34], 0
je 0x466182
mov edi, esi
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004645c8
mov eax, dword [eax + 0x38]
call fcn.00463b38
add ax, bx
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004645c8
mov eax, dword [eax + 0x38]
pop edx
call fcn.00463b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.0045e03c
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
dec esi
cmp esi, 0xffffffff
jne 0x4660c4
jmp 0x4661f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x46641a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
mov esi, eax
dec esi
cmp esi, 0
jl 0x4663cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
call fcn.0045e00c
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x466311
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004603a4
mov edx, dword [0x459600]
call fcn.00403024
test al, al
jne 0x4662f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004603a4
mov edx, dword [0x459540]
call fcn.00403024
test al, al
jne 0x4662f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004603a4
mov edx, dword [0x4597f8]
call fcn.00403024
test al, al
jne 0x4662f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004603a4
mov edx, dword [0x4598cc]
call fcn.00403024
test al, al
je 0x466307
test esi, esi
jg 0x4662f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
dec eax
jne 0x466307
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0045e03c
dec ebx
cmp ebx, 0xffffffff
jne 0x466242
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
cmp dword [eax + 0x38], 0
je 0x466384
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov ebx, dword [eax + 0x38]
mov eax, ebx
call fcn.00463b38
test ax, ax
je 0x46634e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
dec eax
jne 0x466384
mov eax, ebx
call fcn.00463a9c
test al, al
jne 0x466384
mov eax, ebx
call fcn.00463b48
test al, al
jne 0x466384
mov eax, ebx
call fcn.00463b50
sub al, 2
jb 0x46637d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0045e00c
dec eax
jne 0x466384
mov eax, ebx
call fcn.00402eac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
call fcn.0046065c
test al, al
je 0x4663c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
mov eax, dword [eax + 0x30]
call fcn.0045e00c
test eax, eax
jne 0x4663c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004645c8
call fcn.00402eac
dec esi
cmp esi, 0xffffffff
jne 0x466221
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
jmp 0x46643b
test byte [ebp - 5], 0x10
je 0x46643b
cmp byte [ebp - 6], 9
jne 0x46643b
lea edx, [ebp - 0x70]
mov eax, 0x459c68
call fcn.0040579c
mov eax, dword [ebp - 0x70]
call fcn.00459e50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46649e
call fcn.004095d4
test eax, eax
jne 0x466458
mov esi, 0x64
jmp 0x46645a
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.0040d814
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, 0x459ca0
call fcn.0040579c
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.00403088
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4664e0
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00403bdc
ret