Function at 0x4e1930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x79a200]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x72545243
push esi
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
call fcn.004f8ed0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4e1dc4
push 0x67545243
push esi
call fcn.004f8ed0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x4e1dc4
push 0x62545243
push esi
call fcn.004f8ed0
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x4e1dc4
push 0x7258595a
push esi
call fcn.004f8ed0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4e1dc4
push 0x6758595a
push esi
call fcn.004f8ed0
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x4e1dc4
push 0x6258595a
push esi
call fcn.004f8ed0
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
test esi, esi
je 0x4e1dc4
xor ecx, ecx
nop dword [eax]
mov eax, dword [esp + ecx + 0x2c]
cmp dword [eax + 4], 0x63757276
jne 0x4e1dbd
mov eax, dword [esp + ecx + 0x20]
cmp dword [eax + 4], 0x58595a20
jne 0x4e1dbd
add ecx, 4
cmp ecx, 0xc
jb 0x4e1a20
call fcn.004e05a0
mov edi, eax
test edi, edi
jne 0x4e1a5f
mov eax, str.error:_jas_cmpxform_createshapmat_failed_n
jmp 0x4e1dc9
mov dword [edi + 8], 3
mov dword [edi + 0xc], 3
call fcn.004e06a0
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4e1a86
mov eax, str.error:_jas_cmpxformseq_create_failed_n
jmp 0x4e1dc9
push edi
push 0xffffffffffffffff
push ebx
call fcn.004e0830
add esp, 0xc
test eax, eax
je 0x4e1aa0
mov eax, str.error:_jas_cmpxformseq_insertpxform_failed_n
jmp 0x4e1dc9
cmp dword [ebp + 0xc], 0
lea ecx, [edi + 0x38]
mov eax, dword [esp + 0x20]
movsd xmm1, qword [0x6f7c70]
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 1
mov dword [edi + 0x1c], 1
jne 0x4e1bd1
mov dword [edi + 0x14], 0
lea ebx, [edi + 0x20]
movd xmm0, dword [eax + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [ecx], xmm0
movd xmm0, dword [eax + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x58], xmm0
movd xmm0, dword [eax + 0x14]
mov eax, dword [esp + 0x24]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x78], xmm0
movd xmm0, dword [eax + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x40], xmm0
movd xmm0, dword [eax + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x60], xmm0
movd xmm0, dword [eax + 0x14]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x80], xmm0
movd xmm0, dword [esi + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x48], xmm0
movd xmm0, dword [esi + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x68], xmm0
movd xmm0, dword [esi + 0x14]
xor esi, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [edi + 0x88], xmm0
xorps xmm0, xmm0
movsd qword [edi + 0x50], xmm0
movsd qword [edi + 0x70], xmm0
movsd qword [edi + 0x90], xmm0
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0x2c]
add eax, 0xc
push eax
push ebx
call fcn.004e0e50
add esp, 8
test eax, eax
jne 0x4e1bc3
inc esi
add ebx, 8
cmp esi, 3
jb 0x4e1ba0
jmp 0x4e1d41
mov ebx, dword [esp + 0x14]
mov eax, str.error:_jas_cmshapmatlut_set_failed_n
jmp 0x4e1dc9
mov dword [edi + 0x14], 1
movd xmm0, dword [eax + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
movd xmm0, dword [eax + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x58], xmm0
movd xmm0, dword [eax + 0x14]
mov eax, dword [esp + 0x24]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x78], xmm0
movd xmm0, dword [eax + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
movd xmm0, dword [eax + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [eax + 0x14]
lea eax, [esp + 0x38]
cvtdq2pd xmm0, xmm0
push eax
push ecx
mulsd xmm0, xmm1
movsd qword [esp + 0x88], xmm0
movd xmm0, dword [esi + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x50], xmm0
movd xmm0, dword [esi + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x70], xmm0
movd xmm0, dword [esi + 0x14]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
movsd qword [esp + 0x90], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x98], xmm0
call fcn.004e0950
add esp, 8
test eax, eax
je 0x4e1cc1
mov eax, str.error:_jas_cmshapmat_invmat_failed_n
jmp 0x4e1dc9
xor esi, esi
lea ebx, [edi + 0x20]
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0x2c]
add eax, 0xc
mov dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
call fcn.004e0e50
add esp, 8
test eax, eax
jne 0x4e1daa
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004e0b60
add esp, 0xc
test eax, eax
jne 0x4e1d97
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e1d30
push eax
call fcn.004e5580
add esp, 4
mov dword [esp + 0xc], 0
inc esi
mov dword [esp + 0x10], 0
add ebx, 8
cmp esi, 3
jb 0x4e1cd0
xor esi, esi
push dword [esp + esi + 0x2c]
call fcn.004f8a60
push dword [esp + esi + 0x24]
call fcn.004f8a60
add esi, 4
add esp, 8
cmp esi, 0xc
jb 0x4e1d43
add dword [edi], 0xffffffff
jne 0x4e1d76
mov eax, dword [edi + 4]
push edi
mov eax, dword [eax]
call eax
push edi
call fcn.004e5580
add esp, 8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov eax, str.error:_jas_cmshapmatlut_invert_failed_n
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
jmp 0x4e1dc9
mov ecx, dword [esp + 0xc]
mov eax, str.error:_jas_cmshapmatlut_set_failed_n
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
jmp 0x4e1dc9
mov eax, str.error:_unexpected_ICC_profile_type_n
jmp 0x4e1dc9
mov eax, str.error:_unexpected_attribute_value_n
push eax
call fcn.004f7130
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4e1de3
push eax
call fcn.004e5580
add esp, 4
xor esi, esi
mov eax, dword [esp + esi + 0x2c]
test eax, eax
je 0x4e1df6
push eax
call fcn.004f8a60
add esp, 4
mov eax, dword [esp + esi + 0x20]
test eax, eax
je 0x4e1e07
push eax
call fcn.004f8a60
add esp, 4
add esi, 4
cmp esi, 0xc
jb 0x4e1de5
test ebx, ebx
je 0x4e1e1c
push ebx
call fcn.004e0790
add esp, 4
test edi, edi
je 0x4e1e36
add dword [edi], 0xffffffff
jne 0x4e1e36
mov eax, dword [edi + 4]
push edi
mov eax, dword [eax]
call eax
push edi
call fcn.004e5580
add esp, 8
mov ecx, dword [esp + 0x9c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret