Function at 0x1002d190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
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 0x1002d398
cmp dword [ebp + 0xc], 3
ja 0x1002d215
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov edi, dword [eax*4 + 0x1004a208]
mov eax, dword [eax*4 + 0x1004a1f8]
mov dword [esp + 4], eax
mov dword [esp + 0x18], eax
call sym._cmsIsTag
test eax, eax
jne 0x1002d560
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 0x1002d4e8
mov dword [esp], ebx
call sym._cmsGetColorSpace
mov dword [esp], ebx
cmp eax, 0x47524159
je 0x1002d430
call sym._cmsGetProfileContextID
mov edx, ebx
mov esi, eax
lea eax, [esp + 0x2c]
call sym._ReadICCMatrixRGB2XYZ
test eax, eax
je 0x1002d41c
movupd xmm2, xmmword [0x1004a220]
lea eax, [esp + 0x2c]
lea edx, [esp + 0x74]
movsd xmm1, qword [0x1004a230]
lea esi, [esi]
movupd xmm0, xmmword [eax]
add eax, 0x18
mulpd xmm0, xmm2
movups xmmword [eax - 0x18], xmm0
movsd xmm0, qword [eax - 8]
mulsd xmm0, xmm1
movsd qword [eax - 8], xmm0
cmp edx, eax
jne 0x1002d260
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 0x1002d41c
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1002d41c
test eax, eax
je 0x1002d41c
mov dword [esp + 8], 3
mov dword [esp + 4], 3
mov dword [esp], esi
call sym._cmsPipelineAlloc
mov edi, eax
test eax, eax
je 0x1002d41c
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 0x1002d414
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 0x1002d414
mov dword [esp], ebx
call sym._cmsGetPCS
cmp eax, 0x4c616220
jne 0x1002d41e
mov dword [esp], esi
call sym.__cmsStageAllocXYZ2Lab
jmp 0x1002d3fc
mov dword [esp], ebx
mov dword [esp + 4], 0x6e636c32
call sym._cmsReadTag
mov ebx, eax
test eax, eax
je 0x1002d41c
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._cmsPipelineAlloc
mov edi, eax
test eax, eax
je 0x1002d41c
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 0x1002d414
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 0x1002d41e
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 0x1002d41e
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._cmsPipelineAlloc
mov edi, eax
test eax, eax
je 0x1002d414
mov dword [esp], ebx
call sym._cmsGetPCS
cmp eax, 0x4c616220
je 0x1002d5e8
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 0x1002d414
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x1004a1c0
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov dword [esp], esi
call sym._cmsStageAllocMatrix
jmp 0x1002d3fc
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._cmsReadTag
test eax, eax
mov dword [esp + 0x18], eax
je 0x1002d41c
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 0x1002d41e
mov dword [esp], ebx
call sym._cmsGetPCS
cmp eax, 0x4c616220
jne 0x1002d41e
mov dword [esp], ebx
call sym._cmsGetColorSpace
cmp eax, 0x4c616220
jne 0x1002d3f4
mov dword [esp], esi
call sym.__cmsStageAllocLabV4ToV2
jmp 0x1002d3dc
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 0x1002d41c
cmp esi, 0x4c616220
je 0x1002d6a8
cmp esi, 0x58595a20
je 0x1002d6f0
cmp ebx, 0x4c616220
je 0x1002d6d8
cmp ebx, 0x58595a20
jne 0x1002d41e
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeFromXyzFloat
jmp 0x1002d3fc
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 0x1002d414
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0x1004a1a8
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 0x1002d700
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 0x1002d700
mov dword [esp], ebx
call sym._cmsFreeToneCurve
jmp 0x1002d41e
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 0x1002d5ba
jmp 0x1002d414
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeFromLabFloat
jmp 0x1002d3fc
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.__cmsStageNormalizeToXyzFloat
jmp 0x1002d6b4
mov dword [esp], ebx
call sym._cmsFreeToneCurve
jmp 0x1002d414