Function at 0x1006bb50
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 ebp, edx
mov dword [esp + 0x3c], 0
movq xmm0, qword [esp + 0x38]
mov ecx, ebp
push edi
mov edi, dword [esp + 0x58]
mov edx, edi
movq qword [esi + 0x34], xmm0
push str.cmap
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
mov dword [esi + 0x3c], 0
call fcn.1006b950
push str.loca
mov edx, edi
mov ecx, ebp
mov ebx, eax
call fcn.1006b950
push str.head
mov edx, edi
mov dword [esp + 0x24], eax
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.1006b950
push str.glyf
mov edx, edi
mov dword [esp + 0x20], eax
mov ecx, ebp
mov dword [esi + 0x14], eax
call fcn.1006b950
push str.hhea
mov edx, edi
mov dword [esp + 0x14], eax
mov ecx, ebp
mov dword [esi + 0x18], eax
call fcn.1006b950
push str.hmtx
mov edx, edi
mov dword [esp + 0x1c], eax
mov ecx, ebp
mov dword [esi + 0x1c], eax
call fcn.1006b950
push str.kern
mov edx, edi
mov dword [esp + 0x18], eax
mov ecx, ebp
mov dword [esi + 0x20], eax
call fcn.1006b950
push str.GPOS
mov edx, edi
mov dword [esi + 0x24], eax
mov ecx, ebp
call fcn.1006b950
mov dword [esi + 0x28], eax
test ebx, ebx
je 0x1006bc4d
cmp dword [esp + 0x1c], 0
je 0x1006bc4d
cmp dword [esp + 0x18], 0
je 0x1006bc4d
cmp dword [esp + 0x14], 0
je 0x1006bc4d
cmp dword [esp + 0x10], 0
je 0x1006bc59
cmp dword [esp + 0x20], 0
jne 0x1006bf6e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
xor eax, eax
mov dword [esp + 0x18], 2
push str.CFF
mov edx, edi
mov dword [esp + 0x18], 0
mov ecx, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
call fcn.1006b950
test eax, eax
je 0x1006bc4d
mov dword [esp + 0x3c], 0
add eax, ebp
mov dword [esp + 0x40], 0
mov ecx, 0x20000000
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]
mov dword [esp + 0x3c], eax
movq qword [esi + 0x70], xmm0
mov dword [esp + 0x40], 0
movq xmm0, qword [esp + 0x3c]
movq qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x24]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x78], 0
mov al, byte [eax + 2]
movzx eax, al
cmp eax, ecx
mov dword [esp + 0x2c], ecx
cmovle ecx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
push eax
call fcn.1006b420
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.1006b420
sub esp, 0xc
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.1006b840
lea ecx, [esp + 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
movq qword [esp + 0x34], xmm0
call fcn.1006b420
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.1006b420
mov edx, 0x11
lea ecx, [esp + 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [esp + 0x48]
push eax
call fcn.1006b6b0
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 0x1006bdb5
lea ecx, [esp + 0x3c]
call fcn.1006b510
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
mov edx, 0x106
push eax
lea ecx, [esp + 0x34]
call fcn.1006b6b0
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 0x1006bdec
lea ecx, [esp + 0x3c]
call fcn.1006b510
mov dword [esp + 0x18], eax
lea eax, [esp + 0x48]
mov edx, 0x124
push eax
lea ecx, [esp + 0x34]
call fcn.1006b6b0
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 0x1006be23
lea ecx, [esp + 0x3c]
call fcn.1006b510
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov edx, 0x125
push eax
lea ecx, [esp + 0x34]
call fcn.1006b6b0
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 0x1006be5a
lea ecx, [esp + 0x3c]
call fcn.1006b510
mov dword [esp + 0x10], eax
movq xmm0, qword [esp + 0x30]
sub esp, 0xc
mov ecx, dword [esp + 0x44]
mov edx, esp
mov edi, dword [esp + 0x38]
sub esp, 0xc
mov eax, esp
movq qword [edx], xmm0
movq xmm0, qword [esp + 0x3c]
mov dword [edx + 8], ecx
movq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x60]
push eax
call fcn.1006b9e0
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 0x1006bc4d
cmp dword [esp + 0x14], 0
je 0x1006bc4d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1006bf39
cmp dword [esp + 0x10], 0
je 0x1006bc4d
cmp eax, edi
jg 0x1006bed4
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1006bed8
mov dword [esp + 0x28], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
call fcn.1006b420
mov edi, dword [esp + 0x2c]
mov edx, edi
mov ecx, dword [esp + 0x10]
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 0x1006bf2b
test edx, edx
js 0x1006bf2b
cmp ecx, edi
jg 0x1006bf2b
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 0x1006bf49
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1006bf4d
mov dword [esp + 0x28], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
call fcn.1006b420
mov edi, dword [esp + 0x58]
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, ebp
call fcn.1006b950
test eax, eax
je 0x1006bf91
movzx ecx, byte [eax + ebp + 4]
movzx eax, byte [eax + ebp + 5]
shl ecx, 8
add ecx, eax
jmp 0x1006bf96
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 0x1006bc4d
lea eax, [ebp + 9]
add eax, ebx
nop word [eax + eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x1006bfeb
cmp ecx, 3
jne 0x1006c00e
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x1006bfeb
sub edx, 9
jne 0x1006c00e
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, ebx
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub edi, 1
jne 0x1006bfc0
cmp dword [esi + 0x2c], edi
je 0x1006bc4d
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + ebp + 0x32]
movzx eax, byte [eax + ebp + 0x33]
shl ecx, 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 4