Function at 0x1002b2c1
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.1002b119
mov edx, edi
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [esp], str.loca
call fcn.1002b119
mov edx, edi
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov dword [ebx + 0x10], eax
mov dword [esp], 0x10092d14
call fcn.1002b119
mov edx, edi
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebx + 0x14], eax
mov dword [esp], str.glyf
call fcn.1002b119
mov edx, edi
mov dword [ebp - 4], eax
mov ecx, esi
mov dword [ebx + 0x18], eax
mov dword [esp], str.hhea
call fcn.1002b119
mov edx, edi
mov dword [ebp - 0x10], eax
mov ecx, esi
mov dword [ebx + 0x1c], eax
mov dword [esp], str.hmtx
call fcn.1002b119
mov edx, edi
mov dword [ebp - 8], eax
mov ecx, esi
mov dword [ebx + 0x20], eax
mov dword [esp], str.kern
call fcn.1002b119
mov edx, edi
mov dword [ebx + 0x24], eax
mov ecx, esi
mov dword [esp], str.GPOS
call fcn.1002b119
cmp dword [ebp - 0xc], 0
pop ecx
mov dword [ebx + 0x28], eax
je 0x1002b3b3
cmp dword [ebp - 0x14], 0
je 0x1002b3b3
cmp dword [ebp - 0x10], 0
je 0x1002b3b3
cmp dword [ebp - 8], 0
je 0x1002b3b3
cmp dword [ebp - 4], 0
je 0x1002b3ba
cmp dword [ebp - 0x1c], 0
jne 0x1002b5b8
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.1002b119
pop ecx
test eax, eax
je 0x1002b3b3
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.1002ad8b
call fcn.1002ad74
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.1002adfb
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002adfb
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.1002aff1
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.1002adfb
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002adfb
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.1002afb0
lea eax, [ebp - 0x10]
mov edx, 0x106
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1002afb0
lea eax, [ebp - 0x14]
mov edx, 0x124
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1002afb0
lea eax, [ebp - 4]
mov edx, 0x125
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1002afb0
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.1002b20f
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 0x1002b3b3
cmp dword [ebp - 8], 0
je 0x1002b3b3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002b580
cmp dword [ebp - 4], 0
je 0x1002b3b3
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jg 0x1002b536
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x1002b539
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002adfb
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.1002adc2
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 0x1002b591
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x1002b594
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002adfb
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.1002b119
pop ecx
test eax, eax
je 0x1002b5dc
movzx ecx, byte [eax + esi + 5]
movzx eax, byte [eax + esi + 4]
shl eax, 8
add ecx, eax
jmp 0x1002b5e1
mov ecx, 0xffff
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0xc], ecx
or dword [ebx + 0x2c], 0xffffffff
movzx ecx, byte [edx + esi + 2]
movzx eax, byte [edx + esi + 3]
and dword [ebx + 0x30], 0
shl ecx, 8
add eax, ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x1002b64f
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 0x1002b636
cmp eax, 3
jne 0x1002b643
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x1002b636
sub ecx, 9
jne 0x1002b643
lea ecx, [edi + 3]
call fcn.1002b086
add eax, esi
mov dword [ebx + 0x30], eax
add edi, 8
sub dword [ebp + 8], 1
jne 0x1002b60c
mov esi, dword [ebp - 0x18]
cmp dword [ebx + 0x30], 0
je 0x1002b3b3
mov ecx, dword [ebx + 0x14]
xor eax, eax
movzx edx, byte [esi + ecx + 0x32]
movzx ecx, byte [esi + ecx + 0x33]
shl edx, 8
add edx, ecx
inc eax
mov dword [ebx + 0x34], edx
jmp 0x1002b3b5