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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x24]
push ebp
push esi
mov esi, ecx
mov ebp, edx
push edi
push eax
xor edx, edx
xor ecx, ecx
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
call fcn.100676f0
push str.cmap
mov edx, ebx
mov ecx, ebp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
call fcn.10067b70
mov edi, eax
mov edx, ebx
push str.loca
mov ecx, ebp
mov dword [esp + 0x58], edi
call fcn.10067b70
push str.head
mov edx, ebx
mov dword [esp + 0x30], eax
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.10067b70
push str.glyf
mov edx, ebx
mov dword [esp + 0x30], eax
mov ecx, ebp
mov dword [esi + 0x14], eax
call fcn.10067b70
push str.hhea
mov edx, ebx
mov dword [esp + 0x28], eax
mov ecx, ebp
mov dword [esi + 0x18], eax
call fcn.10067b70
push str.hmtx
mov edx, ebx
mov dword [esp + 0x34], eax
mov ecx, ebp
mov dword [esi + 0x1c], eax
call fcn.10067b70
push str.kern
mov edx, ebx
mov dword [esp + 0x34], eax
mov ecx, ebp
mov dword [esi + 0x20], eax
call fcn.10067b70
push str.GPOS
mov edx, ebx
mov dword [esi + 0x24], eax
mov ecx, ebp
call fcn.10067b70
add esp, 0x24
mov dword [esi + 0x28], eax
test edi, edi
je 0x10067e2f
cmp dword [esp + 0x1c], 0
je 0x10067e2f
cmp dword [esp + 0x18], 0
je 0x10067e2f
cmp dword [esp + 0x14], 0
je 0x10067e2f
cmp dword [esp + 0x10], 0
je 0x10067e39
cmp dword [esp + 0x20], 0
jne 0x100680a7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push str.CFF
mov edx, ebx
mov dword [esp + 0x1c], 2
mov ecx, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
call fcn.10067b70
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x10067e2f
lea eax, [esp + 0x30]
xor edx, edx
push eax
xor ecx, ecx
call fcn.100676f0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
lea eax, [esp + 0x34]
push eax
call fcn.100676f0
mov ecx, dword [esp + 0x28]
mov edx, 0x20000000
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
lea ecx, [ecx + ebp]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
lea eax, [esp + 0x38]
push eax
call fcn.100676f0
mov edx, 2
lea ecx, [esp + 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], eax
call fcn.100676b0
call fcn.10067650
movzx edx, al
lea ecx, [esp + 0x30]
call fcn.10067690
lea eax, [esp + 0x3c]
push eax
call fcn.10067770
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
call fcn.10067770
add esp, 8
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.10067a00
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.10067770
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
call fcn.10067770
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 + 0x2c]
push eax
push 1
call fcn.10067980
lea eax, [esp + 0x38]
mov edx, 0x106
push eax
push 1
lea ecx, [esp + 0x58]
call fcn.10067980
lea eax, [esp + 0x44]
push eax
push 1
mov edx, 0x124
lea ecx, [esp + 0x60]
call fcn.10067980
lea eax, [esp + 0x40]
mov edx, 0x125
push eax
push 1
lea ecx, [esp + 0x68]
call fcn.10067980
movq xmm0, qword [esp + 0x68]
add esp, 0x2c
mov eax, dword [esp + 0x44]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x3c]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esp + 0x44]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x54]
push eax
call fcn.10067c60
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 0x10067e2f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10067e2f
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x10068080
cmp dword [esp + 0x10], 0
je 0x10067e2f
lea ecx, [esp + 0x24]
call fcn.10067690
lea eax, [esp + 0x3c]
push eax
call fcn.10067770
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x30]
sub eax, edx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10067710
add esp, 0xc
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x14]
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.10067690
lea eax, [esp + 0x3c]
push eax
call fcn.10067770
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, ebx
mov ecx, ebp
call fcn.10067b70
add esp, 4
test eax, eax
je 0x100680cb
lea ecx, [ebp + 4]
add ecx, eax
call fcn.10067a90
movzx eax, ax
jmp 0x100680d0
mov eax, 0xffff
lea ecx, [ebp + 2]
mov dword [esi + 0xc], eax
add ecx, edi
call fcn.10067a90
movzx eax, ax
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x2c], 0
test eax, eax
je 0x1006813c
lea edi, [edi + ebx*8]
add edi, ebp
lea ecx, [edi + 4]
call fcn.10067a90
test ax, ax
je 0x1006811e
cmp ax, 3
jne 0x10068131
lea ecx, [edi + 6]
call fcn.10067a90
movzx eax, ax
sub eax, 1
je 0x1006811e
sub eax, 9
jne 0x10068131
lea ecx, [edi + 8]
call fcn.10067ad0
mov edi, dword [esp + 0x4c]
add eax, edi
mov dword [esi + 0x2c], eax
jmp 0x10068135
mov edi, dword [esp + 0x4c]
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x100680f1
cmp dword [esi + 0x2c], 0
je 0x10067e2f
mov ecx, dword [esi + 0x14]
add ecx, 0x32
add ecx, ebp
call fcn.10067a90
movzx eax, ax
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
jmp 0x10067d30