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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov edi, dword [eax]
cmp ecx, 1
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x78], 0
mov esi, edi
mov dword [esp + 0x28], edi
mov edi, dword [eax + 0xc]
mov ebp, ebx
mov dword [esp + 0x30], edi
jbe 0x4afb21
movzx esi, word [esi + 0x122]
mov dword [esp + 0x24], 0x15
cmp ecx, esi
jbe 0x4afb21
mov eax, dword [esp + 0x24]
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], 0x10
cmp dword [ebx + 0x10], edx
jbe 0x4afb12
test byte [eax + 0x10], 1
mov dword [eax + 0x14], edx
jne 0x4afc70
mov esi, dword [eax + 4]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x38], edi
mov edi, dword [esi + 0x34]
mov dword [esp + 0x3c], edi
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov ebx, edx
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4afc85
lea ecx, [esp + 0x80]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [edx]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4afb12
mov eax, dword [esp + 0x84]
lea edx, [esp + 0xa8]
mov ecx, 0xa
mov edi, edx
mov dword [esp + 8], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._FT_Stream_OpenMemory
mov edx, dword [esp + 0x24]
mov byte [esp + 0x2f], 1
xor eax, eax
mov dword [esi + 0x18], edx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jle 0x4afcb0
mov edx, dword [esi + 0x54]
test edx, edx
jne 0x4afc04
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], 8
mov edi, dword [ebx + 0x80]
mov ebx, dword [edi + 0x30]
test ebx, ebx
je 0x4afc30
add eax, edx
mov dword [esp + 0xc], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call dword [eax + 0x200]
test eax, eax
mov dword [esp + 0x24], eax
je 0x4afd20
nop
movzx eax, byte [esp + 0x2f]
test al, al
je 0x4afb12
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x80]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x3c], 0x10000
mov dword [esp + 0x38], 0x10000
jmp 0x4afb50
lea eax, [esi + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._tt_face_get_location
mov byte [esp + 0x2f], 0
jmp 0x4afbd9
mov byte [esp + 0x44], 0
test ecx, ecx
je 0x4afcc4
cmp word [esi + 0x20], 0
jne 0x4afd5b
mov edx, dword [esp + 0x34]
mov dword [esi + 0x24], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
call sym._tt_get_metrics
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4afcfd
mov eax, ebp
test al, al
je 0x4b0038
cmp byte [esp + 0x44], 0
je 0x4afc30
mov eax, dword [esp + 0x28]
mov dword [esp], esi
call dword [eax + 0x204]
jmp 0x4afc30
mov eax, dword [esp + 0x28]
mov dword [esp], esi
call dword [eax + 0x208]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4afd08
mov edx, dword [esp + 0x34]
mov eax, esi
call sym._tt_get_metrics
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4afd08
mov eax, ebp
test al, al
jne 0x4afd08
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x44], 1
jmp 0x4afcb5
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
mov ebp, dword [esi + 0x38]
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0xb8], 0
sub eax, ecx
mov dword [esi + 0xc0], 0
mov dword [esi + 0x44], eax
add eax, ebp
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb0]
add eax, dword [esi + 0x30]
mov dword [esi + 0xbc], eax
sub eax, dword [esi + 0xb4]
mov dword [esi + 0xc4], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4afe4d
mov edx, dword [eax]
mov edx, dword [edx + 8]
test edx, edx
je 0x4afe4d
mov edi, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 8], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 4], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x94], 0
mov dword [esp], eax
call edx
test eax, eax
jne 0x4afe4d
movsx eax, word [esp + 0x88]
cmp byte [esi + 0x40], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0x34], eax
movzx eax, word [esp + 0x90]
mov dword [esi + 0x38], eax
jne 0x4afe4d
mov byte [esi + 0x40], 1
mov dword [esi + 0x3c], eax
movzx eax, word [esi + 0x20]
test ax, ax
jle 0x4b023a
mov eax, dword [esp + 0x28]
mov dword [esp], esi
call dword [eax + 0x20c]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4afcfd
mov eax, dword [esp + 0x28]
mov dword [esp], esi
call dword [eax + 0x204]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x44]
mov edi, eax
mov dword [esp + 0x34], eax
movsx eax, word [eax + 0x3a]
mov edx, dword [edi + 0x3c]
lea ebx, [eax*8]
mov ebp, ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [esi + 0x48]
mov dword [edx + eax*8], ecx
mov dword [edx + eax*8 + 4], ebx
mov ecx, dword [esi + 0x4c]
mov ebx, dword [esi + 0x50]
mov dword [edx + ebp + 8], ecx
mov dword [edx + ebp + 0xc], ebx
mov ecx, dword [esi + 0xb8]
mov ebx, dword [esi + 0xbc]
mov dword [edx + ebp + 0x10], ecx
mov dword [edx + ebp + 0x14], ebx
mov ecx, dword [esi + 0xc0]
mov ebx, dword [esi + 0xc4]
mov dword [edx + ebp + 0x18], ecx
mov dword [edx + ebp + 0x1c], ebx
mov edx, dword [edi + 0x40]
mov byte [edx + eax], 0
mov edx, dword [edi + 0x40]
mov byte [edx + eax + 1], 0
mov edx, dword [edi + 0x40]
mov byte [edx + eax + 2], 0
mov edx, dword [edi + 0x40]
mov byte [edx + eax + 3], 0
add eax, 4
mov dword [esp + 0x40], eax
mov eax, dword [esi]
cmp byte [eax + 0x2a0], 0
jne 0x4b0492
mov eax, dword [esi + 0x10]
test al, 2
mov dword [esp + 0x3c], eax
je 0x4b03ea
mov eax, dword [esp + 0x34]
test byte [esp + 0x3c], 1
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x34], eax
jne 0x4b0027
mov edi, dword [esp + 0x38]
lea eax, [eax + edi + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x44], edi
mov ebx, eax
jae 0x4affc5
movzx edi, byte [esp + 0x2f]
mov ebp, dword [esp + 0x24]
mov eax, dword [ebx]
mov edx, dword [esp + 0x44]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebx], eax
mov edx, dword [esp + 0x48]
mov eax, dword [ebx + 4]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebx + 4], eax
add ebx, 8
cmp ebx, dword [esp + 0x38]
jb 0x4aff6c
mov eax, edi
mov dword [esp + 0x24], ebp
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
add eax, 0x1ffffffc
mov edx, dword [edi + eax*8 + 4]
lea ecx, [eax*8]
mov eax, dword [edi + eax*8]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
mov eax, dword [edi + ecx + 8]
mov edx, dword [edi + ecx + 0xc]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edx
mov eax, dword [edi + ecx + 0x10]
mov edx, dword [edi + ecx + 0x14]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
mov eax, dword [edi + ecx + 0x18]
mov edx, dword [edi + ecx + 0x1c]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
test byte [esp + 0x3c], 2
je 0x4b0470
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._FT_GlyphLoader_Add
jmp 0x4afc30
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x38]
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc0], 0
mov edi, eax
mov eax, dword [esi + 0x24]
sub eax, edi
mov dword [esi + 0x44], eax
add eax, ebx
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb0]
add eax, dword [esi + 0x30]
mov dword [esi + 0xbc], eax
sub eax, dword [esi + 0xb4]
mov dword [esi + 0xc4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov edx, dword [edx + 0x30]
test edx, edx
je 0x4b012e
mov ecx, dword [edx]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4b012e
lea eax, [esp + 0x88]
mov dword [esp + 8], 0
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], 0
mov dword [esp + 4], eax
mov eax, dword [edx + 4]
mov dword [esp], eax
call ecx
test eax, eax
jne 0x4b012c
movsx eax, word [esp + 0x88]
cmp byte [esi + 0x40], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0x34], eax
movzx eax, word [esp + 0x90]
mov dword [esi + 0x38], eax
jne 0x4b012c
mov byte [esi + 0x40], 1
mov dword [esi + 0x3c], eax
mov eax, dword [esi]
cmp byte [eax + 0x2a0], 0
jne 0x4b03c2
test byte [esi + 0x10], 1
jne 0x4afcfd
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0x44], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x4c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0x4c], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0xb8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xb8], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0xbc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xbc], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0xc0]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xc0], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc4]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xc4], eax
jmp 0x4afcfd
cmp ax, 0xffff
mov dword [esp + 0x24], 0x14
jne 0x4afcfd
mov eax, dword [esp + 0x30]
movzx edi, word [eax + 0x16]
movzx eax, word [eax + 0x14]
mov dword [esp], esi
mov word [esp + 0x52], ax
mov eax, dword [esp + 0x28]
mov word [esp + 0x50], di
call dword [eax + 0x210]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4afcfd
mov eax, dword [esi + 0xa8]
mov ebx, dword [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 0x54], eax
call dword [ebx + 0x204]
cmp byte [ebx + 0x2a0], 0
jne 0x4b0586
mov eax, dword [esi + 0x10]
test al, 1
mov edi, eax
jne 0x4b039c
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0x44], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x4c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0x4c], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0xb8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xb8], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0xbc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xbc], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0xc0]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xc0], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc4]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esi + 0xc4], eax
mov eax, edi
test ah, 4
je 0x4b0695
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._FT_GlyphLoader_Add
mov eax, dword [esi + 8]
mov dword [eax + 0x48], 0x636f6d70
jmp 0x4afc30
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x78]
mov edi, dword [eax + 0x64]
mov dword [esp], 4
call sym._TT_Vary_Get_Glyph_Deltas
test eax, eax
je 0x4b0525
mov dword [esp + 0x24], eax
jmp 0x4afcfd
mov edi, dword [esp + 0x34]
movzx edx, word [edi + 0x38]
movzx eax, word [edi + 0x3a]
mov ebx, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov word [esi + 0x86], dx
mov edx, dword [edi + 0x4c]
mov word [esi + 0x84], ax
lea eax, [eax*8 + 0x20]
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], edx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x94], ebx
mov ebx, dword [edi + 0x44]
mov word [esi + 0x9c], 0
mov dword [esi + 0x90], edx
mov dword [esi + 0x98], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._memcpy
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x10]
test al, 1
mov dword [esp + 0x3c], eax
jne 0x4b001c
mov eax, dword [esp + 0x34]
jmp 0x4aff3a
add word [esi + 0x84], 4
xor edx, edx
mov eax, esi
call sym._TT_Hint_Glyph
test eax, eax
je 0x4b0027
mov dword [esp + 0x24], eax
jmp 0x4afc30
mov edi, dword [eax + 0x64]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x88]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x40]
mov dword [esp], edi
call sym._TT_Vary_Get_Glyph_Deltas
test eax, eax
jne 0x4b0489
test edi, edi
jle 0x4b057d
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [eax + 0x3c]
mov edx, ecx
mov dword [esp + 0x48], ecx
lea edi, [edi + eax + 0x20]
mov dword [esp + 0x44], edi
movzx edi, byte [esp + 0x2f]
mov ecx, dword [edx]
add dword [eax], ecx
add edx, 8
mov ecx, dword [edx - 4]
add dword [eax + 4], ecx
add eax, 8
cmp eax, dword [esp + 0x44]
jne 0x4b04e8
mov ecx, dword [esp + 0x48]
mov eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._ft_mem_free
jmp 0x4aff15
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
add dword [esi + 0x44], edx
mov edx, dword [eax + 4]
add dword [esi + 0x48], edx
mov edx, dword [eax + 8]
add dword [esi + 0x4c], edx
mov edx, dword [eax + 0xc]
add dword [esi + 0x50], edx
mov edx, dword [eax + 0x10]
add dword [esi + 0xb8], edx
mov edx, dword [eax + 0x14]
add dword [esi + 0xbc], edx
mov edx, dword [eax + 0x18]
add dword [esi + 0xc0], edx
mov edx, dword [eax + 0x1c]
add dword [esi + 0xc4], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._ft_mem_free
mov dword [esp + 0x78], 0
jmp 0x4b013b
mov ecx, dword [esp + 0x88]
jmp 0x4b0510
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x78]
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x44], eax
add eax, 4
mov dword [esp], eax
mov eax, ebx
call sym._TT_Vary_Get_Glyph_Deltas
test eax, eax
jne 0x4b0489
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x34], 0
mov ebp, dword [esp + 0x24]
mov eax, dword [edi + 0x30]
mov ecx, edx
mov dword [esp + 0x4c], edx
shl eax, 5
add eax, dword [edi + 0x58]
mov edi, dword [edi + 0x54]
mov dword [esp + 0x44], edi
movzx edi, byte [esp + 0x2f]
jmp 0x4b0608
test byte [eax + 4], 2
je 0x4b05fd
movsx ebx, word [ecx]
add dword [eax + 8], ebx
movsx ebx, word [ecx + 4]
add dword [eax + 0xc], ebx
add dword [esp + 0x34], 1
add eax, 0x20
add ecx, 8
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x34], edx
jl 0x4b05ea
mov eax, edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x2f], al
mov eax, 0
mov dword [esp + 0x24], ebp
test edi, edi
cmovns eax, edi
shl eax, 3
lea ecx, [edx + eax]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
add dword [esi + 0x48], ecx
lea ecx, [edx + eax + 8]
add dword [esi + 0x44], edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
add dword [esi + 0x50], ecx
lea ecx, [edx + eax + 0x10]
add dword [esi + 0x4c], edi
lea eax, [edx + eax + 0x18]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
add dword [esi + 0xb8], edi
add dword [esi + 0xbc], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esi + 0xc0], ecx
add dword [esi + 0xc4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ft_mem_free
mov dword [esp + 0x78], 0
jmp 0x4b029f
movsx eax, word [esp + 0x50]
mov edi, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 0x54]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x30]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x60], ebx
mov ebx, dword [esi + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x64], ebx
call sym._FT_GlyphLoader_Add
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], edi
xor edi, edi
mov dword [esp + 0x3c], 0
add eax, 1
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x3c], ebx
je 0x4b09c5
mov edx, dword [esp + 0x30]
mov ebx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
mov edi, dword [esp + 0x3c]
add edi, dword [esp + 0x5c]
mov eax, dword [edx + 0x34]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x88], ecx
mov ecx, dword [esi + 0x4c]
shl edi, 5
mov dword [esp + 0x94], ebx
mov ebx, dword [esi + 0xbc]
add eax, edi
mov dword [esp + 0x90], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esi + 0xc4]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0xa4], ebx
mov ebx, edx
movsx edx, word [edx + 0x16]
mov dword [esp + 0xa0], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov edx, dword [eax]
mov eax, esi
call sym._load_truetype_glyph
test eax, eax
jne 0x4b0489
add edi, dword [ebx + 0x34]
movzx eax, word [edi + 4]
test ah, 2
mov word [esp + 0x34], ax
jne 0x4b07f2
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov eax, dword [esp + 0x30]
movsx eax, word [eax + 0x16]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
je 0x4b089d
mov ebp, dword [esi + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x4c], eax
movsx eax, word [ebp + 0x16]
mov dword [esp + 0x40], eax
movzx eax, byte [esp + 0x34]
and al, 0xc8
mov byte [esp + 0x68], al
je 0x4b085d
mov ebx, dword [esp + 0x38]
lea edx, [edi + 0x10]
jmp 0x4b084e
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 0x34], edx
lea eax, [eax + ebx*8]
add ebx, 1
mov dword [esp], eax
call sym._FT_Vector_Transform
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x40], ebx
ja 0x4b0830
movzx eax, word [edi + 4]
mov word [esp + 0x34], ax
test byte [esp + 0x34], 2
jne 0x4b08b1
mov ebx, dword [esp + 0x38]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
add edx, dword [edi + 8]
add eax, ebx
cmp dword [esp + 0x40], eax
jbe 0x4b08a7
cmp ebx, edx
jbe 0x4b08a7
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax*8]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
sub ecx, dword [eax]
mov ebx, dword [edx + 4]
sub ebx, dword [eax + 4]
mov ebp, ecx
mov eax, ebx
or eax, ebp
jne 0x4b0ad4
add dword [esp + 0x3c], 1
jmp 0x4b06e1
mov eax, 0x15
jmp 0x4b0489
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
mov eax, ebx
or eax, ebp
je 0x4b089d
cmp byte [esp + 0x68], 0
je 0x4b08cd
test word [esp + 0x34], 0x800
jne 0x4b093d
test byte [esi + 0x10], 1
jne 0x4b0ad4
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x30]
mov eax, ebp
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov ebp, eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x34]
mov eax, ebx
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
test byte [esp + 0x34], 4
mov ebx, eax
je 0x4b0893
lea eax, [ebp + 0x20]
add ebx, 0x20
and ebx, 0xffffffc0
and eax, 0xffffffc0
mov ebp, eax
jmp 0x4b0893
mov eax, dword [edi + 0x14]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._FT_Hypot
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call sym._FT_Hypot
mov edx, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, ebp
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov ebp, eax
mov edx, dword [esp + 0x34]
mov eax, ebx
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
test byte [esi + 0x10], 1
mov ebx, eax
jne 0x4b0893
movzx eax, word [edi + 4]
mov word [esp + 0x34], ax
jmp 0x4b08d7
mov eax, dword [esp + 0x60]
test byte [esi + 0x10], 2
mov ebx, edi
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0xa8], eax
jne 0x4afc30
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x44], edi
jae 0x4afc30
test byte [ebx + 5], 1
je 0x4afc30
mov edx, dword [esi + 0xc]
movsx eax, word [edx + 0x16]
cmp ax, 0xfffc
je 0x4b0a22
movsx edi, word [edx + 0x3a]
lea ecx, [eax + 4]
lea eax, [edi + eax*2 + 4]
cmp eax, dword [edx + 4]
ja 0x4b0b08
mov dword [esp + 0x7c], 0
movsx ecx, word [edx + 0x16]
mov eax, dword [edx + 0x18]
mov ebp, dword [esi + 0x48]
lea edi, [ecx*8]
mov ebx, edi
mov edi, dword [esi + 0x44]
mov dword [eax + ecx*8 + 4], ebp
mov dword [eax + ecx*8], edi
mov edi, dword [esi + 0x4c]
mov ebp, dword [esi + 0x50]
mov dword [eax + ebx + 8], edi
mov dword [eax + ebx + 0xc], ebp
mov edi, dword [esi + 0xb8]
mov ebp, dword [esi + 0xbc]
mov dword [eax + ebx + 0x10], edi
mov dword [eax + ebx + 0x14], ebp
mov edi, dword [esi + 0xc0]
mov ebp, dword [esi + 0xc4]
mov dword [eax + ebx + 0x18], edi
mov dword [eax + ebx + 0x1c], ebp
mov eax, dword [edx + 0x1c]
mov byte [eax + ecx], 0
movsx eax, word [edx + 0x16]
mov ecx, dword [edx + 0x1c]
mov byte [ecx + eax + 1], 0
movsx eax, word [edx + 0x16]
mov ecx, dword [edx + 0x1c]
mov byte [ecx + eax + 2], 0
movsx eax, word [edx + 0x16]
mov edx, dword [edx + 0x1c]
mov byte [edx + eax + 3], 0
mov eax, dword [esi + 0x18]
mov edi, eax
mov eax, dword [esi + 0xa8]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x7c], eax
je 0x4b0b35
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
jmp 0x4afc30
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
sub ecx, eax
test ebp, ebp
lea edx, [edx + eax*8]
jne 0x4b0c7e
xor eax, eax
test ebx, ebx
jne 0x4b0aff
jmp 0x4b089d
add dword [edx + eax*8 + 4], ebx
add eax, 1
cmp eax, ecx
jne 0x4b0af8
jmp 0x4b089d
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp + 0x30], edx
call sym._FT_GlyphLoader_CheckPoints
test eax, eax
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x30]
jne 0x4b0489
jmp 0x4b0a2a
lea eax, [esp + 0x7c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._FT_Stream_ReadUShort
cmp dword [esp + 0x7c], 0
jne 0x4b0ac7
mov edx, dword [esi]
cmp ax, word [edx + 0x11e]
jbe 0x4b0d19
movzx edx, ax
cmp edx, dword [esi + 0x1c]
mov dword [esp + 0x24], 0x16
jg 0x4afc30
mov ebp, dword [esi + 0xa0]
mov ecx, dword [ebp + 0x184]
mov eax, dword [ebp + 8]
cmp ecx, edx
mov ebx, eax
jb 0x4b0cba
movzx eax, cx
mov dword [esp + 0x7c], 0
mov dword [ebp + 0x184], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x188]
mov dword [esp], edi
mov dword [esp + 0x30], edx
mov dword [esp + 4], eax
call sym._FT_Stream_Read
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x30]
jne 0x4afc30
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 8]
movzx ebx, word [esp + 0x50]
movzx edi, word [esp + 0x52]
mov ecx, dword [ecx + 0x188]
mov dword [eax + 0x8c], edx
movsx ebp, di
mov dword [eax + 0x88], ecx
mov eax, dword [esi + 0xc]
movzx edx, word [eax + 0x16]
mov ecx, dword [eax + 0x28]
sub edx, ebx
mov word [esi + 0x84], dx
movzx edx, word [eax + 0x14]
sub edx, edi
mov edi, dword [esp + 0x44]
mov word [esi + 0x86], dx
lea edx, [edi*8]
add edi, dword [eax + 0x1c]
add ecx, edx
mov dword [esi + 0x88], ecx
mov ecx, dword [eax + 0x18]
add ecx, edx
add edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x94], edi
movzx edi, byte [esp + 0x2f]
mov word [esi + 0x9c], bx
mov ebx, dword [esp + 0x28]
lea eax, [eax + ebp*2]
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], edx
xor edx, edx
mov dword [esi + 0x98], eax
movzx ecx, word [esi + 0x84]
cmp edx, ecx
mov eax, ecx
jae 0x4b0c91
mov eax, dword [esi + 0x94]
add eax, edx
add edx, 1
and byte [eax], 0xe7
jmp 0x4b0c61
xor eax, eax
jmp 0x4b0c88
add dword [edx + eax*8], ebp
add eax, 1
cmp eax, ecx
jne 0x4b0c82
jmp 0x4b0aed
add eax, 4
mov dword [esp + 0x28], ebx
mov edx, 1
mov word [esi + 0x84], ax
mov ebx, edi
mov eax, esi
mov byte [esp + 0x2f], bl
call sym._TT_Hint_Glyph
mov dword [esp + 0x24], eax
jmp 0x4afc30
lea eax, [esp + 0x88]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x188]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call sym._ft_mem_realloc
mov dword [ebp + 0x188], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4b0d30
mov edx, dword [esp + 0x34]
mov ebp, dword [esi + 0xa0]
mov ecx, edx
jmp 0x4b0b8c
test ax, ax
je 0x4afc30
movzx edx, ax
mov ebp, dword [esi + 0xa0]
jmp 0x4b0b9d
mov eax, dword [esi + 0xa0]
movzx edx, cx
mov dword [eax + 0x184], edx
jmp 0x4afc30