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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1003200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], 0
mov ebx, edx
mov dword [ebp - 0x34], 0
movq xmm0, qword [ebp - 0x38]
mov edx, eax
push str.cmap
movq qword [edi + 0x34], xmm0
mov ecx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0x3c], 0
call fcn.10013900
mov edx, dword [ebp + 8]
mov esi, eax
push str.loca
mov ecx, ebx
mov dword [ebp - 0x3c], esi
call fcn.10013900
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.head
mov dword [ebp - 0x4c], eax
mov dword [edi + 0x10], eax
call fcn.10013900
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.glyf
mov dword [ebp - 0x14], eax
mov dword [edi + 0x14], eax
call fcn.10013900
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hhea
mov dword [ebp - 0xc], eax
mov dword [edi + 0x18], eax
call fcn.10013900
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hmtx
mov dword [ebp - 8], eax
mov dword [edi + 0x1c], eax
call fcn.10013900
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.kern
mov dword [ebp - 0x10], eax
mov dword [edi + 0x20], eax
call fcn.10013900
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.GPOS
mov dword [edi + 0x24], eax
call fcn.10013900
add esp, 0x20
mov dword [edi + 0x28], eax
test esi, esi
je 0x10013c48
cmp dword [ebp - 0x14], 0
je 0x10013c48
cmp dword [ebp - 8], 0
je 0x10013c48
cmp dword [ebp - 0x10], 0
je 0x10013c48
cmp dword [ebp - 0xc], 0
je 0x10013c5b
cmp dword [ebp - 0x4c], 0
jne 0x10013f7e
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10025af6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.CFF
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
call fcn.10013900
add esp, 4
test eax, eax
je 0x10013c48
mov dword [ebp - 0x38], 0
lea ecx, [ebx + eax]
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x38]
movq xmm0, qword [ebp - 0x38]
mov edx, 0x20000000
movq qword [edi + 0x64], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movq xmm0, qword [ebp - 0x38]
movq qword [edi + 0x70], xmm0
push eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x78], 0
call fcn.10013220
mov edx, 2
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
call fcn.10013170
lea ecx, [ebp - 0x20]
call fcn.100130f0
movzx edx, al
lea ecx, [ebp - 0x20]
call fcn.10013130
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.10013260
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.10013260
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
call fcn.10013750
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.10013260
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.10013260
mov edx, 0x11
lea ecx, [ebp - 0x2c]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x4c], xmm0
mov dword [edi + 0x54], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10013540
add esp, 0x1c
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], eax
jge 0x10013dbd
lea ecx, [ebp - 0x38]
call fcn.100133c0
mov dword [ebp + esi*4 - 0xc], eax
inc esi
cmp esi, 1
jge 0x10013dbd
mov eax, dword [ebp - 0x30]
jmp 0x10013da1
lea eax, [ebp - 0x48]
mov edx, 0x106
push eax
lea ecx, [ebp - 0x2c]
call fcn.10013540
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], eax
jge 0x10013dfe
lea ecx, [ebp - 0x38]
call fcn.100133c0
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 1
jge 0x10013dfe
mov eax, dword [ebp - 0x30]
jmp 0x10013de2
lea eax, [ebp - 0x48]
mov edx, 0x124
push eax
lea ecx, [ebp - 0x2c]
call fcn.10013540
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], eax
jge 0x10013e3f
lea ecx, [ebp - 0x38]
call fcn.100133c0
mov dword [ebp + esi*4 - 8], eax
inc esi
cmp esi, 1
jge 0x10013e3f
mov eax, dword [ebp - 0x30]
jmp 0x10013e23
lea eax, [ebp - 0x48]
mov edx, 0x125
push eax
lea ecx, [ebp - 0x2c]
call fcn.10013540
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], eax
jge 0x10013e80
lea ecx, [ebp - 0x38]
call fcn.100133c0
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 1
jge 0x10013e80
mov eax, dword [ebp - 0x30]
jmp 0x10013e64
movq xmm0, qword [ebp - 0x2c]
sub esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x20]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x18]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x48]
push eax
call fcn.100139a0
add esp, 0x1c
cmp dword [ebp - 0x10], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], eax
jne 0x10013c48
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10013c48
mov edx, dword [ebp - 8]
test edx, edx
je 0x10013f53
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10013c48
lea ecx, [ebp - 0x20]
call fcn.10013130
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x20]
call fcn.10013260
mov edx, dword [ebp - 0x18]
add esp, 4
mov ecx, edx
mov dword [ebp - 0x38], 0
sub ecx, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x64], xmm0
mov dword [edi + 0x6c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
movq xmm0, qword [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
test esi, esi
js 0x10013f48
test ecx, ecx
js 0x10013f48
cmp esi, edx
jg 0x10013f48
mov eax, dword [ebp - 0x20]
add eax, esi
mov dword [ebp - 0x38], eax
mov eax, ecx
movq xmm0, qword [ebp - 0x38]
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.10013130
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x20]
call fcn.10013260
mov esi, dword [ebp - 0x3c]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x40], xmm0
mov dword [edi + 0x48], eax
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.maxp
call fcn.10013900
add esp, 4
test eax, eax
je 0x10013fa5
movzx ecx, byte [ebx + eax + 5]
movzx eax, byte [ebx + eax + 4]
shl eax, 8
add ecx, eax
jmp 0x10013faa
mov ecx, 0xffff
mov dword [edi + 0xc], ecx
movzx ecx, byte [ebx + esi + 2]
movzx eax, byte [ebx + esi + 3]
shl ecx, 8
add eax, ecx
mov dword [edi + 0x2c], 0
mov dword [ebp - 8], eax
je 0x10013c48
mov edx, ebx
add esi, 5
not edx
add esi, ebx
mov dword [ebp - 0x14], edx
nop dword [eax + eax]
movzx ecx, byte [esi - 1]
movzx eax, byte [esi]
shl ecx, 8
add eax, ecx
je 0x10014017
cmp eax, 3
jne 0x10014045
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
add eax, ecx
sub eax, 1
je 0x1001400a
sub eax, 9
jne 0x10014045
lea ecx, [esi + 3]
call fcn.100138e0
add eax, dword [ebp - 0x3c]
jmp 0x1001403f
lea ecx, [edx + esi]
movzx edx, byte [ecx + ebx + 4]
add ecx, ebx
shl edx, 8
movzx eax, byte [ecx + 5]
add edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 7]
shl edx, 8
add edx, dword [ebp - 0x3c]
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x2c], eax
add esi, 8
sub dword [ebp - 8], 1
jne 0x10013fe0
cmp dword [edi + 0x2c], 0
je 0x10013c48
mov eax, dword [edi + 0x14]
movzx ecx, byte [ebx + eax + 0x32]
movzx eax, byte [ebx + eax + 0x33]
shl ecx, 8
add ecx, eax
mov eax, 1
mov dword [edi + 0x30], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10025af6
mov esp, ebp
pop ebp
ret