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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x104fb780]
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.1018fba0
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 0x1018d364
sub ecx, edx
jne 0x1018d3ab
xor ebx, ebx
push str.cmap1_default.pal
mov dword [esp + 0x1c], ebx
call fcn.1018eb30
add esp, 4
test eax, eax
je 0x1018d3a1
mov ecx, dword [eax]
test ecx, ecx
je 0x1018d394
mov ebx, ecx
mov dword [eax], esi
mov dword [esp + 0x18], ebx
push eax
call fcn.1019ec10
add esp, 4
test ebx, ebx
jne 0x1018d3e1
push str.cmap1_default.pal
jmp 0x1018e0a1
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.1018eb30
add esp, 4
test eax, eax
je 0x1018e0a0
mov ecx, dword [eax]
test ecx, ecx
je 0x1018d3d0
mov ebx, ecx
mov dword [eax], esi
mov dword [esp + 0x18], ebx
push eax
call fcn.1019ec10
add esp, 4
test ebx, ebx
je 0x1018e0a0
push ebx
lea eax, [esp + 0xa4]
push 0xa0
push eax
call fcn.1018fcf0
add esp, 0xc
test eax, eax
je 0x1018e098
push 2
lea eax, [esp + 0xa4]
push 0x104a3338
push eax
call fcn.10131f70
add esp, 0xc
test eax, eax
jne 0x1018d4ae
push 3
lea esi, [eax + 1]
lea eax, [esp + 0xa7]
push 0x104a333c
push eax
call fcn.10131f70
add esp, 0xc
test eax, eax
jne 0x1018d442
mov dword [esp + 0x14], eax
jmp 0x1018d490
push 3
lea eax, [esp + 0xa7]
push 0x104a3340
push eax
call fcn.10131f70
add esp, 0xc
test eax, eax
je 0x1018d48c
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.1001be4a
lea eax, [esp + 0x150]
push eax
call fcn.1018fc70
add esp, 0x14
mov dword [esp + 0x14], esi
push ebx
lea eax, [esp + 0xa4]
push 0xa0
push eax
call fcn.1018fcf0
add esp, 0xc
test eax, eax
je 0x1018e098
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa4]
push 0x104a3244
push eax
call fcn.1018fdb0
add esp, 0xc
cmp eax, 1
jne 0x1018e05d
mov eax, dword [esp + 0xc]
cmp eax, 2
jl 0x1018e05d
shl eax, 3
push eax
call fcn.10131c27
mov ecx, dword [esp + 0x10]
shl ecx, 3
push ecx
mov dword [esp + 0x30], eax
call fcn.10131c27
mov ecx, dword [esp + 0x14]
shl ecx, 3
push ecx
mov dword [esp + 0x2c], eax
call fcn.10131c27
mov ecx, dword [esp + 0x18]
shl ecx, 2
push ecx
mov dword [esp + 0x3c], eax
call fcn.10131c27
mov ecx, dword [esp + 0x1c]
shl ecx, 2
push ecx
mov dword [esp + 0x5c], eax
call fcn.10131c27
mov ecx, dword [esp + 0x20]
shl ecx, 2
push ecx
mov dword [esp + 0x54], eax
call fcn.10131c27
mov ecx, dword [esp + 0x24]
shl ecx, 3
push ecx
mov dword [esp + 0x68], eax
call fcn.10131c27
mov ecx, dword [esp + 0x28]
shl ecx, 3
push ecx
mov dword [esp + 0x60], eax
call fcn.10131c27
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
lea ecx, [ecx*4 - 4]
push ecx
call fcn.10131c27
add esp, 0x24
mov dword [esp + 0x24], eax
xor edi, edi
test esi, esi
jne 0x1018d8b3
mov dword [esp + 0x1c], esi
cmp dword [esp + 0xc], edi
jle 0x1018d876
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.1018fcf0
add esp, 0xc
test eax, eax
je 0x1018e094
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.1018fdb0
mov ebx, eax
add esp, 0x1c
cmp ebx, 4
jl 0x1018d824
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1018d62f
cmp ebx, eax
jne 0x1018d824
mov eax, dword [esp + 0x64]
movsd xmm1, qword [0x104eab00]
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 [0x104a3a18]
addsd xmm0, qword [eax*8 + 0x10224a50]
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 + 0x10224a50]
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 + 0x10224a50]
mov eax, dword [esp + 0x38]
divsd xmm0, xmm1
movsd xmm1, qword [0x104eaa58]
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 [0x104a39e0]
movsd qword [eax + esi], xmm0
movsd xmm2, qword [esi]
comisd xmm4, xmm2
ja 0x1018d818
movsd xmm3, qword [0x104a39f0]
comisd xmm2, xmm3
ja 0x1018d818
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1018d708
movsd qword [esi], xmm0
jmp 0x1018d712
comisd xmm2, xmm1
jbe 0x1018d712
movsd qword [esi], xmm1
movsd xmm2, qword [edx + esi]
comisd xmm4, xmm2
ja 0x1018d80c
comisd xmm2, xmm3
ja 0x1018d80c
comisd xmm0, xmm2
jbe 0x1018d738
movsd qword [edx + esi], xmm0
jmp 0x1018d743
comisd xmm2, xmm1
jbe 0x1018d743
movsd qword [edx + esi], xmm1
movsd xmm2, qword [ecx + esi]
comisd xmm4, xmm2
ja 0x1018d800
comisd xmm2, xmm3
ja 0x1018d800
comisd xmm0, xmm2
jbe 0x1018d769
movsd qword [ecx + esi], xmm0
jmp 0x1018d774
comisd xmm2, xmm1
jbe 0x1018d774
movsd qword [ecx + esi], xmm1
movsd xmm2, qword [eax + esi]
comisd xmm4, xmm2
ja 0x1018d7cd
comisd xmm2, xmm3
ja 0x1018d7cd
comisd xmm0, xmm2
jbe 0x1018d792
movsd qword [eax + esi], xmm0
jmp 0x1018d79d
comisd xmm2, xmm1
jbe 0x1018d79d
movsd qword [eax + esi], xmm1
cmp ebx, 5
jne 0x1018d7b6
mov eax, dword [esp + 0xc]
dec eax
cmp edi, eax
je 0x1018d7b6
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 0x1018d85b
mov ebx, dword [esp + 0x18]
jmp 0x1018d5c0
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.1001be4a
lea eax, [esp + 0x154]
push eax
call fcn.1018fc70
add esp, 0x18
jmp 0x1018d853
lea eax, [esp + 0xa0]
push eax
push 3
jmp 0x1018d7d7
lea eax, [esp + 0xa0]
push eax
push 2
jmp 0x1018d7d7
lea eax, [esp + 0xa0]
push eax
push 1
jmp 0x1018d7d7
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.1001be4a
lea eax, [esp + 0x150]
push eax
call fcn.1018fc70
add esp, 0x14
mov dword [esp + 0x10], 1
cmp ebx, 4
jne 0x1018d872
push dword [esp + 0x24]
call fcn.10131079
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x18]
push ebx
call fcn.1012d122
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1018db9d
cmp dword [ebp + 0xc], 0
je 0x1018dec4
mov ebx, dword [esp + 0xc]
cmp ebx, 2
jge 0x1018dd2a
push str.plscmap1la:_Must_specify_at_least_two_control_points
call fcn.1018f380
add esp, 4
jmp 0x1018dc4c
cmp dword [esp + 0xc], edi
jle 0x1018d876
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.1018fcf0
add esp, 0xc
test eax, eax
je 0x1018e094
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.1018fdb0
add esp, 0x20
cmp eax, 6
jne 0x1018dcf0
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 0x1018d9fd
movsd xmm4, qword [0x104a3a18]
comisd xmm4, xmm2
ja 0x1018db66
movsd xmm3, qword [0x104a39f0]
comisd xmm2, xmm3
ja 0x1018db66
movsd xmm1, qword [0x104eaa58]
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1018d9f1
movsd qword [esi], xmm0
jmp 0x1018da56
comisd xmm2, xmm1
jbe 0x1018da56
movsd qword [esi], xmm1
jmp 0x1018da56
movsd xmm0, qword [0x104a3a20]
comisd xmm0, xmm2
ja 0x1018dce1
comisd xmm2, xmmword [0x104a3a10]
ja 0x1018dce1
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1018da2c
movsd qword [esi], xmm0
jmp 0x1018da3e
movsd xmm1, qword [0x104a3a08]
comisd xmm2, xmm1
jbe 0x1018da3e
movsd qword [esi], xmm1
movsd xmm1, qword [0x104eaa58]
movsd xmm3, qword [0x104a39f0]
movsd xmm4, qword [0x104a3a18]
mov ebx, dword [esp + 0x10]
movsd xmm2, qword [esi + ebx]
comisd xmm4, xmm2
mov ebx, dword [esp + 0x18]
ja 0x1018dcd2
comisd xmm2, xmm3
ja 0x1018dcd2
comisd xmm0, xmm2
jbe 0x1018da8c
mov eax, dword [esp + 0x10]
movsd qword [esi + eax], xmm0
mov eax, dword [esp + 0x1c]
jmp 0x1018da9f
comisd xmm2, xmm1
jbe 0x1018da9f
mov ebx, dword [esp + 0x10]
movsd qword [esi + ebx], xmm1
mov ebx, dword [esp + 0x18]
movsd xmm2, qword [esi + edx]
comisd xmm4, xmm2
ja 0x1018dcc3
comisd xmm2, xmm3
ja 0x1018dcc3
comisd xmm0, xmm2
jbe 0x1018dac5
movsd qword [esi + edx], xmm0
jmp 0x1018dad0
comisd xmm2, xmm1
jbe 0x1018dad0
movsd qword [esi + edx], xmm1
movsd xmm2, qword [esi + ecx]
comisd xmm4, xmm2
ja 0x1018dcb4
comisd xmm2, xmm3
ja 0x1018dcb4
comisd xmm0, xmm2
jbe 0x1018daf6
movsd qword [esi + ecx], xmm0
jmp 0x1018db01
comisd xmm2, xmm1
jbe 0x1018db01
movsd qword [esi + ecx], xmm1
movsd xmm2, qword [esi + eax]
comisd xmm4, xmm2
ja 0x1018dca5
comisd xmm2, xmm3
ja 0x1018dca5
comisd xmm0, xmm2
jbe 0x1018db27
movsd qword [esi + eax], xmm0
jmp 0x1018db32
comisd xmm2, xmm1
jbe 0x1018db32
movsd qword [esi + eax], xmm1
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 1]
cmp edi, eax
je 0x1018db4c
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 0x1018d8f0
push ebx
call fcn.1012d122
add esp, 4
jmp 0x1018d88a
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.1001be4a
lea eax, [esp + 0x154]
push eax
call fcn.1018fc70
push ebx
call fcn.1012d122
add esp, 0x1c
push dword [esp + 0x28]
call fcn.10131079
push dword [esp + 0x24]
call fcn.10131079
push dword [esp + 0x34]
call fcn.10131079
push dword [esp + 0x40]
call fcn.10131079
push 0x10
mov dword [esp + 0x20], 2
call fcn.10131c27
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
shl eax, 3
push eax
call fcn.10131c27
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
shl eax, 3
push eax
call fcn.10131c27
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
shl eax, 3
push eax
call fcn.10131c27
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x48]
xorps xmm1, xmm1
mov ebx, dword [esp + 0x4c]
movsd xmm2, qword [0x104eaa58]
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.1018cc10
add esp, 0x3c
push dword [esp + 0x28]
call fcn.10131079
push dword [esp + 0x24]
call fcn.10131079
push dword [esp + 0x34]
call fcn.10131079
push dword [esp + 0x54]
call fcn.10131079
push dword [esp + 0x4c]
call fcn.10131079
push dword [esp + 0x60]
call fcn.10131079
push dword [esp + 0x58]
call fcn.10131079
push dword [esp + 0x50]
call fcn.10131079
push dword [esp + 0x44]
call fcn.10131079
add esp, 0x24
jmp 0x1018e0c8
lea eax, [esp + 0xa0]
push eax
push 0xa
jmp 0x1018db70
lea eax, [esp + 0xa0]
push eax
push 9
jmp 0x1018db70
lea eax, [esp + 0xa0]
push eax
push 8
jmp 0x1018db70
lea eax, [esp + 0xa0]
push eax
push 7
jmp 0x1018db70
lea eax, [esp + 0xa0]
push eax
push 6
jmp 0x1018db70
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.1001be4a
lea eax, [esp + 0x150]
push eax
call fcn.1018fc70
push ebx
call fcn.1012d122
add esp, 0x18
jmp 0x1018db9d
mov ecx, dword [esp + 0x34]
xorps xmm1, xmm1
movsd xmm0, qword [ecx]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x1018deb2
movsd xmm0, qword [ecx + ebx*8 - 8]
ucomisd xmm0, qword [0x104eaa58]
lahf
test ah, 0x44
jp 0x1018deb2
cmp ebx, 0x100
jle 0x1018dd75
push str.plscmap1la:_exceeded_maximum_number_of_control_points
call fcn.1018f380
add esp, 4
jmp 0x1018dc4c
mov eax, dword [0x104fc2d8]
cmp dword [eax + 0x84], 0
jne 0x1018dd92
push 0
call fcn.1018cdb0
mov eax, dword [0x104fc2d8]
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 [0x104fc2d8]
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 [0x104fc2d8]
movsd qword [edx + eax + 0x88], xmm0
mov eax, dword [0x104fc2d8]
movsd xmm0, qword [esi]
movsd qword [edx + eax + 0x90], xmm0
mov eax, dword [0x104fc2d8]
movsd xmm0, qword [ecx + esi]
movsd qword [edx + eax + 0x98], xmm0
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax + esi]
mov eax, dword [0x104fc2d8]
movsd qword [edx + eax + 0xa0], xmm0
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esi + eax]
mov eax, dword [0x104fc2d8]
movsd qword [edx + eax + 0xa8], xmm0
je 0x1018de7d
lea eax, [ebx - 1]
cmp edi, eax
je 0x1018de7d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x104fc2d8]
mov dword [edx + eax + 0xb0], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x1018de8d
mov eax, dword [0x104fc2d8]
mov dword [edx + eax + 0xb0], 0
mov eax, dword [esp + 0x18]
inc edi
add esi, 8
add edx, 0x30
cmp edi, ebx
jl 0x1018ddf0
call fcn.1018f470
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x1018dc4c
push str.plscmap1la:_First__last_control_points_must_lie_on_boundary
call fcn.1018f380
add esp, 4
jmp 0x1018dc4c
mov eax, dword [esp + 0xc]
xor esi, esi
test eax, eax
jle 0x1018df5e
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 [0x104eab00]
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 0x1018df10
push eax
call fcn.1018cdb0
mov eax, dword [0x104fc2d8]
xor ebx, ebx
add esp, 4
cmp dword [eax + 0x30], ebx
jle 0x1018e044
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.1018e5e0
mov eax, dword [0x104fc2d8]
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 [0x104fc2d8]
mov ecx, dword [eax + 0x84]
mov al, byte [esp + 0x14]
mov byte [ecx + esi - 0x17], al
mov eax, dword [0x104fc2d8]
mov ecx, dword [eax + 0x84]
mov al, byte [esp + 0x10]
mov byte [ecx + esi - 0x16], al
mov eax, dword [0x104fc2d8]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x84]
movsd qword [eax + esi - 0x10], xmm0
mov eax, dword [0x104fc2d8]
cmp ebx, dword [eax + 0x30]
jl 0x1018df93
cmp dword [eax + 4], 0
jle 0x1018dc4c
push 6
call fcn.101935c0
add esp, 4
jmp 0x1018dc4c
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.1001be4a
lea eax, [esp + 0x150]
push eax
call fcn.1018fc70
push ebx
call fcn.1012d122
add esp, 0x18
jmp 0x1018e0c8
mov edi, dword [esp + 0x5c]
push edi
push str.Error_reading_cmap1_.pal_file__s_n
jmp 0x1018e06a
push edi
push str.Unable_to_open_cmap1_.pal_file__s_n
lea eax, [esp + 0x148]
push 0x400
push eax
call fcn.1001be4a
lea eax, [esp + 0x150]
push eax
call fcn.1018fc70
add esp, 0x14
mov ebx, dword [esp + 0x74]
push ebx
push 4
call fcn.1013c68d
add esp, 8
push ebx
test eax, eax
je 0x1018e0f9
call fcn.10131079
mov ecx, dword [esp + 0x948]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011f88a
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.1001be4a
add esp, 0x10
lea eax, [esp + 0x540]
push eax
call fcn.1018faa0
int3