Function at 0x100284f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x74
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sym._cmsGetProfileContextID
mov dword [esp], ebx
mov esi, eax
call sym._cmsGetDeviceClass
cmp eax, 0x6e6d636c
je 0x100286f0
cmp dword [ebp + 0xc], 3
ja 0x10028575
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov edi, dword [eax*4 + str.0B2A1B2A2B2A1B2A0B2D1B2D2B2D3B2D]
mov eax, dword [eax*4 + 0x100455d0]
mov dword [esp + 4], eax
mov dword [esp + 0x18], eax
call sym._cmsIsTag
test eax, eax
jne 0x100288b0
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._cmsIsTag
mov dword [esp], ebx
test eax, eax
mov eax, 0x41324230
cmove edi, eax
mov dword [esp + 4], edi
call sym._cmsIsTag
test eax, eax
jne 0x10028838
mov dword [esp], ebx
call sym._cmsGetColorSpace
mov dword [esp], ebx
cmp eax, 0x47524159
je 0x10028780
call sym._cmsGetProfileContextID
mov edx, ebx
mov esi, eax
lea eax, [esp + 0x2c]
call sym._ReadICCMatrixRGB2XYZ
test eax, eax
je 0x10028774
movsd xmm1, qword [0x10044598]
lea ecx, [esp + 0x2c]
lea edi, [esp + 0x74]
mov eax, ecx
xor edx, edx
movsd xmm0, qword [eax]
inc edx
add eax, 8
mulsd xmm0, xmm1
movsd qword [eax - 8], xmm0
cmp edx, 3
jne 0x100285b9
add ecx, 0x18
cmp ecx, edi
jne 0x100285b5
mov dword [esp + 4], 0x72545243
mov dword [esp], ebx
call sym._cmsReadTag
mov dword [esp + 4], 0x67545243
mov dword [esp], ebx
mov dword [esp + 0x20], eax
call sym._cmsReadTag
mov dword [esp + 4], 0x62545243
mov dword [esp], ebx
mov dword [esp + 0x24], eax
call sym._cmsReadTag
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x10028774
mov edx, dword [esp + 0x24]
test edx, edx
je 0x10028774
test eax, eax
je 0x10028774
mov dword [esp + 8], 3
mov dword [esp + 4], 3
mov dword [esp], esi
call sym._cmsPipelineAlloc
mov edi, eax
test eax, eax
je 0x10028774
lea eax, [esp + 0x20]
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._cmsStageAllocToneCurves
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
je 0x1002876c
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 3
mov dword [esp], esi
call sym._cmsStageAllocMatrix
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
je 0x1002876c
mov dword [esp], ebx
call sym._cmsGetPCS
cmp eax, 0x4c616220
jne 0x10028776
mov dword [esp], esi
call sym.__cmsStageAllocXYZ2Lab
jmp 0x10028754
mov dword [esp], ebx
mov dword [esp + 4], 0x6e636c32
call sym._cmsReadTag
mov ebx, eax
test eax, eax
je 0x10028774
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._cmsPipelineAlloc
mov edi, eax
test eax, eax
je 0x10028774
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym.__cmsStageAllocNamedColor
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
je 0x1002876c
mov dword [esp], esi
call sym.__cmsStageAllocLabV2ToV4
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
jne 0x10028776
mov dword [esp], edi
call sym._cmsPipelineFree
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._cmsGetProfileContextID
mov dword [esp + 4], 0x6b545243
mov dword [esp], ebx
mov esi, eax
call sym._cmsReadTag
mov dword [esp + 0x1c], eax
mov edi, eax
test eax, eax
je 0x10028776
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._cmsPipelineAlloc
mov edi, eax
test eax, eax
je 0x1002876c
mov dword [esp], ebx
call sym._cmsGetPCS
cmp eax, 0x4c616220
je 0x10028933
lea eax, [esp + 0x1c]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._cmsStageAllocToneCurves
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
je 0x1002876c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10045780
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov dword [esp], esi
call sym._cmsStageAllocMatrix
jmp 0x10028754
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._cmsReadTag
test eax, eax
mov dword [esp + 0x18], eax
je 0x10028774
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym.__cmsGetTagTrueType
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp], edx
call sym._cmsPipelineDup
cmp dword [esp + 0x14], 0x6d667432
mov edi, eax
jne 0x10028776
mov dword [esp], ebx
call sym._cmsGetPCS
cmp eax, 0x4c616220
jne 0x10028776
mov dword [esp], ebx
call sym._cmsGetColorSpace
cmp eax, 0x4c616220
jne 0x1002874c
mov dword [esp], esi
call sym.__cmsStageAllocLabV4ToV2
jmp 0x10028734
mov dword [esp], ebx
call sym._cmsGetProfileContextID
mov dword [esp], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call sym._cmsReadTag
mov dword [esp], eax
call sym._cmsPipelineDup
mov dword [esp], ebx
mov edi, eax
call sym._cmsGetColorSpace
mov dword [esp], ebx
mov esi, eax
call sym._cmsGetPCS
mov ebx, eax
test edi, edi
je 0x10028774
cmp esi, 0x4c616220
je 0x100289ee
cmp esi, 0x58595a20
je 0x10028a2c
cmp ebx, 0x4c616220
je 0x10028a1b
cmp ebx, 0x58595a20
jne 0x10028776
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeFromXyzFloat
jmp 0x10028754
lea eax, [esp + 0x20]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 0x20], 0x80808080
call sym._cmsBuildTabulatedToneCurve16
mov ebx, eax
test eax, eax
je 0x1002876c
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0x10047ae0
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov dword [esp], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call sym._cmsStageAllocMatrix
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
je 0x10028a3a
lea eax, [esp + 0x2c]
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._cmsStageAllocToneCurves
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
je 0x10028a3a
mov dword [esp], ebx
call sym._cmsFreeToneCurve
jmp 0x10028776
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeToLabFloat
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._cmsPipelineInsertStage
test eax, eax
jne 0x1002890a
jmp 0x1002876c
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeFromLabFloat
jmp 0x10028754
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeToXyzFloat
jmp 0x100289fa
mov dword [esp], ebx
call sym._cmsFreeToneCurve
jmp 0x1002876c