Function at 0x42f5d0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd418
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x44]
push eax
push 0x55dd00
call fcn.004239b0
xor esi, esi
add esp, 8
mov dword [esp + 0x4c], vtable.Rect.0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x80], esi
mov eax, dword [0x594964]
mov ecx, dword [0x594968]
mov dword [esp + 0x28], vtable.Region.0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x59496c
mov byte [esp + 0x80], 1
mov dl, byte [ebp + 0xd]
test dl, dl
jne 0x42f83e
lea ebx, [ebx]
lea ebx, [esp + 0x38]
call fcn.0042f870
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
test eax, eax
jle 0x42f816
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
test ecx, ecx
jle 0x42f816
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x34]
sub eax, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x38]
sub ebx, dword [ebp + 0x30]
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], vtable.AutoLock.0
mov dword [esp + 0x24], esi
call eax
mov byte [esp + 0x80], 3
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x60]
push eax
call edx
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
neg ecx
add dword [esp + 0x3c], ecx
add dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x1c]
neg eax
add dword [esp + 0x40], eax
add dword [esp + 0x48], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [ebp + 0x20]
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
test al, al
je 0x42f7ca
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x38]
push edx
call eax
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp esi, ecx
jge 0x42f7c6
jmp 0x42f750
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
cmp eax, edx
jge 0x42f7c0
lea esp, [esp]
lea edx, [esi + ebx]
cmp edx, ecx
jl 0x42f769
mov edx, ecx
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + ecx]
mov ecx, dword [esp + 0x44]
cmp ebx, ecx
jge 0x42f77a
mov ecx, ebx
push esi
push eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], esi
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call edx
test al, al
jne 0x42f7b0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
call fcn.00462e60
mov ecx, dword [esp + 0x48]
mov eax, ebx
cmp eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
jl 0x42f760
add esi, ebx
cmp esi, ecx
jl 0x42f750
mov esi, dword [esp + 0x18]
mov byte [esp + 0x80], 2
mov dword [esp + 0x60], vtable.Rect.0
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
mov dword [esp + 0x20], vtable.AutoLock.0
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42f7f9
cmp dword [eax + 4], 0
je 0x42f816
mov edi, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
push ecx
call fcn.0042b4c0
cmp dword [ebp + 0x18], 0
je 0x42f816
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x40]
xor esi, esi
cmp eax, esi
je 0x42f82b
push 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x80], 1
mov cl, byte [ebp + 0xd]
test cl, cl
je 0x42f670
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], vtable.Region.0
cmp eax, esi
je 0x42f85b
cmp dword [eax], esi
je 0x42f85b
push eax
call fcn.00481665
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret