Function at 0x78532c
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 0x785c92
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 0x785c77
mov eax, dword [ebp - 4]
call fcn.0078668c
xor eax, eax
push ebp
push 0x785c65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0078665c
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
xor eax, eax
push ebp
push 0x785c48
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.00779510
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x7854ab
mov eax, dword [ebp - 4]
call fcn.00786e74
cmp dword [eax + 8], 0
jle 0x78541b
mov eax, dword [ebp - 4]
call fcn.00786e74
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov edi, eax
dec edi
test edi, edi
jl 0x7854ab
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x7854a7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
inc ebx
dec edi
jne 0x785430
test byte [ebp - 5], 4
je 0x7856bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov edi, eax
dec edi
test edi, edi
jl 0x785595
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.007811fc
test al, al
je 0x78558d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x34]
call fcn.00783798
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00785314
test al, al
jne 0x78558d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.00783774
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
inc ebx
dec edi
jne 0x7854ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov edi, eax
sub edi, 2
test edi, edi
jl 0x7856cf
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
cmp dword [eax + 0x34], 0
je 0x7856b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x34]
call fcn.00783890
add al, 0xfe
sub al, 2
jae 0x7856b5
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00784358
call fcn.007811fc
test al, al
jne 0x7856b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
lea edx, [ebp - 0x20]
call fcn.00780f2c
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00784358
lea edx, [ebp - 0x30]
call fcn.00780f2c
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 0x7856b5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.USER32.DLL_EqualRect
test eax, eax
je 0x78566c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.007838a0
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
inc ebx
dec edi
jne 0x7855b0
jmp 0x7856cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x7857a2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x7857b0
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x7856f9
dec esi
test esi, esi
jle 0x785729
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00784358
cmp dword [eax + 0x34], 0
je 0x785729
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00784358
mov eax, dword [eax + 0x34]
call fcn.00783890
cmp al, 3
je 0x7856f8
test esi, esi
jl 0x78574e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00784358
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
pop edx
call fcn.00782f30
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
dec ebx
test ebx, ebx
jne 0x7856f0
jmp 0x7857b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x785963
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x78591a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
call fcn.00779510
mov esi, eax
dec esi
cmp esi, 0
jl 0x7858cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0077ff5c
mov edx, dword [0x778710]
call fcn.004c0b94
test al, al
jne 0x7858ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0077ff5c
mov edx, dword [0x778650]
call fcn.004c0b94
test al, al
jne 0x7858ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0077ff5c
mov edx, dword [0x778914]
call fcn.004c0b94
test al, al
jne 0x7858ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0077ff5c
mov edx, dword [0x7789e4]
call fcn.004c0b94
test al, al
je 0x7858c5
test ebx, ebx
jg 0x7858ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
dec eax
jne 0x7858c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00779558
dec esi
cmp esi, 0xffffffff
jne 0x785800
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.00780280
test al, al
je 0x785910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
call fcn.00779510
test eax, eax
jne 0x785910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.004c09bc
dec ebx
cmp ebx, 0xffffffff
jne 0x7857df
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
test byte [ebp - 5], 1
je 0x785aaa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x785ab8
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.00780280
test al, al
jne 0x785a9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.007811fc
test al, al
je 0x785a9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x34]
call fcn.00783874
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.00782b78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.00780280
test al, al
je 0x785a55
test ebx, ebx
jle 0x785a48
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00784358
call fcn.007811fc
test al, al
je 0x785a48
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00784358
mov eax, dword [eax + 0x34]
call fcn.00783874
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00784358
mov eax, dword [eax + 0x34]
pop edx
call fcn.0078387c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00779558
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
dec ebx
cmp ebx, 0xffffffff
jne 0x785984
jmp 0x785ab8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x785bee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x785ba5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
cmp dword [eax + 0x34], 0
je 0x785b5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.00783874
test ax, ax
je 0x785b24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
dec eax
jne 0x785b5a
mov eax, esi
call fcn.00783768
test al, al
jne 0x785b5a
mov eax, esi
call fcn.00783884
test al, al
jne 0x785b5a
mov eax, esi
call fcn.00783890
sub al, 2
jb 0x785b53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00779510
dec eax
jne 0x785b5a
mov eax, esi
call fcn.004c09bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.00780280
test al, al
je 0x785b9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
mov eax, dword [eax + 0x30]
call fcn.00779510
test eax, eax
jne 0x785b9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00784358
call fcn.004c09bc
dec ebx
cmp ebx, 0xffffffff
jne 0x785ae7
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x785c4f
call fcn.004bfb5c
test eax, eax
jne 0x785c0b
mov ebx, 0x64
jmp 0x785c0d
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.00493a3c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x7b9b58]
call fcn.004c54fc
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.004c0c04
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x785c99
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.004c29f0
ret