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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x38], 0
mov ebx, edx
mov dword [esp + 0x3c], 0
movq xmm0, qword [esp + 0x38]
mov ecx, ebx
push edi
mov edi, dword [esp + 0x58]
mov edx, edi
movq qword [esi + 0x34], xmm0
push str.cmap
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov dword [esi + 0x3c], 0
call fcn.1002cc60
push str.loca
mov edx, edi
mov ecx, ebx
mov ebp, eax
call fcn.1002cc60
push str.head
mov edx, edi
mov dword [esp + 0x2c], eax
mov ecx, ebx
mov dword [esi + 0x10], eax
call fcn.1002cc60
push str.glyf
mov edx, edi
mov dword [esp + 0x2c], eax
mov ecx, ebx
mov dword [esi + 0x14], eax
call fcn.1002cc60
push str.hhea
mov edx, edi
mov dword [esp + 0x24], eax
mov ecx, ebx
mov dword [esi + 0x18], eax
call fcn.1002cc60
push str.hmtx
mov edx, edi
mov dword [esp + 0x30], eax
mov ecx, ebx
mov dword [esi + 0x1c], eax
call fcn.1002cc60
push str.kern
mov edx, edi
mov dword [esp + 0x30], eax
mov ecx, ebx
mov dword [esi + 0x20], eax
call fcn.1002cc60
push str.GPOS
mov edx, edi
mov dword [esi + 0x24], eax
mov ecx, ebx
call fcn.1002cc60
add esp, 0x20
mov dword [esi + 0x28], eax
test ebp, ebp
je 0x1002cfa0
cmp dword [esp + 0x1c], 0
je 0x1002cfa0
cmp dword [esp + 0x18], 0
je 0x1002cfa0
cmp dword [esp + 0x14], 0
je 0x1002cfa0
cmp dword [esp + 0x10], 0
je 0x1002cfaa
cmp dword [esp + 0x20], 0
jne 0x1002d324
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push str.CFF
mov edx, edi
mov dword [esp + 0x1c], 2
mov ecx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
call fcn.1002cc60
add esp, 4
test eax, eax
je 0x1002cfa0
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
add eax, ebx
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x64], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x70], xmm0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x34], xmm0
movq qword [esp + 0x24], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x3c], 0x20000000
mov dword [esp + 0x2c], 0x20000000
mov dword [esp + 0x28], 2
call fcn.1002c6d0
movzx ecx, al
mov eax, dword [esp + 0x2c]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
push eax
call fcn.1002c710
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.1002c710
push ecx
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x48]
push eax
xor ecx, ecx
call fcn.1002cb30
lea ecx, [esp + 0x34]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
movq qword [esp + 0x44], xmm0
call fcn.1002c710
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002c710
mov edx, 0x11
lea ecx, [esp + 0x48]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [esp + 0x60]
push eax
call fcn.1002c9a0
add esp, 0x1c
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], eax
cmp dword [esp + 0x40], eax
jge 0x1002d12f
lea ecx, [esp + 0x3c]
call fcn.1002c800
mov dword [esp + edi*4 + 0x14], eax
inc edi
cmp edi, 1
jge 0x1002d12f
mov eax, dword [esp + 0x44]
jmp 0x1002d110
lea eax, [esp + 0x48]
mov edx, 0x106
push eax
lea ecx, [esp + 0x34]
call fcn.1002c9a0
add esp, 4
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], eax
cmp dword [esp + 0x40], eax
jge 0x1002d177
lea ecx, [esp + 0x3c]
call fcn.1002c800
mov dword [esp + edi*4 + 0x18], eax
inc edi
cmp edi, 1
jge 0x1002d177
mov eax, dword [esp + 0x44]
jmp 0x1002d158
lea eax, [esp + 0x48]
mov edx, 0x124
push eax
lea ecx, [esp + 0x34]
call fcn.1002c9a0
add esp, 4
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], eax
cmp dword [esp + 0x40], eax
jge 0x1002d1bf
lea ecx, [esp + 0x3c]
call fcn.1002c800
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, 1
jge 0x1002d1bf
mov eax, dword [esp + 0x44]
jmp 0x1002d1a0
lea eax, [esp + 0x48]
mov edx, 0x125
push eax
lea ecx, [esp + 0x34]
call fcn.1002c9a0
add esp, 4
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], eax
cmp dword [esp + 0x40], eax
jge 0x1002d207
lea ecx, [esp + 0x3c]
call fcn.1002c800
mov dword [esp + edi*4 + 0x10], eax
inc edi
cmp edi, 1
jge 0x1002d207
mov eax, dword [esp + 0x44]
jmp 0x1002d1e8
movq xmm0, qword [esp + 0x30]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov ecx, esp
mov edi, dword [esp + 0x38]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x60]
push eax
call fcn.1002ccf0
add esp, 0x1c
cmp dword [esp + 0x18], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x1002cfa0
cmp dword [esp + 0x14], 0
je 0x1002cfa0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002d2ec
cmp dword [esp + 0x10], 0
je 0x1002cfa0
cmp eax, edi
jg 0x1002d284
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1002d288
mov dword [esp + 0x28], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
call fcn.1002c710
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, edi
sub edx, ecx
mov dword [esp + 0x3c], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
xor eax, eax
mov dword [esp + 0x40], 0
test ecx, ecx
js 0x1002d2de
test edx, edx
js 0x1002d2de
cmp ecx, edi
jg 0x1002d2de
mov eax, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, edx
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x14]
cmp eax, edi
jg 0x1002d2fc
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1002d300
mov dword [esp + 0x28], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
call fcn.1002c710
mov edi, dword [esp + 0x5c]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
push str.maxp
mov edx, edi
mov ecx, ebx
call fcn.1002cc60
add esp, 4
test eax, eax
je 0x1002d34a
movzx ecx, byte [eax + ebx + 4]
movzx eax, byte [eax + ebx + 5]
shl ecx, 8
add ecx, eax
jmp 0x1002d34f
mov ecx, 0xffff
mov dword [esi + 0xc], ecx
movzx edi, byte [ebx + ebp + 2]
movzx eax, byte [ebx + ebp + 3]
shl edi, 8
mov dword [esi + 0x2c], 0
add edi, eax
je 0x1002cfa0
lea eax, [ebx + 9]
add eax, ebp
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x1002d39e
cmp ecx, 3
jne 0x1002d3c1
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x1002d39e
sub edx, 9
jne 0x1002d3c1
movzx edx, byte [eax - 1]
movzx ecx, byte [eax]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
add edx, ebp
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub edi, 1
jne 0x1002d373
cmp dword [esi + 0x2c], edi
je 0x1002cfa0
mov eax, dword [esi + 0x14]
movzx ecx, byte [ebx + eax + 0x33]
movzx eax, byte [ebx + eax + 0x32]
shl eax, 8
add ecx, eax
lea eax, [edi + 1]
pop edi
mov dword [esi + 0x30], ecx
pop esi
pop ebp
pop ebx
add esp, 0x44
ret