Function at 0x1006c240
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.100671d0
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.10067650
mov edi, eax
mov edx, ebx
push str.loca
mov ecx, ebp
mov dword [esp + 0x58], edi
call fcn.10067650
push str.head
mov edx, ebx
mov dword [esp + 0x30], eax
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.10067650
push str.glyf
mov edx, ebx
mov dword [esp + 0x30], eax
mov ecx, ebp
mov dword [esi + 0x14], eax
call fcn.10067650
push str.hhea
mov edx, ebx
mov dword [esp + 0x28], eax
mov ecx, ebp
mov dword [esi + 0x18], eax
call fcn.10067650
push str.hmtx
mov edx, ebx
mov dword [esp + 0x34], eax
mov ecx, ebp
mov dword [esi + 0x1c], eax
call fcn.10067650
push str.kern
mov edx, ebx
mov dword [esp + 0x34], eax
mov ecx, ebp
mov dword [esi + 0x20], eax
call fcn.10067650
push str.GPOS
mov edx, ebx
mov dword [esi + 0x24], eax
mov ecx, ebp
call fcn.10067650
add esp, 0x24
mov dword [esi + 0x28], eax
test edi, edi
je 0x1006790f
cmp dword [esp + 0x1c], 0
je 0x1006790f
cmp dword [esp + 0x18], 0
je 0x1006790f
cmp dword [esp + 0x14], 0
je 0x1006790f
cmp dword [esp + 0x10], 0
je 0x10067919
cmp dword [esp + 0x20], 0
jne 0x10067b87
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.10067650
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x1006790f
lea eax, [esp + 0x30]
xor edx, edx
push eax
xor ecx, ecx
call fcn.100671d0
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.100671d0
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.100671d0
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.10067190
call fcn.10067130
movzx edx, al
lea ecx, [esp + 0x30]
call fcn.10067170
lea eax, [esp + 0x3c]
push eax
call fcn.10067250
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
call fcn.10067250
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.100674e0
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.10067250
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
call fcn.10067250
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.10067460
lea eax, [esp + 0x38]
mov edx, 0x106
push eax
push 1
lea ecx, [esp + 0x58]
call fcn.10067460
lea eax, [esp + 0x44]
push eax
push 1
mov edx, 0x124
lea ecx, [esp + 0x60]
call fcn.10067460
lea eax, [esp + 0x40]
mov edx, 0x125
push eax
push 1
lea ecx, [esp + 0x68]
call fcn.10067460
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.10067740
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 0x1006790f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006790f
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x10067b60
cmp dword [esp + 0x10], 0
je 0x1006790f
lea ecx, [esp + 0x24]
call fcn.10067170
lea eax, [esp + 0x3c]
push eax
call fcn.10067250
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.100671f0
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.10067170
lea eax, [esp + 0x3c]
push eax
call fcn.10067250
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.10067650
add esp, 4
test eax, eax
je 0x10067bab
lea ecx, [ebp + 4]
add ecx, eax
call fcn.10067570
movzx eax, ax
jmp 0x10067bb0
mov eax, 0xffff
lea ecx, [ebp + 2]
mov dword [esi + 0xc], eax
add ecx, edi
call fcn.10067570
movzx eax, ax
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x2c], 0
test eax, eax
je 0x10067c1c
lea edi, [edi + ebx*8]
add edi, ebp
lea ecx, [edi + 4]
call fcn.10067570
test ax, ax
je 0x10067bfe
cmp ax, 3
jne 0x10067c11
lea ecx, [edi + 6]
call fcn.10067570
movzx eax, ax
sub eax, 1
je 0x10067bfe
sub eax, 9
jne 0x10067c11
lea ecx, [edi + 8]
call fcn.100675b0
mov edi, dword [esp + 0x4c]
add eax, edi
mov dword [esi + 0x2c], eax
jmp 0x10067c15
mov edi, dword [esp + 0x4c]
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x10067bd1
cmp dword [esi + 0x2c], 0
je 0x1006790f
mov ecx, dword [esi + 0x14]
add ecx, 0x32
add ecx, ebp
call fcn.10067570
movzx eax, ax
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
jmp 0x10067810