Function at 0x56fca0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [eax - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x10]
cmp eax, 0x64
jne 0x56fe16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
dec eax
sub eax, 0x63
jae 0x56fe16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 + 0x22], 0
jne 0x56fe16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp dword [eax + 0xc], 2
jge 0x56fe16
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_IsValidImgIndex_qqri
test al, al
je 0x56fe16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
cmp dword [edx + eax*8], 0
je 0x56fdb5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGradTxt_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_t1t2ucu
jmp 0x5703f0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x190]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGradTxt_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_t1t2ucu
jmp 0x5703f0
mov eax, dword [ebp + 8]
lea esi, [eax - 0x28]
lea edi, [ebp - 0x4c]
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 - 0xc], 0
jle 0x57000d
mov eax, dword [ebp + 8]
cmp byte [eax - 0x29], 0
je 0x56fea2
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0xffffffff
jle 0x56ffc2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xcc]
call fcn.0045a69c
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x14]
jle 0x56ffc2
mov eax, dword [ebp + 8]
add eax, 0xffffff9c
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 - 0x14]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xcc]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x4c]
call sym.DatCutter.exe__Sgraphutils_TileBitmap_qqrp16Graphics_TCanvasr11Types_TRectp17Graphics_TGraphicrx20Smaskdata_TsMaskData18Sconst
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x56ffc2
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0xffffffff
jle 0x56ffc2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x14]
jle 0x56ffc2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x1e]
test al, al
je 0x56ff48
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
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 - 0x78]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgraphutils_TileMasked_qqrp16Graphics_TBitmapr11Types_TRectrx17Sconst_TCacheInforx20Smaskdata_TsMaskData18Scons
jmp 0x56ffbb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
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 - 0x14]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc8]
mov ecx, dword [ecx + edx*8]
lea edx, [ebp - 0x4c]
call sym.DatCutter.exe__Sgraphutils_TileBitmap_qqrp16Graphics_TCanvasr11Types_TRectp17Graphics_TGraphicrx20Smaskdata_TsMaskData18Sconst
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x44], 0xffffffff
je 0x57000d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x56fff0
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x4c]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x57000d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
lea edx, [ebp - 0x4c]
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0
jle 0x570295
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x5701e2
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
mov dl, 1
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
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 0x5701db
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 0x570088
mov eax, dword [ebp - 0x10]
sub eax, 0xa
cmp word [eax], 2
je 0x570088
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 0x57009f
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x5700dc
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x6c]
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 - 0x6c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp - 0xc]
call sym.DatCutter.exe__Sgradient_PaintGrad_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_ii
jmp 0x570121
mov eax, dword [ebp - 0xc]
call fcn.004abf84
cmp al, 7
jne 0x570103
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 0xc]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x570121
mov eax, dword [ebp - 0xc]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xff
jge 0x57014a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x570151
mov dword [ebp - 0x1c], 0xff
cmp dword [ebp - 0x1c], 0
jle 0x57015f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x570164
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
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 - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x20]
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 0x570295
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
call fcn.004570c8
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x570211
mov eax, dword [ebp - 0x38]
sub eax, 0xa
cmp word [eax], 2
je 0x570211
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.0045846c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x570228
mov eax, dword [ebp - 0x3c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jle 0x57024a
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGrad_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_ii
jmp 0x570295
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x570275
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x570295
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
sub eax, 1
jb 0x5702d7
sub eax, 0x63
jae 0x5703f0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
push eax
mov eax, dword [ebp + 8]
mov cl, byte [eax - 0x10]
mov eax, dword [ebp + 8]
add cl, byte [eax - 0xc]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_BlendColorRect_qqrp16Graphics_TBitmaprx11Types_TRectzc15Graphics_TColor
jmp 0x5703f0
mov eax, dword [ebp + 8]
cmp byte [eax - 0x68], 0
jne 0x5703a5
mov eax, dword [ebp + 8]
cmp dword [eax - 0x80], 0
je 0x5703a5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x80]
sub eax, 1
jb 0x570303
sub eax, 0x63
je 0x570314
jmp 0x570325
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
jmp 0x570352
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
jmp 0x570352
mov eax, dword [ebp + 8]
fild dword [eax - 0x80]
fdiv dword [0x5703f8]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
call sym.DatCutter.exe__Sgraphutils_MixColors_qqr15Graphics_TColort1d
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x570380
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x84]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x5703f0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x84]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
jmp 0x5703f0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abf84
cmp al, 7
jne 0x5703d0
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x5703f0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004abe84
call fcn.004a65ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
pop edi
pop esi
mov esp, ebp
pop ebp
ret