Function at 0x536918
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]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x10]
cmp eax, 0x64
jne 0x536ac6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
dec eax
sub eax, 0x63
jae 0x536ac6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 0x536ac6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
cmp dword [eax + 0xc], 2
jge 0x536ac6
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_IsValidImgIndex_qqri
test al, al
je 0x536ac6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 0x536a4b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 - 0x18]
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
mov eax, dword [ebp + 8]
fild dword [eax - 0x30]
fdiv dword [0x536f98]
fsubr dword [0x536f9c]
call fcn.00456748
mov edx, eax
shl eax, 8
sub eax, edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGradTxt_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_t1t2ucu
jmp 0x536f91
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 - 0x18]
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
mov eax, dword [ebp + 8]
fild dword [eax - 0x30]
fdiv dword [0x536f98]
fsubr dword [0x536f9c]
call fcn.00456748
mov edx, eax
shl eax, 8
sub eax, edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGradTxt_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_t1t2ucu
jmp 0x536f91
mov eax, dword [ebp + 8]
lea esi, [eax - 0x2c]
lea edi, [ebp - 0x48]
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 0x536c1e
mov eax, dword [ebp + 8]
cmp dword [eax - 0x18], 0xffffffff
jle 0x536c00
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 - 0x18]
jle 0x536c00
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 0x536b86
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 - 0x18]
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 ecx, dword [sym.DatCutter.exe__Sconst_EmptyCI]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgraphutils_TileMasked_qqrp16Graphics_TBitmapr11Types_TRectrx17Sconst_TCacheInforx20Smaskdata_TsMaskData18Scons
jmp 0x536bf9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x48]
call sym.DatCutter.exe__Sgraphutils_TileBitmap_qqrp16Graphics_TCanvasr11Types_TRectp17Graphics_TGraphicrx20Smaskdata_TsMaskData18Sconst
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x40], 0xffffffff
je 0x536c1e
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x48]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0
jle 0x536e45
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x536dbd
mov eax, dword [ebp + 8]
add eax, 0xffffffd4
mov dl, 1
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd4
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 0x536db6
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 0x536c99
mov eax, dword [ebp - 0x10]
sub eax, 0xa
cmp word [eax], 2
je 0x536c99
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 0x536cb0
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x536ced
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
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.0041c16c
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 0xc]
call sym.DatCutter.exe__Sgradient_PaintGrad_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_ii
jmp 0x536d06
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 0xc]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
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 0x536d2f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x536d36
mov dword [ebp - 0x1c], 0xff
cmp dword [ebp - 0x1c], 0
jle 0x536d44
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x536d49
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 - 0x58]
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.0041c16c
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.0041c13c
lea eax, [ebp - 0x60]
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 0x536e45
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
call fcn.004570c8
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x536dec
mov eax, dword [ebp - 0x28]
sub eax, 0xa
cmp word [eax], 2
je 0x536dec
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.0045846c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x536e03
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x536e25
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Sgradient_PaintGrad_qqrp16Graphics_TBitmaprx11Types_TRectx41System__DynamicArray_t16Sconst_TsGradPie_ii
jmp 0x536e45
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x536f91
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
sub eax, 1
jb 0x536e87
sub eax, 0x63
jae 0x536f91
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x34]
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 - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_BlendColorRect_qqrp16Graphics_TBitmaprx11Types_TRectzc15Graphics_TColor
jmp 0x536f91
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
call sym.DatCutter.exe__Salphagraph_GetAPixel_qqrpx16Graphics_TBitmapii
mov edx, dword [ebp + 8]
mov dword [edx - 0x38], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x38], 0
je 0x536f60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
sub eax, 1
jb 0x536ebc
sub eax, 0x63
je 0x536edc
jmp 0x536efe
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x536f91
mov eax, dword [ebp + 8]
mov al, byte [eax - 0x35]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
jmp 0x536f91
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x35]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, 0x64
sub edx, dword [eax - 0x30]
mov eax, edx
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jle 0x536f35
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
jmp 0x536f3b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dl, 0x64
sub dl, byte [eax - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0052fee4
jmp 0x536f91
mov eax, dword [ebp + 8]
mov edx, 0x64
sub edx, dword [eax - 0x30]
mov eax, edx
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
pop edi
pop esi
mov esp, ebp
pop ebp
ret