Function at 0x4fe558
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 0x4feebe
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 0x4feea3
mov eax, dword [ebp - 4]
call fcn.004ff9a8
xor eax, eax
push ebp
push 0x4fee91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ff978
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
xor eax, eax
push ebp
push 0x4fee74
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.004ee9bc
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x4fe6d7
mov eax, dword [ebp - 4]
call fcn.00500174
cmp dword [eax + 8], 0
jle 0x4fe647
mov eax, dword [ebp - 4]
call fcn.00500174
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov edi, eax
dec edi
test edi, edi
jl 0x4fe6d7
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x4fe6d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
inc ebx
dec edi
jne 0x4fe65c
test byte [ebp - 5], 4
je 0x4fe8eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov edi, eax
dec edi
test edi, edi
jl 0x4fe7c1
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004f8c1c
test al, al
je 0x4fe7b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x34]
call fcn.004fb3e8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.004fe540
test al, al
jne 0x4fe7b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004fb388
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
inc ebx
dec edi
jne 0x4fe6fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov edi, eax
sub edi, 2
test edi, edi
jl 0x4fe8fb
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
cmp dword [eax + 0x34], 0
je 0x4fe8e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x34]
call fcn.004fb4f0
add al, 0xfe
sub al, 2
jae 0x4fe8e1
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004fc290
call fcn.004f8c1c
test al, al
jne 0x4fe8e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
lea edx, [ebp - 0x20]
call fcn.004f88dc
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004fc290
lea edx, [ebp - 0x30]
call fcn.004f88dc
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 0x4fe8e1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x4fe898
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004fb500
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
inc ebx
dec edi
jne 0x4fe7dc
jmp 0x4fe8fb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x4fe9ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x4fe9dc
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x4fe925
dec esi
test esi, esi
jle 0x4fe955
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004fc290
cmp dword [eax + 0x34], 0
je 0x4fe955
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
inc eax
xor byte [ebx - 0x26b8172a], cl
invalid
dec dword [ebx - 0x6017cbc0]
retf
invalid
invalid
cmp al, 3
je 0x4fe924
test esi, esi
jl 0x4fe97a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004fc290
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
pop edx
call fcn.004fa99c
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
dec ebx
test ebx, ebx
jne 0x4fe91c
jmp 0x4fe9dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x4feb8f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4feb46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov esi, eax
dec esi
cmp esi, 0
jl 0x4feafb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004f7894
mov edx, dword [0x4eb6c0]
call fcn.0040500c
test al, al
jne 0x4feada
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004f7894
mov edx, dword [0x4eb21c]
call fcn.0040500c
test al, al
jne 0x4feada
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004f7894
mov edx, dword [0x4ebed8]
call fcn.0040500c
test al, al
jne 0x4feada
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004f7894
mov edx, dword [0x4ec064]
call fcn.0040500c
test al, al
je 0x4feaf1
test ebx, ebx
jg 0x4feada
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
dec eax
jne 0x4feaf1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.004eea04
dec esi
cmp esi, 0xffffffff
jne 0x4fea2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004f7bb0
test al, al
je 0x4feb3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
test eax, eax
jne 0x4feb3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.00404df0
dec ebx
cmp ebx, 0xffffffff
jne 0x4fea0b
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
test byte [ebp - 5], 1
je 0x4fecd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4fece4
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004f7bb0
test al, al
jne 0x4fecca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004f8c1c
test al, al
je 0x4fecca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x34]
call fcn.004fb4c4
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004fa5e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004f7bb0
test al, al
je 0x4fec81
test ebx, ebx
jle 0x4fec74
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004fc290
call fcn.004f8c1c
test al, al
je 0x4fec74
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004fc290
mov eax, dword [eax + 0x34]
call fcn.004fb4c4
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004fc290
mov eax, dword [eax + 0x34]
pop edx
call fcn.004fb4cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004eea04
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
dec ebx
cmp ebx, 0xffffffff
jne 0x4febb0
jmp 0x4fece4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x4fee1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4fedd1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
cmp dword [eax + 0x34], 0
je 0x4fed86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.004fb4c4
test ax, ax
je 0x4fed50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
dec eax
jne 0x4fed86
mov eax, esi
call fcn.004fb37c
test al, al
jne 0x4fed86
mov eax, esi
call fcn.004fb4d4
test al, al
jne 0x4fed86
mov eax, esi
call fcn.004fb4f0
sub al, 2
jb 0x4fed7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
dec eax
jne 0x4fed86
mov eax, esi
call fcn.00404df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.004f7bb0
test al, al
je 0x4fedc7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
mov eax, dword [eax + 0x30]
call fcn.004ee9bc
test eax, eax
jne 0x4fedc7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004fc290
call fcn.00404df0
dec ebx
cmp ebx, 0xffffffff
jne 0x4fed13
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fee7b
call fcn.0040426c
test eax, eax
jne 0x4fee37
mov ebx, 0x64
jmp 0x4fee39
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.00430eb4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x50f9f8]
call fcn.00409bd4
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.0040507c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feec5
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.004069ec
ret