Function at 0x10027008
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.10026e60
mov edx, edi
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [esp], str.loca
call fcn.10026e60
mov edx, edi
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov dword [ebx + 0x10], eax
mov dword [esp], str.head
call fcn.10026e60
mov edx, edi
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebx + 0x14], eax
mov dword [esp], str.glyf
call fcn.10026e60
mov edx, edi
mov dword [ebp - 4], eax
mov ecx, esi
mov dword [ebx + 0x18], eax
mov dword [esp], str.hhea
call fcn.10026e60
mov edx, edi
mov dword [ebp - 0x10], eax
mov ecx, esi
mov dword [ebx + 0x1c], eax
mov dword [esp], str.hmtx
call fcn.10026e60
mov edx, edi
mov dword [ebp - 8], eax
mov ecx, esi
mov dword [ebx + 0x20], eax
mov dword [esp], str.kern
call fcn.10026e60
mov edx, edi
mov dword [ebx + 0x24], eax
mov ecx, esi
mov dword [esp], str.GPOS
call fcn.10026e60
cmp dword [ebp - 0xc], 0
pop ecx
mov dword [ebx + 0x28], eax
je 0x100270fa
cmp dword [ebp - 0x14], 0
je 0x100270fa
cmp dword [ebp - 0x10], 0
je 0x100270fa
cmp dword [ebp - 8], 0
je 0x100270fa
cmp dword [ebp - 4], 0
je 0x10027101
cmp dword [ebp - 0x1c], 0
jne 0x100272ff
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.10026e60
pop ecx
test eax, eax
je 0x100270fa
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.10026ad2
call fcn.10026abb
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.10026b42
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10026b42
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.10026d38
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.10026b42
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10026b42
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.10026cf7
lea eax, [ebp - 0x10]
mov edx, 0x106
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10026cf7
lea eax, [ebp - 0x14]
mov edx, 0x124
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10026cf7
lea eax, [ebp - 4]
mov edx, 0x125
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10026cf7
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.10026f56
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 0x100270fa
cmp dword [ebp - 8], 0
je 0x100270fa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100272c7
cmp dword [ebp - 4], 0
je 0x100270fa
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jg 0x1002727d
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x10027280
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10026b42
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.10026b09
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 0x100272d8
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x100272db
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10026b42
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.10026e60
pop ecx
test eax, eax
je 0x10027323
movzx ecx, byte [eax + esi + 5]
movzx eax, byte [eax + esi + 4]
shl eax, 8
add ecx, eax
jmp 0x10027328
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 0x10027396
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 0x1002737d
cmp eax, 3
jne 0x1002738a
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x1002737d
sub ecx, 9
jne 0x1002738a
lea ecx, [edi + 3]
call fcn.10026dcd
add eax, esi
mov dword [ebx + 0x30], eax
add edi, 8
sub dword [ebp + 8], 1
jne 0x10027353
mov esi, dword [ebp - 0x18]
cmp dword [ebx + 0x30], 0
je 0x100270fa
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 0x100270fc