Function at 0x4bbeb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebp, dword [esp + 0xf4]
mov ebx, dword [ebp + 0x68]
mov edi, dword [ebp + 0x64]
mov dword [ebp + 0x84], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._FT_Stream_Seek
test eax, eax
mov edx, eax
mov dword [esp + 0x40], eax
je 0x4bbf90
cmp dl, 2
mov dword [esp + 0xa8], edx
je 0x4bc310
mov ebx, dword [ebp + 0x84]
mov esi, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
test ebx, ebx
je 0x4bbf5d
mov ecx, dword [ebx + 0xa0]
test ecx, ecx
je 0x4bbf2b
lea edx, [ebx + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._FT_Stream_ReleaseFrame
mov eax, dword [ebx + 0xa8]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._ft_mem_free
mov dword [ebx + 0xa8], 0
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._ft_mem_free
mov dword [ebp + 0x84], 0
mov eax, dword [ebp + 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._ft_mem_free
mov edx, dword [esp + 0xa8]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x1c], 0
add esp, 0xdc
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x46]
mov dword [esp + 4], 0x50c9cc
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov edx, eax
jne 0x4bbeef
cmp word [esp + 0x46], 0x5a4d
mov dword [esp + 0x40], 2
mov dl, 2
je 0x4bc3d0
mov esi, dword [ebp + 0x84]
mov ebx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
test esi, esi
je 0x4bbeef
mov edx, dword [esi + 0xa0]
test edx, edx
je 0x4bbff9
lea edx, [esi + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._FT_Stream_ReleaseFrame
mov eax, dword [esi + 0xa8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ft_mem_free
mov dword [esi + 0xa8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._ft_mem_free
mov dword [ebp + 0x84], 0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xf8]
shr eax, 0x1f
test edx, edx
sete cl
and ecx, eax
test cl, cl
mov dword [esp + 0xa8], edx
jne 0x4bbf81
cmp dl, 2
je 0x4bc310
lea eax, [esp + 0xa8]
test edx, edx
mov dword [esp + 0x24], eax
jne 0x4bbeff
mov eax, dword [esp + 0xf8]
mov ebx, dword [ebp + 0x84]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 8]
movzx ecx, word [ebx + 0x66]
mov edx, eax
or edx, 0x12
cmp word [ebx + 0x64], cx
mov dword [ebp + 8], edx
je 0x4bc305
cmp byte [ebx + 0x56], 0
je 0x4bc09e
or dword [ebp + 0xc], 1
cmp word [ebx + 0x5a], 0x31f
jbe 0x4bc0aa
or dword [ebp + 0xc], 2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp + 0x14], eax
mov dword [esp], edi
call sym._ft_mem_realloc
mov edx, dword [esp + 0xa8]
mov esi, eax
mov dword [ebp + 0x20], eax
test edx, edx
jne 0x4bbeff
movzx eax, word [ebx + 0x64]
mov dword [ebp + 0x1c], 1
mov ecx, 0x48
movzx edx, word [ebx + 0x4e]
mov word [esi + 2], ax
movzx eax, word [ebx + 0x60]
add ax, word [ebx + 0x54]
mov word [esi], ax
movzx eax, word [ebx + 0x4a]
shl eax, 6
cmp word [ebx + 0x4e], 0
mov dword [esi + 4], eax
cmove edx, ecx
cmp word [ebx + 0x4c], 0
mov dword [esp + 0x28], edx
movzx edx, word [ebx + 0x4c]
mov dword [esp + 8], 0x48
mov dword [esp], eax
cmovne ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], ecx
call sym._FT_MulDiv
movzx edx, word [ebx + 0x60]
add eax, 0x20
mov ecx, dword [esp + 0x2c]
and eax, 0xffffffc0
mov dword [esi + 0xc], eax
shl edx, 6
cmp eax, edx
jg 0x4bc392
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], 0x48
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._FT_MulDiv
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 8], eax
xor eax, eax
mov dword [esp + 0xc0], 0
mov word [esp + 0xc4], ax
xor eax, eax
mov dword [esp + 0xbc], ebp
mov word [esp + 0xc6], ax
cmp byte [ebx + 0x5c], 0x4d
je 0x4bc3b1
lea eax, [esp + 0xbc]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], 0x50c820
mov dword [esp + 8], eax
call sym._FT_CMap_New
test eax, eax
mov dword [esp + 0xa8], eax
jne 0x4bbeff
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4bc200
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp + 0x5c], eax
movzx eax, byte [ebx + 0x69]
movzx edx, byte [ebx + 0x68]
cmp al, dl
jb 0x4bc2f5
sub eax, edx
mov esi, dword [ebx + 8]
add eax, 2
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x74]
cmp eax, esi
jae 0x4bc2f5
sub esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [esi + 1]
mov dword [esp + 4], eax
call sym._ft_mem_alloc
mov edx, dword [esp + 0xa8]
mov dword [ebx + 0xa8], eax
test edx, edx
jne 0x4bbeff
mov edx, dword [ebx + 0x74]
add edx, dword [ebx + 0xa0]
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [ebx + 0xa8]
mov byte [eax + esi], 0
mov edx, dword [ebx + 0xa8]
mov dword [esp], edx
mov dword [esp + 0x28], edx
call sym._strlen
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call sym._ft_mem_realloc
mov edx, dword [esp + 0xa8]
mov dword [ebx + 0xa8], eax
test edx, edx
jne 0x4bbeff
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x18], str.Regular
test al, 2
je 0x4bc62d
test al, 1
mov ecx, str.Bold_Italic
mov eax, str.Bold
cmovne eax, ecx
mov dword [ebp + 0x18], eax
jmp 0x4bbf81
mov dword [esp + 0xa8], 3
jmp 0x4bbeff
or eax, 0x16
mov dword [ebp + 8], eax
jmp 0x4bc094
lea eax, [esp + 0xa8]
mov dword [esp + 4], 0xac
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 0x24], eax
call sym._ft_mem_alloc
mov edx, dword [esp + 0xa8]
mov ebx, eax
mov dword [ebp + 0x84], eax
test edx, edx
jne 0x4bbf81
mov dword [ebp], 1
mov dword [eax], 0
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0xa4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._FT_Stream_Seek
test eax, eax
je 0x4bc490
mov dword [esp + 0xa8], eax
jmp 0x4bbeff
mov dword [esi + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x48
mov dword [esp], edx
call sym._FT_MulDiv
mov dword [esi + 4], eax
jmp 0x4bc16a
mov esi, 1
mov dword [esp + 0xc0], 0x61726d6e
mov word [esp + 0xc4], si
jmp 0x4bc1bb
movzx eax, word [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
xor ecx, ecx
test eax, eax
mov edx, eax
mov dword [esp + 0x40], eax
jne 0x4bc040
lea eax, [esp + 0x4a]
mov dword [esp + 4], 0x50c9b4
mov dword [esp], ebx
mov byte [esp + 0x24], cl
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov edx, eax
movzx ecx, byte [esp + 0x24]
jne 0x4bc040
movzx eax, word [esp + 0x4a]
mov dword [esp + 0x40], 2
cmp ax, 0x454e
je 0x4bc4d8
cmp ax, 0x4550
je 0x4bc641
mov eax, dword [ebp]
test eax, eax
je 0x4bc574
cmp dword [esp + 0xf8], eax
jge 0x4bc621
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x4bbfc9
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xa8], 0
test eax, eax
js 0x4bbf81
lea eax, [esp + 0xa8]
mov dword [esp + 0x24], eax
jmp 0x4bc06b
lea eax, [ebx + 4]
mov dword [esp + 4], 0x50c880
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
call sym._FT_Stream_ReadFields
test eax, eax
jne 0x4bc386
movzx eax, word [ebx + 4]
mov edx, dword [esp + 0x28]
mov ecx, eax
and ch, 0xfe
cmp cx, 0x200
je 0x4bc580
mov eax, 2
jmp 0x4bc386
movzx edx, word [esp + 0x48]
movzx eax, word [esp + 0x4c]
mov dword [esp], ebx
add eax, edx
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov edx, eax
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x24]
jne 0x4bc040
movzx edx, word [esp + 0x4c]
movzx eax, word [esp + 0x4e]
mov dword [esp], ebx
sub eax, edx
mov dword [esp + 4], eax
call sym._FT_Stream_EnterFrame
test eax, eax
mov edx, eax
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x24]
jne 0x4bc040
mov dword [esp], ebx
call sym._FT_Stream_GetUShortLE
mov word [esp + 0x28], ax
jmp 0x4bc55d
call sym._FT_Stream_GetUShortLE
cmp si, 0x8008
je 0x4bc6e8
movzx eax, ax
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
add dword [ebx + 0x20], eax
mov dword [esp], ebx
call sym._FT_Stream_GetUShortLE
test ax, ax
mov esi, eax
mov dword [esp], ebx
jne 0x4bc53d
call sym._FT_Stream_ExitFrame
xor ecx, ecx
mov edx, 3
jmp 0x4bc040
cmp ax, 0x300
je 0x4bc6a3
cmp dword [ebx + 8], 0x75
jbe 0x4bc4ce
cmp ax, 0x200
je 0x4bc6b5
test byte [ebx + 0x48], 1
jne 0x4bc4ce
mov eax, dword [ebx]
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
call sym._FT_Stream_Seek
test eax, eax
jne 0x4bc386
lea eax, [ebx + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
call sym._FT_Stream_ExtractFrame
test eax, eax
mov dword [esp + 0xa8], eax
jne 0x4bbeff
cmp dword [esp + 0xf8], 0
mov edx, dword [esp + 0x28]
jle 0x4bc616
mov dword [esp + 0xa8], 6
jmp 0x4bbeff
je 0x4bc06b
jmp 0x4bbf81
xor ecx, ecx
mov edx, 6
jmp 0x4bc040
test al, 1
je 0x4bbf81
mov dword [ebp + 0x18], str.Italic
jmp 0x4bbf81
movzx eax, word [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc02b
lea eax, [esp + 0xa8]
mov dword [esp + 4], 0x50c980
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc02b
cmp dword [esp + 0xa8], 0x4550
je 0x4bc81a
mov dword [esp + 0x40], 3
jmp 0x4bc02b
cmp dword [ebx + 8], 0x93
jbe 0x4bc4ce
jmp 0x4bc59e
mov dword [ebx + 0x84], 0
mov word [ebx + 0x88], 0
mov word [ebx + 0x8a], 0
mov word [ebx + 0x8c], 0
mov word [ebx + 0x8e], 0
jmp 0x4bc59e
mov dword [esp], ebx
mov word [esp + 0x24], ax
call sym._FT_Stream_Pos
mov edx, dword [ebx + 0x20]
sub edx, dword [ebx + 0x24]
mov dword [esp], ebx
lea esi, [eax + edx + 4]
call sym._FT_Stream_ExitFrame
test esi, esi
sete cl
cmp word [esp + 0x24], 0
sete al
or cl, al
jne 0x4bc574
movzx edx, word [esp + 0x24]
imul eax, edx, 0x76
cmp eax, dword [ebx + 4]
ja 0x4bc574
cmp dword [esp + 0xf8], edx
mov dword [ebp], edx
jge 0x4bc621
cmp dword [esp + 0xf8], 0
js 0x4bc896
lea eax, [esp + 0x40]
mov dword [esp + 4], 0xac
mov dword [esp], edi
mov byte [esp + 0x24], cl
mov dword [esp + 8], eax
call sym._ft_mem_alloc
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x84], eax
movzx ecx, byte [esp + 0x24]
test edx, edx
jne 0x4bc040
imul eax, dword [esp + 0xf8], 0xc
mov dword [esp], ebx
add esi, eax
mov dword [esp + 4], esi
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc455
mov dword [esp + 4], 0xc
mov dword [esp], ebx
call sym._FT_Stream_EnterFrame
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc455
mov esi, dword [ebp + 0x84]
mov dword [esp], ebx
call sym._FT_Stream_GetUShortLE
movzx ecx, word [esp + 0x28]
movzx eax, ax
shl eax, cl
mov dword [esp + 0x24], ecx
mov dword [esi], eax
mov esi, dword [ebp + 0x84]
mov dword [esp], ebx
call sym._FT_Stream_GetUShortLE
mov ecx, dword [esp + 0x24]
movzx eax, ax
shl eax, cl
mov dword [esi + 0xa4], eax
add dword [ebx + 0x20], 8
mov dword [esp], ebx
call sym._FT_Stream_ExitFrame
mov eax, dword [ebp + 0x84]
mov edx, ebx
call sym._fnt_font_load
mov dword [esp + 0x40], eax
jmp 0x4bc43d
cmp word [esp + 0xac], 0x14c
jne 0x4bc696
cmp dword [esp + 0xb0], 0x10b00e0
jne 0x4bc696
lea edx, [esp + 0xbc]
mov dword [ebp], 0
xor esi, esi
cmp si, word [esp + 0xae]
jae 0x4bc696
mov dword [esp + 8], edx
mov dword [esp + 4], 0x50c960
mov dword [esp], ebx
mov dword [esp + 0x24], edx
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc02b
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0xb4], eax
je 0x4bc8a4
add esi, 1
mov edx, dword [esp + 0x24]
jmp 0x4bc84b
mov edx, dword [esp + 0x40]
test edx, edx
sete cl
jmp 0x4bc040
mov eax, dword [esp + 0xcc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc02b
lea eax, [esp + 0x68]
mov dword [esp + 4], 0x50c940
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bc02b
mov eax, dword [esp + 0xcc]
mov word [esp + 0x2c], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], eax
add eax, 0x10
mov dword [esp + 0x3c], eax
movzx ecx, word [esp + 0x74]
movzx eax, word [esp + 0x76]
movzx edx, word [esp + 0x2c]
add eax, ecx
cmp edx, eax
jge 0x4bcb01
mov eax, dword [esp + 0x3c]
mov dword [esp], ebx
lea eax, [eax + edx*8]
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [esp + 0x50]
mov dword [esp + 4], 0x50c930
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
mov esi, dword [esp + 0x54]
test esi, esi
jns 0x4bcb66
and esi, 0x7fffffff
mov dword [esp], ebx
mov dword [esp + 0x54], esi
add esi, dword [esp + 0xcc]
mov dword [esp + 4], esi
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [esp + 0x78]
mov dword [esp + 4], 0x50c940
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [esi + 0x10]
mov word [esp + 0x28], 0
mov dword [esp + 0x38], eax
movzx ecx, word [esp + 0x84]
movzx eax, word [esp + 0x86]
movzx edx, word [esp + 0x28]
add eax, ecx
cmp edx, eax
jge 0x4bcb78
mov eax, dword [esp + 0x38]
mov dword [esp], ebx
lea eax, [eax + edx*8]
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [esp + 0x58]
mov dword [esp + 4], 0x50c930
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
mov edi, dword [esp + 0x5c]
test edi, edi
jns 0x4bcb66
and edi, 0x7fffffff
mov dword [esp], ebx
mov dword [esp + 0x5c], edi
add edi, dword [esp + 0xcc]
mov dword [esp + 4], edi
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [esp + 0x88]
mov dword [esp + 4], 0x50c940
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [edi + 0x10]
lea edi, [esp + 0x60]
xor esi, esi
mov dword [esp + 0x34], eax
movzx ecx, word [esp + 0x94]
movzx eax, word [esp + 0x96]
movzx edx, si
add eax, ecx
cmp edx, eax
jge 0x4bcb5b
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
lea eax, [eax + edx*8]
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
mov dword [esp + 8], edi
mov dword [esp + 4], 0x50c930
mov dword [esp], ebx
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
cmp dword [esp + 0x5c], 0
js 0x4bcb66
cmp dword [esp + 0x50], 8
je 0x4bcb0a
add esi, 1
jmp 0x4bca92
mov edi, dword [esp + 0x24]
jmp 0x4bc43d
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Stream_Seek
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
lea eax, [esp + 0x98]
mov dword [esp + 4], 0x50c918
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Stream_ReadFields
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4bcb6f
mov eax, dword [ebp]
cmp dword [esp + 0xf8], eax
je 0x4bcb83
add dword [ebp], 1
jmp 0x4bcafc
add word [esp + 0x28], 1
jmp 0x4bc9c7
mov edi, dword [esp + 0x24]
jmp 0x4bc696
mov edi, dword [esp + 0x24]
jmp 0x4bc02b
add word [esp + 0x2c], 1
jmp 0x4bc904
lea eax, [esp + 0x40]
mov dword [esp + 4], 0xac
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._ft_mem_alloc
cmp dword [esp + 0x40], 0
mov dword [ebp + 0x84], eax
jne 0x4bcb6f
mov edx, dword [esp + 0xcc]
add edx, dword [esp + 0x98]
sub edx, dword [esp + 0xc4]
mov dword [eax], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 0xa4], edx
mov edx, ebx
call sym._fnt_font_load
test eax, eax
mov dword [esp + 0x40], eax
je 0x4bcb55
mov edi, dword [esp + 0x24]
jmp 0x4bc455