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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], edi
call fcn.1024abd0
mov ecx, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], 1
xor esi, esi
mov dword [esp + 0x10], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10248364
sub ecx, edx
jne 0x102483ab
xor ebx, ebx
push str.cmap1_default.pal
mov dword [esp + 0x1c], ebx
call fcn.10249b60
add esp, 4
test eax, eax
je 0x102483a1
mov ecx, dword [eax]
test ecx, ecx
je 0x10248394
mov ebx, ecx
mov dword [eax], esi
mov dword [esp + 0x18], ebx
push eax
call fcn.1024da60
add esp, 4
test ebx, ebx
jne 0x102483e1
push str.cmap1_default.pal
jmp 0x102490a1
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.10249b60
add esp, 4
test eax, eax
je 0x102490a0
mov ecx, dword [eax]
test ecx, ecx
je 0x102483d0
mov ebx, ecx
mov dword [eax], esi
mov dword [esp + 0x18], ebx
push eax
call fcn.1024da60
add esp, 4
test ebx, ebx
je 0x102490a0
push ebx
lea eax, [esp + 0xa4]
push 0xa0
push eax
call fcn.1024ad20
add esp, 0xc
test eax, eax
je 0x10249098
push 2
lea eax, [esp + 0xa4]
push 0x102e67b0
push eax
call fcn.102718c0
add esp, 0xc
test eax, eax
jne 0x102484ae
push 3
lea esi, [eax + 1]
lea eax, [esp + 0xa7]
push 0x102e67b4
push eax
call fcn.102718c0
add esp, 0xc
test eax, eax
jne 0x10248442
mov dword [esp + 0x14], eax
jmp 0x10248490
push 3
lea eax, [esp + 0xa7]
push 0x102a790c
push eax
call fcn.102718c0
add esp, 0xc
test eax, eax
je 0x1024848c
lea eax, [esp + 0xa3]
push eax
push str.Invalid_color_space__s___assuming_RGB_n
lea eax, [esp + 0x148]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x150]
push eax
call fcn.1024aca0
add esp, 0x14
mov dword [esp + 0x14], esi
push ebx
lea eax, [esp + 0xa4]
push 0xa0
push eax
call fcn.1024ad20
add esp, 0xc
test eax, eax
je 0x10249098
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa4]
push 0x102e66bc
push eax
call fcn.10062530
add esp, 0xc
cmp eax, 1
jne 0x1024905d
mov eax, dword [esp + 0xc]
cmp eax, 2
jl 0x1024905d
shl eax, 3
push eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x10]
shl ecx, 3
push ecx
mov dword [esp + 0x30], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x14]
shl ecx, 3
push ecx
mov dword [esp + 0x2c], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x18]
shl ecx, 2
push ecx
mov dword [esp + 0x3c], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x1c]
shl ecx, 2
push ecx
mov dword [esp + 0x5c], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x20]
shl ecx, 2
push ecx
mov dword [esp + 0x54], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x24]
shl ecx, 3
push ecx
mov dword [esp + 0x68], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x28]
shl ecx, 3
push ecx
mov dword [esp + 0x60], eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
lea ecx, [ecx*4 - 4]
push ecx
call fcn.1026cf9e
add esp, 0x24
mov dword [esp + 0x24], eax
xor edi, edi
test esi, esi
jne 0x102488b3
mov dword [esp + 0x1c], esi
cmp dword [esp + 0xc], edi
jle 0x10248876
mov ecx, dword [esp + 0x28]
mov esi, ecx
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov dword [esp + 0x30], eax
push ebx
lea eax, [esp + 0xa4]
push 0xa0
push eax
call fcn.1024ad20
add esp, 0xc
test eax, eax
je 0x10249094
lea eax, [esp + 0x44]
mov byte [esp + 0x13f], 0
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xb4]
push str._2x_2x_2x__d__d
push eax
call fcn.10062530
mov ebx, eax
add esp, 0x1c
cmp ebx, 4
jl 0x10248824
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1024862f
cmp ebx, eax
jne 0x10248824
mov eax, dword [esp + 0x64]
movsd xmm1, qword [0x102a5f90]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0x1c], ebx
movsd xmm4, qword [0x102e6e90]
addsd xmm0, qword [eax*8 + 0x102a4f50]
divsd xmm0, xmm1
movsd qword [esi], xmm0
mov eax, dword [esp + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102a4f50]
divsd xmm0, xmm1
movsd qword [edx + esi], xmm0
mov eax, dword [esp + 0x60]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102a4f50]
mov eax, dword [esp + 0x38]
divsd xmm0, xmm1
movsd xmm1, qword [0x102a2928]
movsd qword [ecx + esi], xmm0
movsd qword [eax + esi], xmm1
movd xmm0, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x102a58f8]
movsd qword [eax + esi], xmm0
movsd xmm2, qword [esi]
comisd xmm4, xmm2
ja 0x10248818
movsd xmm3, qword [0x102e6e60]
comisd xmm2, xmm3
ja 0x10248818
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x10248708
movsd qword [esi], xmm0
jmp 0x10248712
comisd xmm2, xmm1
jbe 0x10248712
movsd qword [esi], xmm1
movsd xmm2, qword [edx + esi]
comisd xmm4, xmm2
ja 0x1024880c
comisd xmm2, xmm3
ja 0x1024880c
comisd xmm0, xmm2
jbe 0x10248738
movsd qword [edx + esi], xmm0
jmp 0x10248743
comisd xmm2, xmm1
jbe 0x10248743
movsd qword [edx + esi], xmm1
movsd xmm2, qword [ecx + esi]
comisd xmm4, xmm2
ja 0x10248800
comisd xmm2, xmm3
ja 0x10248800
comisd xmm0, xmm2
jbe 0x10248769
movsd qword [ecx + esi], xmm0
jmp 0x10248774
comisd xmm2, xmm1
jbe 0x10248774
movsd qword [ecx + esi], xmm1
movsd xmm2, qword [eax + esi]
comisd xmm4, xmm2
ja 0x102487cd
comisd xmm2, xmm3
ja 0x102487cd
comisd xmm0, xmm2
jbe 0x10248792
movsd qword [eax + esi], xmm0
jmp 0x1024879d
comisd xmm2, xmm1
jbe 0x1024879d
movsd qword [eax + esi], xmm1
cmp ebx, 5
jne 0x102487b6
mov eax, dword [esp + 0xc]
dec eax
cmp edi, eax
je 0x102487b6
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov dword [ecx + edi*4], eax
inc edi
add esi, 8
cmp edi, dword [esp + 0xc]
jge 0x1024885b
mov ebx, dword [esp + 0x18]
jmp 0x102485c0
lea eax, [esp + 0xa0]
push eax
push 4
push str.Unrecognized_cmap1_format_data_line.__Error_number_is__d._Line_is__s_n
lea eax, [esp + 0x14c]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x154]
push eax
call fcn.1024aca0
add esp, 0x18
jmp 0x10248853
lea eax, [esp + 0xa0]
push eax
push 3
jmp 0x102487d7
lea eax, [esp + 0xa0]
push eax
push 2
jmp 0x102487d7
lea eax, [esp + 0xa0]
push eax
push 1
jmp 0x102487d7
lea eax, [esp + 0xa0]
push eax
push str.Unrecognized_cmap1_format__wrong_number_of_items_for_version_1_of_format___s_n
lea eax, [esp + 0x148]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x150]
push eax
call fcn.1024aca0
add esp, 0x14
mov dword [esp + 0x10], 1
cmp ebx, 4
jne 0x10248872
push dword [esp + 0x24]
call fcn.1026cbe4
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x18]
push ebx
call fcn.10278567
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x10248b9d
cmp dword [ebp + 0xc], 0
je 0x10248ec4
mov ebx, dword [esp + 0xc]
cmp ebx, 2
jge 0x10248d2a
push str.plscmap1la:_Must_specify_at_least_two_control_points
call fcn.1024a3b0
add esp, 4
jmp 0x10248c4c
cmp dword [esp + 0xc], edi
jle 0x10248876
mov ecx, dword [esp + 0x28]
mov esi, ecx
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov dword [esp + 0x1c], eax
nop word [eax + eax]
push ebx
lea eax, [esp + 0xa4]
push 0xa0
push eax
call fcn.1024ad20
add esp, 0xc
test eax, eax
je 0x10249094
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xb8]
push str._lf__lf__lf__lf__lf__d
push eax
call fcn.10062530
add esp, 0x20
cmp eax, 6
jne 0x10248cf0
cmp dword [esp + 0x14], 0
movsd xmm0, qword [esp + 0x78]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
movsd qword [esi], xmm0
movsd xmm0, qword [esp + 0x80]
movsd qword [esi + eax], xmm0
movsd xmm0, qword [esp + 0x88]
mov eax, dword [esp + 0x1c]
movsd qword [esi + edx], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [esi + ecx], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [esi + eax], xmm0
movsd xmm2, qword [esi]
je 0x102489fd
movsd xmm4, qword [0x102e6e90]
comisd xmm4, xmm2
ja 0x10248b66
movsd xmm3, qword [0x102e6e60]
comisd xmm2, xmm3
ja 0x10248b66
movsd xmm1, qword [0x102a2928]
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x102489f1
movsd qword [esi], xmm0
jmp 0x10248a56
comisd xmm2, xmm1
jbe 0x10248a56
movsd qword [esi], xmm1
jmp 0x10248a56
movsd xmm0, qword [0x102e6e98]
comisd xmm0, xmm2
ja 0x10248ce1
comisd xmm2, xmmword [0x102e6e88]
ja 0x10248ce1
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x10248a2c
movsd qword [esi], xmm0
jmp 0x10248a3e
movsd xmm1, qword [0x102e6e80]
comisd xmm2, xmm1
jbe 0x10248a3e
movsd qword [esi], xmm1
movsd xmm1, qword [0x102a2928]
movsd xmm3, qword [0x102e6e60]
movsd xmm4, qword [0x102e6e90]
mov ebx, dword [esp + 0x10]
movsd xmm2, qword [esi + ebx]
comisd xmm4, xmm2
mov ebx, dword [esp + 0x18]
ja 0x10248cd2
comisd xmm2, xmm3
ja 0x10248cd2
comisd xmm0, xmm2
jbe 0x10248a8c
mov eax, dword [esp + 0x10]
movsd qword [esi + eax], xmm0
mov eax, dword [esp + 0x1c]
jmp 0x10248a9f
comisd xmm2, xmm1
jbe 0x10248a9f
mov ebx, dword [esp + 0x10]
movsd qword [esi + ebx], xmm1
mov ebx, dword [esp + 0x18]
movsd xmm2, qword [esi + edx]
comisd xmm4, xmm2
ja 0x10248cc3
comisd xmm2, xmm3
ja 0x10248cc3
comisd xmm0, xmm2
jbe 0x10248ac5
movsd qword [esi + edx], xmm0
jmp 0x10248ad0
comisd xmm2, xmm1
jbe 0x10248ad0
movsd qword [esi + edx], xmm1
movsd xmm2, qword [esi + ecx]
comisd xmm4, xmm2
ja 0x10248cb4
comisd xmm2, xmm3
ja 0x10248cb4
comisd xmm0, xmm2
jbe 0x10248af6
movsd qword [esi + ecx], xmm0
jmp 0x10248b01
comisd xmm2, xmm1
jbe 0x10248b01
movsd qword [esi + ecx], xmm1
movsd xmm2, qword [esi + eax]
comisd xmm4, xmm2
ja 0x10248ca5
comisd xmm2, xmm3
ja 0x10248ca5
comisd xmm0, xmm2
jbe 0x10248b27
movsd qword [esi + eax], xmm0
jmp 0x10248b32
comisd xmm2, xmm1
jbe 0x10248b32
movsd qword [esi + eax], xmm1
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 1]
cmp edi, eax
je 0x10248b4c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0xc]
inc edi
add esi, 8
cmp edi, ecx
jl 0x102488f0
push ebx
call fcn.10278567
add esp, 4
jmp 0x1024888a
lea eax, [esp + 0xa0]
push eax
push 5
push str.Unrecognized_cmap1_format_data_line.__Error_number_is__d._Line_is__s_n
lea eax, [esp + 0x14c]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x154]
push eax
call fcn.1024aca0
push ebx
call fcn.10278567
add esp, 0x1c
push dword [esp + 0x28]
call fcn.1026cbe4
push dword [esp + 0x24]
call fcn.1026cbe4
push dword [esp + 0x34]
call fcn.1026cbe4
push dword [esp + 0x40]
call fcn.1026cbe4
push 0x10
mov dword [esp + 0x20], 2
call fcn.1026cf9e
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
shl eax, 3
push eax
call fcn.1026cf9e
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
shl eax, 3
push eax
call fcn.1026cf9e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
shl eax, 3
push eax
call fcn.1026cf9e
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x48]
xorps xmm1, xmm1
mov ebx, dword [esp + 0x4c]
movsd xmm2, qword [0x102a2928]
push 0
push ebx
push ecx
movsd qword [eax], xmm1
movsd qword [eax + 8], xmm2
movups xmmword [ecx], xmm1
push eax
movups xmmword [ebx], xmm1
push edx
movsd qword [edx], xmm1
movsd qword [edx + 8], xmm2
push dword [esp + 0x40]
mov dword [esp + 0x6c], edx
push 1
call fcn.10247c10
add esp, 0x3c
push dword [esp + 0x28]
call fcn.1026cbe4
push dword [esp + 0x24]
call fcn.1026cbe4
push dword [esp + 0x34]
call fcn.1026cbe4
push dword [esp + 0x54]
call fcn.1026cbe4
push dword [esp + 0x4c]
call fcn.1026cbe4
push dword [esp + 0x60]
call fcn.1026cbe4
push dword [esp + 0x58]
call fcn.1026cbe4
push dword [esp + 0x50]
call fcn.1026cbe4
push dword [esp + 0x44]
call fcn.1026cbe4
add esp, 0x24
jmp 0x102490c8
lea eax, [esp + 0xa0]
push eax
push 0xa
jmp 0x10248b70
lea eax, [esp + 0xa0]
push eax
push 9
jmp 0x10248b70
lea eax, [esp + 0xa0]
push eax
push 8
jmp 0x10248b70
lea eax, [esp + 0xa0]
push eax
push 7
jmp 0x10248b70
lea eax, [esp + 0xa0]
push eax
push 6
jmp 0x10248b70
lea eax, [esp + 0xa0]
push eax
push str.Unrecognized_cmap1_format__wrong_number_of_items_for_version_2_of_format___s_n
lea eax, [esp + 0x148]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x150]
push eax
call fcn.1024aca0
push ebx
call fcn.10278567
add esp, 0x18
jmp 0x10248b9d
mov ecx, dword [esp + 0x34]
xorps xmm1, xmm1
movsd xmm0, qword [ecx]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10248eb2
movsd xmm0, qword [ecx + ebx*8 - 8]
ucomisd xmm0, qword [0x102a2928]
lahf
test ah, 0x44
jp 0x10248eb2
cmp ebx, 0x100
jle 0x10248d75
push str.plscmap1la:_exceeded_maximum_number_of_control_points
call fcn.1024a3b0
add esp, 4
jmp 0x10248c4c
mov eax, dword [0x1032dba8]
cmp dword [eax + 0x84], 0
jne 0x10248d92
push 0
call fcn.10247db0
mov eax, dword [0x1032dba8]
add esp, 4
mov ecx, dword [esp + 0x14]
xor edi, edi
mov esi, dword [esp + 0x20]
xor edx, edx
mov dword [eax + 0x3088], ecx
mov eax, dword [0x1032dba8]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x34], ebx
mov eax, dword [esp + 0x28]
sub eax, esi
mov dword [esp + 0x18], eax
mov eax, esi
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
sub dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + 0x24], 0
movsd xmm0, qword [eax + esi]
mov eax, dword [0x1032dba8]
movsd qword [edx + eax + 0x88], xmm0
mov eax, dword [0x1032dba8]
movsd xmm0, qword [esi]
movsd qword [edx + eax + 0x90], xmm0
mov eax, dword [0x1032dba8]
movsd xmm0, qword [ecx + esi]
movsd qword [edx + eax + 0x98], xmm0
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax + esi]
mov eax, dword [0x1032dba8]
movsd qword [edx + eax + 0xa0], xmm0
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esi + eax]
mov eax, dword [0x1032dba8]
movsd qword [edx + eax + 0xa8], xmm0
je 0x10248e7d
lea eax, [ebx - 1]
cmp edi, eax
je 0x10248e7d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x1032dba8]
mov dword [edx + eax + 0xb0], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x10248e8d
mov eax, dword [0x1032dba8]
mov dword [edx + eax + 0xb0], 0
mov eax, dword [esp + 0x18]
inc edi
add esi, 8
add edx, 0x30
cmp edi, ebx
jl 0x10248df0
call fcn.1024a4a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x10248c4c
push str.plscmap1la:_First__last_control_points_must_lie_on_boundary
call fcn.1024a3b0
add esp, 4
jmp 0x10248c4c
mov eax, dword [esp + 0xc]
xor esi, esi
test eax, eax
jle 0x10248f5e
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
sub eax, edx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
sub edi, edx
movsd xmm1, qword [0x102a5f90]
sub ebx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], eax
nop word [eax + eax]
movsd xmm0, qword [edi + edx]
lea edx, [edx + 8]
mulsd xmm0, xmm1
lea ecx, [ecx + 4]
mov edi, dword [esp + 0x38]
inc esi
cvttsd2si eax, xmm0
mov dword [ebx + ecx - 4], eax
movsd xmm0, qword [edx - 8]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x30]
movsd xmm0, qword [eax + edx - 8]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [edi + ecx - 4], eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
cmp esi, eax
jl 0x10248f10
push eax
call fcn.10247db0
mov eax, dword [0x1032dba8]
xor ebx, ebx
add esp, 4
cmp dword [eax + 0x30], ebx
jle 0x10249044
mov eax, dword [esp + 0x3c]
xor esi, esi
mov ecx, dword [esp + 0x48]
mov edi, eax
mov edx, dword [esp + 0x4c]
sub ecx, eax
sub edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov eax, dword [ecx + edi]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [edi + edx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
movsd xmm0, qword [eax + ebx*8]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x14]
movsd qword [esp + 0x54], xmm0
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push str.plscmap1a:_invalid_cmap1_RGBA_color_has_been_corrected
call fcn.10249610
mov eax, dword [0x1032dba8]
lea edi, [edi + 4]
movsd xmm0, qword [esp + 0x64]
lea esi, [esi + 0x18]
mov edx, dword [esp + 0x4c]
inc ebx
add esp, 0x14
mov ecx, dword [eax + 0x84]
mov al, byte [esp + 0x1c]
mov byte [esi + ecx - 0x18], al
mov eax, dword [0x1032dba8]
mov ecx, dword [eax + 0x84]
mov al, byte [esp + 0x14]
mov byte [ecx + esi - 0x17], al
mov eax, dword [0x1032dba8]
mov ecx, dword [eax + 0x84]
mov al, byte [esp + 0x10]
mov byte [ecx + esi - 0x16], al
mov eax, dword [0x1032dba8]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x84]
movsd qword [eax + esi - 0x10], xmm0
mov eax, dword [0x1032dba8]
cmp ebx, dword [eax + 0x30]
jl 0x10248f93
cmp dword [eax + 4], 0
jle 0x10248c4c
push 6
call fcn.1024d180
add esp, 4
jmp 0x10248c4c
lea eax, [esp + 0xa0]
push eax
push str.Unrecognized_cmap1_format__wrong_number_of_colors___s_n
lea eax, [esp + 0x148]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x150]
push eax
call fcn.1024aca0
push ebx
call fcn.10278567
add esp, 0x18
jmp 0x102490c8
mov edi, dword [esp + 0x5c]
push edi
push str.Error_reading_cmap1_.pal_file__s_n
jmp 0x1024906a
push edi
push str.Unable_to_open_cmap1_.pal_file__s_n
lea eax, [esp + 0x148]
push 0x400
push eax
call fcn.1001dfe0
lea eax, [esp + 0x150]
push eax
call fcn.1024aca0
add esp, 0x14
mov ebx, dword [esp + 0x74]
push ebx
push 4
call fcn.1027ac6f
add esp, 8
push ebx
test eax, eax
je 0x102490f9
call fcn.1026cbe4
mov ecx, dword [esp + 0x948]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1026465b
mov esp, ebp
pop ebp
ret
push str.plrestore_locale:_LC_NUMERIC_could_not_be_restored_to_the_default___s__locale._n
lea eax, [esp + 0x548]
push 0x400
push eax
call fcn.1001dfe0
add esp, 0x10
lea eax, [esp + 0x540]
push eax
call fcn.1024aad0
int3