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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 0x2dc]
cmp eax, 1
jb 0x4a2ba0
cmp eax, 2
jbe 0x4a2bb0
cmp eax, 3
jne 0x4a2ba0
mov eax, dword [esp + 0x88]
xor edx, edx
xor ecx, ecx
mov word [eax + 2], dx
mov word [eax], cx
mov eax, dword [ebp + 0x2d4]
mov ecx, dword [esp + 0x74]
lea eax, [eax + ecx*4 + 8]
movzx edx, byte [eax + 1]
movzx esi, byte [eax]
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
mov dword [esp + 4], 0x73626978
mov dword [esp], ebp
mov byte [esp + 0x14], dl
mov byte [esp + 0x18], al
lea eax, [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call dword [ebp + 0x1fc]
test eax, eax
mov edi, eax
je 0x4a2c50
lea esi, [esi]
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x5c
mov edi, 2
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp + 0x68]
lea esi, [esp + 0x20]
mov dword [esp + 4], 0x43424454
mov dword [esp], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call dword [ebp + 0x1fc]
test eax, eax
jne 0x4a2e00
mov eax, dword [ebp + 0x54]
mov dword [esp], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
add eax, 0x4c
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x30], eax
call sym._FT_Stream_Pos
mov ecx, dword [ebp + 0x2d4]
mov edx, dword [ebp + 0x2d8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
lea eax, [ecx + edx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
lea eax, [eax + eax*2]
shl eax, 4
lea ebx, [eax + 0x37]
cmp edx, ebx
jae 0x4a2e80
add esp, 0x5c
mov edi, 3
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym._FT_Stream_Pos
mov edx, dword [ebp + 0x10]
cmp dword [esp + 0x78], edx
ja 0x4a2fd5
movzx edx, byte [esp + 0x14]
mov edi, esi
shl ebx, 8
shl edi, 0x18
shl edx, 0x10
or edi, edx
movzx edx, byte [esp + 0x18]
mov esi, edi
or esi, edx
mov edx, dword [esp + 0x24]
or ebx, esi
cmp ebx, edx
jae 0x4a2c3f
mov ecx, dword [esp + 0x78]
sub edx, ebx
lea ecx, [ecx*4 + 0xc]
cmp ecx, edx
ja 0x4a2c3f
mov esi, dword [esp + 0x80]
add eax, ebx
mov dword [esp + 0x1c], 5
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
mov dword [esp], esi
lea eax, [eax + edx*4 + 4]
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
jne 0x4a2fc4
mov dword [esp + 4], 8
mov dword [esp], esi
call sym._FT_Stream_EnterFrame
test eax, eax
jne 0x4a2fc4
mov dword [esp], esi
call sym._FT_Stream_GetULong
mov dword [esp], esi
mov edi, eax
call sym._FT_Stream_GetULong
mov dword [esp], esi
mov dword [esp + 0x18], eax
call sym._FT_Stream_ExitFrame
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x4a2fd5
ja 0x4a2c3f
mov ebp, eax
sub ebp, edi
cmp ebp, 7
jbe 0x4a2c3f
mov ecx, dword [esp + 0x24]
sub ecx, ebx
cmp eax, ecx
ja 0x4a2c3f
add edi, dword [esp + 0x14]
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._FT_Stream_Seek
test eax, eax
jne 0x4a2fc4
mov dword [esp + 4], ebp
mov dword [esp], esi
call sym._FT_Stream_EnterFrame
test eax, eax
jne 0x4a2fc4
mov dword [esp], esi
call sym._FT_Stream_GetUShort
mov dword [esp], esi
call sym._FT_Stream_GetUShort
mov dword [esp], esi
call sym._FT_Stream_GetULong
cmp eax, 0x6a706720
je 0x4a2f70
ja 0x4a2e50
cmp eax, 0x64757065
jne 0x4a2e66
sub dword [esp + 0x1c], 1
je 0x4a2fcb
mov dword [esp], esi
call sym._FT_Stream_GetUShort
mov dword [esp], esi
movzx eax, ax
mov dword [esp + 0x78], eax
call sym._FT_Stream_ExitFrame
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
cmp dword [eax + 0x10], edx
jb 0x4a2fd5
mov eax, dword [esp + 0x24]
cmp ebx, eax
jae 0x4a2c3f
mov edx, dword [esp + 0x78]
sub eax, ebx
lea edx, [edx*4 + 0xc]
cmp eax, edx
jae 0x4a2cbb
jmp 0x4a2c3f
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x45424454
mov dword [esp], ebp
call dword [ebp + 0x1fc]
test eax, eax
je 0x4a2bd8
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x62646174
mov dword [esp], ebp
call dword [ebp + 0x1fc]
test eax, eax
mov edi, eax
jne 0x4a2b90
jmp 0x4a2bd8
cmp eax, 0x7267626c
je 0x4a2f70
cmp eax, 0x74696666
je 0x4a2f70
mov edi, 7
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym._FT_Stream_ExitFrame
jmp 0x4a2b90
lea eax, [ecx + eax + 8]
movzx ecx, byte [eax]
movzx esi, byte [eax + 2]
mov ebx, ecx
movzx ecx, byte [eax + 1]
shl esi, 8
shl ebx, 0x18
shl ecx, 0x10
or ecx, ebx
movzx ebx, byte [eax + 3]
or ebx, ecx
or ebx, esi
mov dword [esp + 0x40], ebx
movzx ecx, byte [eax + 8]
shl ecx, 0x18
mov esi, ecx
movzx ecx, byte [eax + 9]
shl ecx, 0x10
or ecx, esi
movzx esi, byte [eax + 0xb]
or ecx, esi
movzx esi, byte [eax + 0xa]
shl esi, 8
or ecx, esi
cmp edx, ebx
mov dword [esp + 0x44], ecx
movzx eax, byte [eax + 0x2e]
mov byte [esp + 0x36], al
jb 0x4a2c3f
sub edx, ebx
shr edx, 3
cmp ecx, edx
ja 0x4a2c3f
lea ebx, [esp + 0x24]
mov edx, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp], 0
mov eax, ebx
call sym._tt_sbit_decoder_load_image
test eax, eax
mov edi, eax
jne 0x4a2b90
test dword [esp + 0x7c], 0x100000
jne 0x4a2b90
mov eax, dword [esp + 0x84]
cmp byte [eax + 0x12], 7
jne 0x4a2b90
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov dword [esp], ebx
call sym._FT_Bitmap_New
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._FT_Bitmap_Convert
test eax, eax
mov edi, eax
je 0x4a2f80
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._FT_Bitmap_Done
jmp 0x4a2b90
mov edi, 2
jmp 0x4a2e6b
movzx eax, byte [esp + 0x36]
mov edx, dword [esp + 0x84]
mov byte [edx + 0x12], al
mov eax, dword [esp + 0x2c]
mov dword [edx + 8], eax
movzx eax, word [esp + 0x34]
mov word [edx + 0x10], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x54]
mov dword [esp], eax
call sym._ft_glyphslot_set_bitmap
mov eax, dword [ebp + 0x54]
mov eax, dword [eax + 0x9c]
or dword [eax + 4], 1
jmp 0x4a2b90
mov edi, eax
jmp 0x4a2b90
mov edi, 3
jmp 0x4a2e6b
mov edi, 6
jmp 0x4a2b90