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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 8]
mov edx, edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
mov ecx, esi
push str.cmap
mov dword [ebp - 0x18], esi
call fcn.1002b8fc
mov edx, edi
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [esp], str.loca
call fcn.1002b8fc
mov edx, edi
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov dword [ebx + 0x10], eax
mov dword [esp], 0x10093e24
call fcn.1002b8fc
mov edx, edi
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebx + 0x14], eax
mov dword [esp], str.glyf
call fcn.1002b8fc
mov edx, edi
mov dword [ebp - 4], eax
mov ecx, esi
mov dword [ebx + 0x18], eax
mov dword [esp], str.hhea
call fcn.1002b8fc
mov edx, edi
mov dword [ebp - 0x10], eax
mov ecx, esi
mov dword [ebx + 0x1c], eax
mov dword [esp], str.hmtx
call fcn.1002b8fc
mov edx, edi
mov dword [ebp - 8], eax
mov ecx, esi
mov dword [ebx + 0x20], eax
mov dword [esp], str.kern
call fcn.1002b8fc
mov edx, edi
mov dword [ebx + 0x24], eax
mov ecx, esi
mov dword [esp], str.GPOS
call fcn.1002b8fc
cmp dword [ebp - 0xc], 0
pop ecx
mov dword [ebx + 0x28], eax
je 0x1002bb96
cmp dword [ebp - 0x14], 0
je 0x1002bb96
cmp dword [ebp - 0x10], 0
je 0x1002bb96
cmp dword [ebp - 8], 0
je 0x1002bb96
cmp dword [ebp - 4], 0
je 0x1002bb9d
cmp dword [ebp - 0x1c], 0
jne 0x1002bd9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
mov dword [ebp - 0x10], 2
push str.CFF
mov edx, edi
mov dword [ebp - 8], eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
call fcn.1002b8fc
pop ecx
test eax, eax
je 0x1002bb96
xor edx, edx
lea edi, [ebp - 0x28]
mov dword [ebx + 0x68], edx
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x6c], edx
add eax, esi
mov dword [ebx + 0x70], edx
lea esi, [ebx + 0x38]
mov dword [ebx + 0x74], edx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x7c], edx
mov dword [esi], eax
mov dword [esi + 4], edx
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 [ebp - 0x24]
lea edx, [edx + 2]
call fcn.1002b56e
call fcn.1002b557
movzx ecx, al
mov eax, dword [ebp - 0x20]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002b5de
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b5de
push ecx
mov esi, eax
mov edi, esp
lea eax, [ebp - 0x40]
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.1002b7d4
mov esi, eax
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002b5de
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b5de
mov esi, eax
lea edi, [ebp - 0x40]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x50]
lea esi, [ebp - 0x40]
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.1002b793
lea eax, [ebp - 0x10]
mov edx, 0x106
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1002b793
lea eax, [ebp - 0x14]
mov edx, 0x124
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1002b793
lea eax, [ebp - 4]
mov edx, 0x125
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1002b793
add esp, 0x2c
lea esi, [ebp - 0x34]
mov edi, esp
lea eax, [ebp - 0x4c]
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, [ebp - 0x28]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002b9f2
mov esi, eax
lea edi, [ebp - 0x40]
add esp, 0x1c
cmp dword [ebp - 0x10], 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, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x1002bb96
cmp dword [ebp - 8], 0
je 0x1002bb96
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002bd63
cmp dword [ebp - 4], 0
je 0x1002bb96
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jg 0x1002bd19
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x1002bd1c
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b5de
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
lea edi, [ebp - 0x40]
sub eax, dword [ebp - 4]
lea ecx, [ebp - 0x28]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
lea edi, [ebx + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002b5a5
mov esi, eax
lea edi, [ebp - 0x40]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
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 [ebp - 8]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jg 0x1002bd74
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x1002bd77
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b5de
mov esi, eax
lea edi, [ebp - 0x40]
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, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
push str.maxp
mov edx, edi
mov ecx, esi
call fcn.1002b8fc
pop ecx
test eax, eax
je 0x1002bdbf
movzx ecx, byte [eax + esi + 4]
movzx eax, byte [eax + esi + 5]
shl ecx, 8
add ecx, eax
jmp 0x1002bdc4
mov ecx, 0xffff
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0xc], ecx
or dword [ebx + 0x2c], 0xffffffff
movzx eax, byte [edx + esi + 2]
movzx ecx, byte [edx + esi + 3]
and dword [ebx + 0x30], 0
shl eax, 8
add eax, ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x1002be32
lea edi, [edx + 5]
add edi, esi
mov esi, edx
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
add eax, ecx
je 0x1002be19
cmp eax, 3
jne 0x1002be26
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x1002be19
sub ecx, 9
jne 0x1002be26
lea ecx, [edi + 3]
call fcn.1002b869
add eax, esi
mov dword [ebx + 0x30], eax
add edi, 8
sub dword [ebp + 8], 1
jne 0x1002bdef
mov esi, dword [ebp - 0x18]
cmp dword [ebx + 0x30], 0
je 0x1002bb96
mov ecx, dword [ebx + 0x14]
xor eax, eax
movzx edx, byte [ecx + esi + 0x32]
movzx ecx, byte [ecx + esi + 0x33]
shl edx, 8
add edx, ecx
inc eax
mov dword [ebx + 0x34], edx
jmp 0x1002bb98