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

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, eax
sub esp, 0xac
mov edi, dword [eax + 0x4c]
mov ebx, dword [eax]
mov dword [esp + 0x68], 0
mov ebp, dword [edi + 0xb9c]
test ebp, ebp
je 0x4833ce
mov eax, dword [esi + 4]
add ecx, edx
mov dword [ebp + 0x84], esi
mov dword [ebp + 0x80], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x7c], edx
mov ebx, dword [eax + 0x60]
mov dword [esp + 0x80], ecx
xor eax, eax
mov dword [esp + eax + 0x88], 0
add eax, 4
cmp eax, 0x18
jb 0x482987
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xa0], 0
movzx eax, byte [ecx + 0xa1]
je 0x483366
mov edx, dword [ecx + 0xa4]
mov ecx, dword [ecx + 0xa8]
mov dword [ebp + 8], 1
lea edi, [edx + 0x5f]
add edx, 0x20
cmovns edi, edx
lea edx, [ecx + 0x5f]
sar edi, 6
add ecx, 0x20
cmovns edx, ecx
mov dword [esp + 0x88], edi
mov ecx, 1
sar edx, 6
mov dword [esp + 0x94], edx
mov dword [esp + 0x2c], edx
mov edx, 3
test al, al
je 0x482a07
cmp byte [ebx + 0x20], 0
jne 0x482a07
mov dword [ebp + 8], edx
mov ecx, edx
mov edx, dword [ebx + 0x24]
test al, al
mov dword [ebp + 0x90], edx
mov edx, dword [ebx + 0x28]
mov dword [ebp + 0x94], edx
mov edx, dword [ebx + 0x2c]
mov dword [ebp + 0x98], edx
mov edx, dword [ebx + 0x30]
mov dword [ebp + 0x9c], edx
mov edx, dword [ebx + 0x34]
mov dword [ebp + 0xa0], edx
mov edx, dword [ebx + 0x38]
mov dword [ebp + 0xa4], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebp + 0xa8], edx
mov edx, dword [ebx + 0x40]
mov dword [ebp + 0xac], edx
mov edx, dword [esi + 4]
movzx edx, word [edx + 0x44]
mov dword [ebp + 0x58], edx
je 0x482ab0
test edi, edi
mov eax, 0x24
jle 0x482a7b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x482a7b
cmp edx, 0x7fff
jle 0x482a86
mov eax, 0xa4
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
shl edx, 0x10
mov dword [esp], 0x7d00000
mov dword [esp + 4], edx
call sym._FT_DivFix
cmp eax, edi
jl 0x482a76
cmp eax, dword [esp + 0x2c]
jl 0x482a76
mov ecx, dword [ebp + 8]
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0x84]
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [ebp + 4], 0
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3a0]
cmp eax, dword [ebp + 0x88]
je 0x483615
mov dword [ebp + 0x88], eax
mov esi, 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x58]
movzx edi, word [eax + 0xe]
shl edi, 0x10
cmp edi, dword [ebp + 0x54]
je 0x482b1a
mov dword [ebp + 0x54], edi
mov esi, 1
mov eax, ecx
mov byte [esp + 0x30], cl
mov dword [esp + 0x34], ecx
and eax, 1
mov byte [ebp + 0x8c], al
lea eax, [ebp + 0xc]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
call sym._memcmp
test eax, eax
mov ecx, dword [esp + 0x34]
je 0x4831c4
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
and ecx, 2
mov esi, dword [esp + 0x94]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x48], 0x10000
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x3c], 0x10000
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0x9c]
mov dword [ebp + 0x38], eax
movzx eax, byte [ebp + 0x8e]
cmp eax, ecx
je 0x482bf3
movzx eax, byte [esp + 0x30]
and eax, 2
mov byte [ebp + 0x8e], al
mov esi, dword [ebp + 0x58]
test esi, esi
je 0x4833bc
mov eax, 0x3e80000
cdq
idiv esi
mov dword [esp + 0x30], eax
cmp edi, 0x40000
mov eax, 0x40000
cmovl edi, eax
mov eax, dword [ebx + 0x3a0]
mov ecx, dword [eax + 0x184]
shl ecx, 0x10
test ecx, ecx
mov dword [ebp + 0xb0], ecx
jle 0x48369f
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4835b6
shl esi, 0x10
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._FT_DivFix
cmp dword [esp + 0x2c], eax
jle 0x48363d
mov eax, dword [esp + 0x2c]
lea esi, [ebp + 0x90]
mov ecx, dword [ebp + 0xb0]
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
lea eax, [ebp + 0xb8]
mov edx, edi
mov dword [esp], eax
mov eax, dword [esp + 0x30]
call sym._cf2_computeDarkening
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x180]
mov edx, eax
shl edx, 0x10
test edx, edx
jle 0x482cb2
shl eax, 0x11
cmp dword [ebp + 0xb0], eax
jg 0x48361c
mov eax, dword [esp + 0x30]
mov dword [esp], 0x6e0000
mov dword [esp + 4], eax
call sym._FT_DivFix
mov dword [ebp + 0xb4], eax
mov ecx, eax
mov dword [esp + 0xc], esi
movzx eax, byte [ebp + 0x8e]
mov edx, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [ebp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
call sym._cf2_computeDarkening
mov edx, dword [ebp + 0xb8]
mov eax, 1
test edx, edx
jne 0x482d13
mov eax, dword [ebp + 0xbc]
test eax, eax
setne al
lea edi, [ebp + 0xc8]
mov byte [ebp + 0x8d], al
lea eax, [ebp + 0xc4]
mov byte [ebp + 0xc0], 0
mov ebx, dword [ebp + 0x84]
and edi, 0xfffffffc
mov dword [ebp + 0x1f4], 0
sub eax, edi
lea ecx, [eax + 0x134]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0xc4], eax
mov dword [esp + 4], 0x3e80000
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x174]
mov dword [esp], eax
call sym._FT_DivFix
mov dword [ebp + 0xd0], eax
mov eax, dword [ebx + 0x3a0]
mov esi, eax
mov dword [esp + 0x5c], eax
mov eax, dword [eax + 0x178]
shl eax, 0x10
mov dword [ebp + 0xd4], eax
mov eax, dword [esi + 0x17c]
mov dword [esp + 0x2c], eax
shl eax, 0x10
mov dword [ebp + 0xd8], eax
mov eax, esi
movzx esi, byte [esi + 0xb0]
cmp dword [eax + 0x200], 1
lea edx, [eax + 0xb4]
mov dword [esp + 0x44], esi
movzx esi, byte [eax + 0xb1]
mov dword [esp + 0x48], esi
lea esi, [eax + 0xec]
mov dword [esp + 0x50], esi
movzx esi, byte [eax + 0xb2]
mov dword [esp + 0x38], esi
lea esi, [eax + 0x114]
mov dword [esp + 0x54], esi
movzx esi, byte [eax + 0xb3]
mov dword [esp + 0x3c], esi
lea esi, [eax + 0x14c]
mov dword [esp + 0x58], esi
je 0x483480
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4836d7
mov edi, dword [ebp + 0xc8]
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], edx
mov ebp, edi
lea esi, [esi]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
lea eax, [ebp + ebp*4]
mov ecx, dword [edi + ebx*4]
lea eax, [esi + eax*4]
lea esi, [eax + 0x104]
mov dword [esp + 0x30], eax
shl ecx, 0x10
mov eax, ecx
mov dword [esi + 4], ecx
mov ecx, dword [edi + ebx*4 + 4]
shl ecx, 0x10
mov edi, ecx
mov dword [esi + 8], ecx
sub edi, eax
js 0x482eb1
cmp dword [esp + 0x40], edi
mov edx, edi
cmovge edx, dword [esp + 0x40]
test ebx, ebx
mov dword [esp + 0x40], edx
je 0x4836e4
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0xbc]
lea edi, [edx + edx]
mov dword [esp + 0x34], edx
add eax, edi
add ecx, edi
mov edi, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov byte [edi + 0x118], 0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x2c]
add ebp, 1
mov dword [eax + 0xc8], ebp
add ebx, 2
cmp dword [esp + 0x44], ebx
ja 0x482e30
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
test edi, edi
je 0x482f42
mov esi, dword [ebp + 0xc8]
mov dword [esp + 0x2c], ebp
xor ecx, ecx
mov ebp, dword [esp + 0x50]
lea esi, [esi]
mov edi, dword [esp + 0x2c]
lea eax, [esi + esi*4]
mov edx, dword [ebp + ecx*4]
lea edi, [edi + eax*4]
mov eax, dword [ebp + ecx*4 + 4]
shl edx, 0x10
mov dword [edi + 0x108], edx
shl eax, 0x10
mov dword [edi + 0x10c], eax
sub eax, edx
js 0x482f35
mov edx, dword [esp + 0x40]
mov byte [edi + 0x118], 1
cmp edx, eax
cmovge eax, edx
add esi, 1
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x10c]
mov dword [edi + 0x110], eax
mov edi, dword [esp + 0x2c]
mov dword [edi + 0xc8], esi
add ecx, 2
cmp dword [esp + 0x48], ecx
ja 0x482ee0
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc4]
mov dword [esp], 0x10000
lea esi, [ebp + 0x110]
mov dword [esp + 4], eax
call sym._FT_DivFix
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], 0
test eax, eax
mov dword [esp + 0x48], eax
je 0x483013
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x30]
cmp byte [eax + 8], 0
mov esi, dword [eax]
mov dword [esp + 0x34], esi
jne 0x483121
cmp dword [esp + 0x38], 2
jbe 0x482ff7
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov edi, 0x7fffffff
mov ecx, 2
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x4c], eax
add eax, eax
mov esi, eax
nop
mov edx, dword [ebp + ecx*4]
mov eax, dword [esp + 0x34]
shl edx, 0x10
add edx, esi
sub eax, edx
mov ebx, eax
sar ebx, 0x1f
xor eax, ebx
sub eax, ebx
cmp dword [esp + 0x2c], eax
jle 0x482fee
cmp eax, edi
jge 0x482fee
mov edi, dword [esp + 0x30]
test eax, eax
mov dword [edi], edx
je 0x482ff7
mov edi, eax
add ecx, 2
cmp dword [esp + 0x38], ecx
ja 0x482fc0
add dword [esp + 0x44], 1
add dword [esp + 0x30], 0x14
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
jne 0x482f84
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
test esi, esi
je 0x48303d
mov eax, dword [esp + 0x40]
mov ebx, dword [ebp + 0xd0]
mov dword [esp], 0x10000
mov dword [esp + 4], eax
call sym._FT_DivFix
cmp ebx, eax
jg 0x483680
mov eax, dword [ebp + 0xd0]
mov edx, dword [ebp + 0xc4]
cmp edx, eax
jl 0x4835d8
cmp byte [ebp + 0x8e], 0
je 0x483064
mov dword [ebp + 0xdc], 0
mov eax, dword [ebp + 0xc8]
test eax, eax
mov ecx, eax
je 0x483106
mov eax, dword [ebp + 0xc4]
mov edi, dword [ebp + 0xdc]
lea ebx, [ebp + 0x110]
mov dword [esp + 0x30], ebp
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x2c], eax
jmp 0x4830c5
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
sub eax, edi
add esi, 1
add ebx, 0x14
add eax, 0x8000
xor ax, ax
mov dword [ebx - 0x10], eax
cmp esi, ebp
je 0x483102
cmp byte [ebx + 8], 0
mov eax, dword [ebx]
mov edx, dword [esp + 0x2c]
jne 0x483094
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
lea eax, [edi + eax + 0x8000]
add esi, 1
add ebx, 0x14
xor ax, ax
mov dword [ebx - 0x10], eax
cmp esi, ebp
jne 0x4830c5
mov ebp, dword [esp + 0x30]
mov edx, dword [ebp + 4]
test edx, edx
mov eax, 3
je 0x4831e0
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x3c]
mov edi, 0x7fffffff
test ebx, ebx
je 0x483173
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
xor ecx, ecx
nop
lea esi, [esi]
mov edx, dword [esi + ecx*4 + 4]
mov eax, ebp
shl edx, 0x10
sub eax, edx
mov ebx, eax
sar ebx, 0x1f
xor eax, ebx
sub eax, ebx
cmp dword [esp + 0x2c], eax
jle 0x48316a
cmp eax, edi
jge 0x48316a
mov edi, dword [esp + 0x30]
test eax, eax
mov dword [edi], edx
je 0x4831c0
mov edi, eax
add ecx, 2
cmp dword [esp + 0x3c], ecx
ja 0x483140
cmp dword [esp + 0x38], 1
jbe 0x482ff7
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x118]
mov edx, eax
mov dword [esp + 0x4c], eax
shl edx, 0x10
sub ecx, edx
mov eax, ecx
sar eax, 0x1f
xor ecx, eax
sub ecx, eax
cmp ecx, edi
jge 0x482ff7
cmp dword [esp + 0x2c], ecx
jle 0x482ff7
mov eax, dword [esp + 0x30]
mov dword [eax], edx
jmp 0x482ff7
xor edi, edi
jmp 0x483173
movzx eax, byte [ebp + 0x8e]
and ecx, 2
cmp eax, ecx
jne 0x482be5
mov eax, esi
test al, al
jne 0x482bf3
mov eax, dword [ebp + 0x80]
mov byte [ebp + 0xc0], 0
lea edi, [esp + 0x6c]
movzx ebx, byte [ebp + 0x8d]
mov dword [ebp + 0x74], 0
lea esi, [esp + 0x70]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._FT_GlyphLoader_Rewind
lea eax, [ebp + 0x64]
lea edx, [esp + 0x78]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 4], 0
mov dword [esp], esi
mov eax, ebp
call sym._cf2_interpT2CharString
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x483356
test bl, bl
je 0x4832af
mov edx, dword [ebp + 0x74]
test edx, edx
jns 0x4832af
mov eax, dword [ebp + 0x80]
mov byte [ebp + 0xc0], 1
mov dword [ebp + 0x74], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._FT_GlyphLoader_Rewind
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x78]
mov eax, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._cf2_interpT2CharString
mov eax, dword [ebp + 4]
test eax, eax
jne 0x483356
mov ebx, dword [ebp + 0x80]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x483340
movzx esi, word [eax]
mov dword [esp + 0x2c], 0
cmp si, 1
mov word [esp + 0x30], si
jle 0x4832e8
movsx edx, si
mov esi, dword [eax + 0xc]
movsx edx, word [esi + edx*2 - 4]
lea esi, [edx + 1]
mov dword [esp + 0x2c], esi
movzx edx, word [eax + 2]
cmp dx, 1
jle 0x483318
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x2c]
lea ecx, [esi + edi*8]
movsx edi, dx
lea esi, [esi + edi*8 - 8]
mov dword [esp + 0x34], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x38], edi
mov edi, dword [esi]
cmp dword [ecx], edi
je 0x483652
cmp word [esp + 0x30], 0
jle 0x483340
movsx esi, dx
sub esi, 1
cmp dword [esp + 0x2c], esi
je 0x4836c0
movsx ecx, word [esp + 0x30]
mov eax, dword [eax + 0xc]
sub edx, 1
mov word [eax + ecx*2 - 2], dx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._FT_GlyphLoader_Add
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x6c]
test eax, eax
je 0x48339c
add esp, 0xac
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x88], 0x400
mov dword [esp + 0x94], 0x400
mov edi, 0x400
mov dword [ebp + 8], 0
mov dword [esp + 0x2c], 0x400
mov edx, 2
xor ecx, ecx
jmp 0x4829f8
mov ecx, dword [ebp + 0x80]
add edx, 0x8000
sar edx, 0x10
mov dword [ecx + 0x2e8], edx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x30], 0x10000
mov esi, 0x3e8
jmp 0x482c0a
lea eax, [esp + 0x68]
mov dword [edi + 0xba0], 0x475d70
mov dword [esp + 4], 0x1f8
mov dword [esp], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x2c], edx
call sym._ft_mem_alloc
mov dword [edi + 0xb9c], eax
mov edi, dword [esp + 0x68]
mov eax, 0x40
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test edi, edi
jne 0x482a7b
mov eax, dword [esi + 0x4c]
mov ebp, dword [eax + 0xb9c]
lea edi, [ebp + 0x68]
lea eax, [ebp + 0x64]
mov dword [ebp + 0x64], 0
mov dword [ebp + 0x80], 0
mov dword [ebp], ebx
and edi, 0xfffffffc
sub eax, edi
add eax, 0x20
and eax, 0xfffffffc
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [edi + eax], 0
add eax, 4
cmp eax, dword [esp + 0x2c]
jb 0x48344b
lea eax, [ebp + 4]
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x64], sym._cf2_builder_moveTo
mov dword [ebp + 0x68], sym._cf2_builder_lineTo
mov dword [ebp + 0x70], sym._cf2_builder_cubeTo
mov dword [ebp + 0x7c], eax
jmp 0x482957
mov eax, dword [esp + 0x44]
test eax, eax
je 0x483501
cmp eax, 4
jne 0x482e12
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x2c], eax
shl eax, 0x10
cmp eax, 0xff880000
jge 0x482e12
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xb8]
mov dword [esp + 0x2c], eax
shl eax, 0x10
cmp eax, 0xff880000
jge 0x482e12
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x2c], eax
shl eax, 0x10
cmp eax, 0x3700000
jle 0x482e12
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x2c], eax
shl eax, 0x10
cmp eax, 0x3700000
jle 0x482e12
mov ebx, dword [ebp + 0xc4]
mov dword [ebp + 0xfc], 0xff87ffff
mov eax, 0xff87ffff
mov edx, 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
add eax, 0x8000
mov dword [ebp + 0x104], ebx
mov dword [ebp + 0xf4], 0x31
xor ax, ax
mov edx, ebx
sub eax, 0x8000
mov dword [ebp + 0x100], eax
mov eax, dword [ebp + 0xbc]
lea eax, [eax + eax + 0x3700001]
mov dword [ebp + 0xe8], eax
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 eax, 0x8000
mov dword [ebp + 0xf0], ebx
mov dword [ebp + 0xe0], 0x32
xor ax, ax
mov byte [ebp + 0xcd], 1
mov edx, dword [ebp + 4]
add eax, 0x8000
mov dword [ebp + 0xec], eax
jmp 0x483109
lea esi, [ebp + 0x90]
mov dword [esp + 0xc], esi
movzx eax, byte [ebp + 0x8e]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
jmp 0x482c7a
mov byte [ebp + 0xcc], 1
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], 0x999a
call sym._FT_MulDiv
mov edx, 0x999a
sub edx, eax
mov eax, edx
cmp edx, 0x7fff
mov edx, 0x7fff
cmovg eax, edx
mov dword [ebp + 0xdc], eax
jmp 0x483051
xor esi, esi
jmp 0x482b00
mov eax, dword [esp + 0x30]
mov dword [esp], 0x4b0000
mov dword [esp + 4], eax
call sym._FT_DivFix
mov dword [ebp + 0xb4], eax
mov ecx, eax
jmp 0x482cce
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._FT_DivFix
mov dword [esp + 0x2c], eax
jmp 0x482c5a
mov esi, dword [esi + 4]
cmp dword [ecx + 4], esi
jne 0x483318
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
cmp byte [esi + edi - 1], 1
jne 0x483318
sub edx, 1
mov word [eax + 2], dx
jmp 0x483318
mov eax, dword [esp + 0x40]
mov dword [esp], 0x10000
mov dword [esp + 4], eax
call sym._FT_DivFix
mov dword [ebp + 0xd0], eax
jmp 0x483043
mov eax, dword [esp + 0x30]
mov dword [esp], 0x4b0000
mov dword [esp + 4], eax
call sym._FT_DivFix
mov dword [ebp + 0xb0], eax
mov ecx, eax
jmp 0x482c35
movzx ecx, word [esp + 0x30]
sub edx, 1
mov word [eax + 2], dx
sub ecx, 1
mov word [eax], cx
jmp 0x483340
mov dword [esp + 0x40], 0
jmp 0x482ec2
mov eax, dword [esp + 0x30]
mov byte [eax + 0x118], 1
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x482ea4