Function at 0x570dd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [eax - 5], 0
mov eax, dword [ebp + 8]
lea esi, [eax - 0x18]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1c], 0
jle 0x570fd9
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1d], 0
je 0x570e6e
mov eax, dword [ebp + 8]
cmp dword [eax - 0x24], 0xffffffff
jle 0x570f8e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xcc]
call fcn.0045a69c
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x24]
jle 0x570f8e
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0xcc]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x40]
call sym.DatCutter.exe__Sgraphutils_TileBitmap_qqrp16Graphics_TCanvasr11Types_TRectp17Graphics_TGraphicrx20Smaskdata_TsMaskData18Sconst
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x570f8e
mov eax, dword [ebp + 8]
cmp dword [eax - 0x24], 0xffffffff
jle 0x570f8e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x24]
jle 0x570f8e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x1e]
test al, al
je 0x570f14
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc8]
movsx eax, word [edx + eax*8 + 0x22]
mov edx, dword [sym.DatCutter.exe__Sconst_acFillModes]
mov al, byte [edx + eax]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x70]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgraphutils_TileMasked_qqrp16Graphics_TBitmapr11Types_TRectrx17Sconst_TCacheInforx20Smaskdata_TsMaskData18Scons
jmp 0x570f87
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc8]
movsx eax, word [edx + eax*8 + 0x22]
mov edx, dword [sym.DatCutter.exe__Sconst_acFillModes]
mov al, byte [edx + eax]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc8]
mov ecx, dword [ecx + edx*8]
lea edx, [ebp - 0x40]
call sym.DatCutter.exe__Sgraphutils_TileBitmap_qqrp16Graphics_TCanvasr11Types_TRectp17Graphics_TGraphicrx20Smaskdata_TsMaskData18Sconst
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x38], 0xffffffff
je 0x570fd9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x570fbc
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x74]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x40]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x570fd9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x74]
lea edx, [ebp - 0x40]
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp + 8]
cmp dword [eax - 0x78], 0
jle 0x571232
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x57117f
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov dl, 1
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov dl, 1
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
pop edx
call sym.DatCutter.exe__Sgraphutils_CreateBmp32_qqrxixi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x571178
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x571054
mov eax, dword [ebp - 0x10]
sub eax, 0xa
cmp word [eax], 2
je 0x571054
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.0045846c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x57106b
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x5710a8
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004376b0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp - 0xc]
call sym.DatCutter.exe__Sgradient_PaintGrad_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_ii
jmp 0x5710ed
mov eax, dword [ebp - 0xc]
call fcn.004abf84
cmp al, 7
jne 0x5710cf
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x74]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 0xc]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x5710ed
mov eax, dword [ebp - 0xc]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x74]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004376b0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call sym.DatCutter.exe__Sgraphutils_SumBmpRect_qqrpx16Graphics_TBitmapt1xucrx11Types_TRectrx12Types_TPoint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571232
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
call fcn.004570c8
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5711ae
mov eax, dword [ebp - 0x2c]
sub eax, 0xa
cmp word [eax], 2
je 0x5711ae
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.0045846c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x5711c5
mov eax, dword [ebp - 0x30]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x5711e7
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGrad_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_ii
jmp 0x571232
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x571212
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x74]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x571232
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x74]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x78]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x1c]
dec eax
sub eax, 0x63
jb 0x57124c
je 0x57131e
jmp 0x571274
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
push eax
mov eax, dword [ebp + 8]
mov cl, byte [eax - 0x78]
mov eax, dword [ebp + 8]
add cl, byte [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_BlendColorRect_qqrp16Graphics_TBitmaprx11Types_TRectzc15Graphics_TColor
jmp 0x57131e
mov eax, dword [ebp + 8]
cmp byte [eax - 0x60], 0
jne 0x5712d3
mov eax, dword [ebp + 8]
cmp dword [eax - 0x80], 0x64
jne 0x5712d3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x5712b1
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x64]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x57131e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x64]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
jmp 0x57131e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x5712fe
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x74]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x57131e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x74]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
pop edi
pop esi
mov esp, ebp
pop ebp
ret