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

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x7c
mov esi, dword [edi + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x90]
mov ebp, dword [edi + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], esi
mov esi, dword [eax + 0x54]
or dh, 0x20
mov dword [esp + 0x28], esi
mov esi, dword [esi + 0x9c]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x3c], esi
mov ebx, esi
call sym._FT_Load_Glyph
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4bef70
movzx eax, byte [ebx + 8]
test al, al
mov byte [edi + 0x88], al
jne 0x4bef80
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x48]
cmp eax, 0x636f6d70
je 0x4bf090
cmp eax, 0x6f75746c
je 0x4bf030
mov dword [esp + 0x2c], 7
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4bef70
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ebx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x2c]
sub ebx, dword [ecx + 0x24]
sub eax, dword [ecx + 0x20]
mov edx, dword [esi + 8]
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 [esp + 0x54], eax
mov edx, dword [esi + 0xc]
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
cmp byte [edi + 0x88], 0
mov dword [esp + 0x58], eax
lea ebx, [ebp + 0x14]
jne 0x4bf546
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x4bf52b
lea eax, [esp + 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Outline_Get_CBox
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
lea ecx, [eax + 0x3f]
mov eax, dword [esp + 0x68]
and edx, 0xffffffc0
and ebx, 0xffffffc0
mov dword [esp + 0x5c], edx
and ecx, 0xffffffc0
mov dword [esp + 0x60], ebx
add eax, 0x3f
mov dword [esp + 0x64], ecx
sub ecx, edx
and eax, 0xffffffc0
mov dword [esp + 0x68], eax
mov dword [esi + 0x18], ecx
mov ecx, eax
mov dword [esi + 0x24], eax
add eax, dword [esp + 0x58]
sub ecx, ebx
mov dword [esi + 0x20], edx
add edx, dword [esp + 0x54]
mov dword [esi + 0x1c], ecx
and eax, 0xffffffc0
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x30]
and edx, 0xffffffc0
mov dword [esi + 0x2c], edx
cmp dword [eax + 0x14], 1
je 0x4beec8
mov eax, dword [esi + 4]
test byte [eax + 8], 4
jne 0x4bf4e8
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x48]
cmp ebx, dword [eax + 4]
jb 0x4bf4cd
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 0x28]
test ebx, ebx
je 0x4beedf
mov ebx, dword [edi + 0xac]
sub ebx, dword [edi + 0xa4]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0x34]
mov edx, dword [ecx + 0xc]
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
add ebx, 0x20
add eax, 0x20
and ebx, 0xffffffc0
and eax, 0xffffffc0
mov dword [edi + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x34], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._FT_GlyphLoader_Rewind
mov dword [esp + 4], ebp
mov eax, dword [ebx]
mov dword [esp], eax
call sym._FT_GlyphLoader_CopyPoints
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4bef70
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax]
movzx edx, word [eax + 0x14]
mov word [ebx + 0x6c], dx
movzx edx, word [eax + 0x16]
mov word [ebx + 0x6e], dx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x70], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x48], 0x6f75746c
mov dword [ebx + 0x74], edx
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 0x2c]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x3c]
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], esi
mov dword [edi + 0x8c], esi
mov esi, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x1c]
mov dword [edi + 0x90], ecx
mov dword [edi + 0x94], edx
mov dword [edi + 0x98], eax
mov dword [esp + 0x60], ecx
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], esi
lea ebx, [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x64], edx
mov dword [esp], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], esi
call sym._FT_Matrix_Invert
test eax, eax
je 0x4bf570
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x48]
cmp eax, 0x636f6d70
je 0x4bf090
cmp eax, 0x6f75746c
jne 0x4beda8
cmp byte [edi + 0x88], 0
je 0x4bf030
mov eax, dword [edi + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
add eax, 0x6c
mov dword [esp], eax
call sym._FT_Outline_Translate
nop
mov eax, dword [esp + 0x28]
movsx eax, word [eax + 0x6e]
cmp ax, 0xfffc
je 0x4bf2a2
movsx ecx, word [ebp + 0x16]
movsx edx, word [ebp + 0x3a]
add edx, ecx
lea edx, [edx + eax + 4]
cmp edx, dword [ebp + 4]
jbe 0x4bf2a7
mov ecx, dword [esp + 0x28]
movsx edx, word [ecx + 0x6c]
add eax, 4
mov dword [esp + 8], edx
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym._FT_GlyphLoader_CheckPoints
test eax, eax
je 0x4bf5ef
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
movsx ebx, word [ebp + 0x16]
mov eax, dword [eax + 0x80]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0x40], eax
call sym._FT_GlyphLoader_CheckSubGlyphs
test eax, eax
jne 0x4bf07c
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
mov eax, dword [ebp + 0x58]
mov edx, dword [edx + 0x84]
mov ecx, esi
shl ecx, 5
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call sym._memcpy
test esi, esi
mov dword [ebp + 0x54], esi
mov eax, dword [ebp + 0x30]
je 0x4bedb0
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x94]
shl eax, 5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
lea ecx, [ebx + 1]
mov dword [esp + 0x44], ecx
mov esi, esi
lea edi, [edi]
mov eax, dword [edi + 0xac]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [edi + 0xa4]
mov esi, dword [edi + 0xa8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x24], eax
movsx eax, word [ebp + 0x16]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + ecx]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, edi
call sym._af_loader_load_g
test eax, eax
jne 0x4bf07c
mov ecx, dword [esp + 0x1c]
add ecx, dword [ebp + 0x34]
movzx edx, word [ecx + 4]
mov dword [esp + 0x18], ecx
test dh, 2
jne 0x4bf19f
mov eax, dword [esp + 0x34]
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], esi
mov dword [edi + 0xac], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0xb0], eax
movzx edx, word [ecx + 4]
movsx eax, word [ebp + 0x16]
sub eax, dword [esp + 0x14]
test dl, 0xc8
mov dword [esp + 0x24], eax
je 0x4bf1f3
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x14]
lea ebx, [eax + ebx*8]
mov eax, dword [esp + 0x24]
lea eax, [ebx + eax*8]
cmp ebx, eax
jae 0x4bf1f3
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], edi
mov edi, ebx
mov ebx, eax
lea esi, [ecx + 0x10]
mov dword [esp], edi
mov dword [esp + 4], esi
add edi, 8
call sym._FT_Vector_Transform
cmp ebx, edi
ja 0x4bf1d4
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
movzx edx, word [eax + 4]
and edx, 2
jne 0x4bf470
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
add edx, esi
cmp ebx, edx
jbe 0x4bf5be
cmp dword [esp + 0x24], eax
jbe 0x4bf5be
mov ecx, dword [ebp + 0x18]
add ebx, esi
add eax, ebx
lea edx, [ecx + edx*8]
lea ecx, [ecx + eax*8]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
sub ebx, dword [ecx]
sub eax, dword [ecx + 4]
mov edx, dword [ebp + 0x14]
movzx ecx, word [esp + 0x24]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x68], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 8], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], ebx
mov word [esp + 0x5e], cx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x14]
mov dword [esp], eax
shl edx, 3
add dword [esp + 0x60], edx
call sym._FT_Outline_Translate
add dword [esp + 0x20], 1
add dword [esp + 0x1c], 0x20
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x40]
jne 0x4bf110
jmp 0x4bedb0
mov eax, 0xfffffffc
mov ebx, dword [esp + 0x28]
movsx edx, word [ebx + 0x6c]
test dx, dx
je 0x4bf2c9
movsx ebx, word [ebp + 0x14]
movsx ecx, word [ebp + 0x38]
add ecx, ebx
add ecx, edx
cmp ecx, dword [ebp + 8]
ja 0x4bf061
mov ebx, dword [esp + 0x28]
mov edx, dword [ebp + 0x3c]
shl eax, 3
mov ecx, dword [ebx + 0x70]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sym._memcpy
movsx eax, word [ebx + 0x6c]
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebx + 0x78]
mov dword [esp], edx
add eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._memcpy
movsx ecx, word [ebx + 0x6e]
mov edx, dword [ebx + 0x74]
mov eax, dword [ebp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._memcpy
mov ecx, ebx
movzx ebx, word [ebx + 0x6e]
mov esi, dword [edi + 0x14]
movzx eax, word [ecx + 0x6c]
mov edx, dword [edi + 0x10]
mov word [ebp + 0x3a], bx
mov word [ebp + 0x38], ax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0xa4], esi
mov dword [edi + 0xa8], eax
mov eax, dword [ecx + 0x28]
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
add esi, eax
mov eax, dword [edi + 0x1c]
test bx, bx
mov dword [edi + 0xac], esi
mov dword [edi + 0xb0], eax
je 0x4bedb0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x50cfd4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4bf3aa
lea edx, [ebp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
lea edx, [edi + 0xc]
mov dword [esp], edx
call eax
mov esi, dword [edi + 0xac]
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x14], 1
je 0x4bf5cb
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x4c]
cmp eax, 1
jle 0x4bf587
test byte [edi + 0x70], 4
jne 0x4bf587
lea eax, [eax + eax*2]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 8]
shl eax, 4
lea eax, [edx + eax - 0x30]
mov dword [esp + 0x18], ebx
sub ebx, ecx
mov edx, ecx
sub esi, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 0x17
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
lea ecx, [eax + esi]
lea eax, [ebx - 8]
cmovle ebx, eax
lea eax, [ecx + 8]
cmp esi, 0x17
lea edx, [ebx + 0x20]
cmovle ecx, eax
lea eax, [ecx + 0x20]
and edx, 0xffffffc0
mov dword [edi + 0xa4], edx
and eax, 0xffffffc0
cmp dword [esp + 0x18], edx
mov dword [edi + 0xac], eax
jg 0x4bf43a
cmp dword [esp + 0x14], 0
jle 0x4bf43a
sub edx, 0x40
mov dword [edi + 0xa4], edx
cmp dword [esp + 0x1c], eax
jl 0x4bf44d
test esi, esi
jle 0x4bf44d
add eax, 0x40
mov dword [edi + 0xac], eax
sub edx, ebx
mov ebx, dword [esp + 0x28]
sub eax, ecx
mov dword [ebx + 0x90], edx
mov dword [ebx + 0x94], eax
mov dword [esp], ebp
call sym._FT_GlyphLoader_Add
jmp 0x4bedb0
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0x10]
mov eax, dword [esi + 8]
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 ebx, eax
mov edx, dword [edi + 0x18]
mov eax, dword [esi + 0xc]
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
add ebx, dword [edi + 0x14]
add eax, dword [edi + 0x1c]
add ebx, 0x20
add eax, 0x20
and ebx, 0xffffffc0
and eax, 0xffffffc0
jmp 0x4bf239
mov eax, dword [eax + 8]
cmp byte [eax + ebx], 0
jns 0x4beec8
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x20], 0
je 0x4beec8
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov eax, dword [edi + 0x28]
mov edx, dword [ebx + 8]
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 [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov ebx, eax
jmp 0x4beedf
neg eax
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Outline_Translate
jmp 0x4bee35
lea esi, [edi + 0x8c]
lea ebx, [ebp + 0x14]
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._FT_Outline_Transform
lea eax, [esp + 0x54]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._FT_Vector_Transform
jmp 0x4bee27
lea eax, [edi + 0x9c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._FT_Vector_Transform
jmp 0x4befe6
mov edx, dword [edi + 0xa4]
lea eax, [esi + 0x20]
lea ecx, [edx + 0x20]
and ecx, 0xffffffc0
mov dword [edi + 0xa4], ecx
mov ebx, dword [esp + 0x28]
and eax, 0xffffffc0
sub ecx, edx
mov dword [edi + 0xac], eax
sub eax, esi
mov dword [ebx + 0x90], ecx
mov dword [ebx + 0x94], eax
jmp 0x4bf461
mov dword [esp + 0x2c], 0x15
jmp 0x4bef70
mov edx, dword [edi + 0xa4]
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x80]
add ecx, edx
add ecx, 0x20
add eax, esi
and ecx, 0xffffffc0
add eax, 0x20
mov dword [edi + 0xa4], ecx
jmp 0x4bf59c
mov eax, dword [esp + 0x28]
movsx eax, word [eax + 0x6e]
jmp 0x4bf2c9