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

Disassembly:
sub esp, 0x50
mov eax, dword [0x1002f040]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
mov ebp, edx
push esi
mov esi, dword [esp + 0x60]
mov edx, esi
mov dword [ebx + 4], ebp
mov dword [ebx + 8], esi
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
push edi
mov dword [ebx + 0x40], ecx
mov ecx, ebp
push str.cmap
mov dword [esp + 0x28], ebp
call fcn.10013677
mov edi, eax
mov dword [esp], str.loca
mov edx, esi
mov dword [esp + 0x20], edi
mov ecx, ebp
call fcn.10013677
mov edx, esi
mov dword [esp + 0x24], eax
mov ecx, ebp
mov dword [ebx + 0x10], eax
mov dword [esp], str.head
call fcn.10013677
mov edx, esi
mov dword [esp + 0x5c], eax
mov ecx, ebp
mov dword [ebx + 0x14], eax
mov dword [esp], str.glyf
call fcn.10013677
mov edx, esi
mov dword [esp + 0x38], eax
mov ecx, ebp
mov dword [ebx + 0x18], eax
mov dword [esp], str.hhea
call fcn.10013677
mov edx, esi
mov dword [esp + 0x58], eax
mov ecx, ebp
mov dword [ebx + 0x1c], eax
mov dword [esp], str.hmtx
call fcn.10013677
mov edx, esi
mov dword [esp + 0x54], eax
mov ecx, ebp
mov dword [ebx + 0x20], eax
mov dword [esp], str.kern
call fcn.10013677
mov edx, esi
mov dword [ebx + 0x24], eax
mov ecx, ebp
mov dword [esp], str.GPOS
call fcn.10013677
mov dword [ebx + 0x28], eax
pop ecx
test edi, edi
je 0x10013952
cmp dword [esp + 0x58], 0
je 0x10013952
cmp dword [esp + 0x54], 0
je 0x10013952
cmp dword [esp + 0x50], 0
je 0x10013952
cmp dword [esp + 0x34], 0
je 0x10013967
cmp dword [esp + 0x20], 0
jne 0x10013ba4
xor eax, eax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002515c
add esp, 0x50
ret
xor edi, edi
mov dword [esp + 0x54], 2
push str.CFF
mov edx, esi
mov dword [esp + 0x54], edi
mov ecx, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x38], edi
call fcn.10013677
pop ecx
test eax, eax
je 0x10013952
mov dword [ebx + 0x68], edi
lea esi, [ebx + 0x38]
mov dword [ebx + 0x6c], edi
lea ecx, [esp + 0x38]
mov dword [ebx + 0x70], edi
add eax, ebp
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
mov dword [esi], eax
mov dword [esi + 4], edi
lea edi, [esp + 0x38]
mov dword [esi + 8], 0x20000000
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x3c]
lea edx, [edx + 2]
call fcn.100132c1
call fcn.100132aa
movzx ecx, al
mov eax, dword [esp + 0x40]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call fcn.1001332f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.1001332f
push ecx
mov esi, eax
mov edi, esp
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10013523
mov esi, eax
lea edi, [esp + 0x54]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001332f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
call fcn.1001332f
mov esi, eax
lea edi, [esp + 0x28]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x50]
lea esi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push esi
push 0x11
pop edx
call fcn.100134e2
lea eax, [esp + 0x74]
mov edx, 0x106
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.100134e2
lea eax, [esp + 0x80]
mov edx, 0x124
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.100134e2
lea eax, [esp + 0x64]
mov edx, 0x125
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.100134e2
add esp, 0x2c
lea esi, [esp + 0x50]
mov edi, esp
lea eax, [esp + 0x34]
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x50]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10013765
mov esi, eax
lea edi, [esp + 0x2c]
add esp, 0x1c
cmp dword [esp + 0x54], 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x5c]
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x10013952
cmp dword [esp + 0x50], 0
je 0x10013952
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10013b62
cmp dword [esp + 0x34], 0
je 0x10013952
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jg 0x10013b0c
mov dword [esp + 0x3c], eax
test eax, eax
jns 0x10013b10
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.1001332f
mov esi, eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
lea edi, [esp + 0x14]
sub eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x1c]
lea edi, [ebx + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100132f8
mov esi, eax
lea edi, [esp + 0x1c]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x10]
lea edi, [ebx + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jg 0x10013b76
mov dword [esp + 0x3c], eax
test eax, eax
jns 0x10013b7a
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.1001332f
mov esi, eax
lea edi, [esp + 0x14]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x44]
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x1c]
push str.maxp
mov edx, esi
mov ecx, ebp
call fcn.10013677
pop ecx
test eax, eax
je 0x10013bc8
movzx ecx, byte [eax + ebp + 5]
movzx eax, byte [eax + ebp + 4]
shl eax, 8
add ecx, eax
jmp 0x10013bcd
mov ecx, 0xffff
mov dword [ebx + 0xc], ecx
or dword [ebx + 0x2c], 0xffffffff
movzx ecx, byte [edi + ebp + 2]
movzx eax, byte [edi + ebp + 3]
and dword [ebx + 0x30], 0
shl ecx, 8
add eax, ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10013c39
lea esi, [ebp + 5]
mov ebp, eax
add esi, edi
movzx ecx, byte [esi - 1]
movzx eax, byte [esi]
shl ecx, 8
add eax, ecx
je 0x10013c20
cmp eax, 3
jne 0x10013c2d
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x10013c20
sub ecx, 9
jne 0x10013c2d
lea ecx, [esi + 3]
call fcn.100135e4
add eax, edi
mov dword [ebx + 0x30], eax
add esi, 8
sub ebp, 1
jne 0x10013bf6
mov ebp, dword [esp + 0x24]
cmp dword [ebx + 0x30], 0
je 0x10013952
mov ecx, dword [ebx + 0x14]
xor eax, eax
movzx edx, byte [ecx + ebp + 0x32]
movzx ecx, byte [ecx + ebp + 0x33]
shl edx, 8
add edx, ecx
inc eax
mov dword [ebx + 0x34], edx
jmp 0x10013954