Function at 0x4949e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [esp + 0x154]
mov dword [esp + 0x38], 0
movsx edx, word [eax + 2]
test dx, dx
je 0x494a08
cmp word [eax], 0
jne 0x494a20
mov eax, dword [esp + 0x38]
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0xb0]
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x158]
lea edi, [esp + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x28
mov dword [esp], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xc0], eax
call sym._ft_mem_realloc
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esp + 0x38], eax
je 0x494bf0
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0x10c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0x100]
mov dword [esp], ebx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x110], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0xfc]
mov dword [esp], ebx
mov dword [esp + 0x100], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0xe4]
mov dword [esp], ebx
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x104], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0xd8]
mov dword [esp], ebx
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0xd4]
mov dword [esp], ebx
mov dword [esp + 0xd8], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0xb8]
mov dword [esp], ebx
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 0xb8], 0
mov dword [esp + 4], eax
call sym._ft_mem_free
mov eax, dword [esp + 0x38]
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x70]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x154]
movsx eax, word [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym._ft_mem_realloc
mov esi, dword [esp + 0x70]
mov dword [esp + 0xbc], eax
test esi, esi
mov dword [esp + 0x38], esi
jne 0x494a87
mov esi, dword [esp + 0x154]
movsx edi, word [esi + 2]
mov dword [esp + 0x3c], edi
mov dword [esp + 0xb0], edi
movsx edi, word [esi]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x30], esi
test edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0xb4], edi
je 0x494d04
mov esi, dword [esp + 0x154]
mov dword [esp + 0x2c], 0
xor edx, edx
mov edi, dword [esi + 0xc]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
movsx esi, word [esi + edi*2]
add esi, 1
mov edi, esi
sub edi, edx
lea edx, [edx + edx*4]
test edi, edi
mov ebx, edi
mov dword [eax + 4], edi
lea ebp, [ecx + edx*8]
mov dword [eax], ebp
jle 0x494cf0
lea edx, [esi + esi*4]
cmp edi, 1
mov dword [ebp + 8], eax
lea edx, [ecx + edx*8 - 0x28]
mov dword [ebp], edx
je 0x495b78
mov ecx, ebp
lea edx, [ecx + 0x28]
sub ebx, 1
cmp ebx, 1
mov dword [edx - 0x24], edx
mov dword [ecx + 0x28], ecx
mov ecx, edx
mov dword [edx + 8], eax
jne 0x494cd0
lea edx, [edi + edi*4]
lea edx, [ebp + edx*8 - 0x28]
mov dword [edx + 4], ebp
add dword [esp + 0x2c], 1
add eax, 8
mov edx, esi
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x34], edi
jne 0x494c94
mov eax, dword [esp + 0x154]
mov ebp, dword [esp + 0x3c]
xor edx, edx
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x30]
test ebp, ebp
mov dword [esp + 0x44], eax
je 0x495def
mov ebp, ebx
mov ebx, dword [esp + 0x30]
jmp 0x494e12
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x40], esi
and esi, 1
mov dword [esp + 0x3c], esi
lea eax, [ebp + eax*8]
mov ecx, dword [ebp + edx*8]
sub ecx, dword [eax]
mov esi, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + edx*8 + 4]
sub ecx, dword [eax + 4]
mov eax, ecx
mov ecx, esi
sar esi, 0x1f
mov dword [esp + 0x34], eax
sar eax, 0x1f
xor ecx, esi
mov edi, eax
xor edi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
sub ecx, esi
mov eax, edi
sub eax, dword [esp + 0x30]
lea edi, [eax + eax*2]
shl edi, 2
cmp ecx, edi
jle 0x494ee3
and esi, 0xfffffffc
lea eax, [esi + 2]
mov byte [esp + 0x2c], al
movzx eax, byte [esp + 0x2c]
mov byte [ebx + 0x14], al
mov eax, dword [esp + 0x38]
lea eax, [ebp + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, dword [ebp + edx*8]
sub eax, dword [ebp + edx*8 + 4]
mov esi, ecx
mov dword [esp + 0x4c], ecx
mov ecx, eax
mov dword [esp + 0x38], ecx
sar ecx, 0x1f
mov eax, esi
mov edi, ecx
xor edi, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
sar eax, 0x1f
xor esi, eax
sub esi, eax
mov ecx, edi
sub ecx, dword [esp + 0x30]
lea edi, [ecx + ecx*2]
shl edi, 2
cmp esi, edi
jle 0x494ec0
and eax, 0xfffffffc
add eax, 2
mov edi, dword [esp + 0x3c]
mov byte [ebx + 0x15], al
test edi, edi
jne 0x494eb0
cmp byte [esp + 0x2c], al
je 0x494e65
mov eax, dword [esp + 0xb0]
add edx, 1
add ebx, 0x28
cmp edx, eax
jae 0x494f0a
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
sub ecx, esi
sar ecx, 3
sub eax, esi
imul esi, ecx, 0xcccccccd
sar eax, 3
imul eax, eax, 0xcccccccd
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x154]
mov ecx, dword [esi + 8]
test byte [ecx + edx], 1
jne 0x494d30
mov dword [ebx + 0xc], 1
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
jmp 0x494d3e
cmp byte [esp + 0x2c], 4
jne 0x494eb0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym._ft_corner_is_flat
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x494dfd
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x40], eax
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x40]
or eax, 2
mov dword [ebx + 0xc], eax
jmp 0x494dfd
lea esi, [esi + esi*2]
mov eax, 4
shl esi, 2
cmp ecx, esi
jle 0x494de8
movzx eax, byte [esp + 0x30]
and eax, 2
sub eax, 1
jmp 0x494de8
lea ecx, [ecx + ecx*2]
mov byte [esp + 0x2c], 4
shl ecx, 2
cmp eax, ecx
jle 0x494d8f
movzx eax, byte [esp + 0x30]
and eax, 2
sub eax, 1
mov byte [esp + 0x2c], al
jmp 0x494d8f
mov edx, eax
mov eax, dword [esp + 0x154]
test edx, edx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0xb8]
je 0x494f64
lea esi, [esi]
mov ebx, dword [ecx]
mov dword [eax + 0x10], 0
add ecx, 8
mov dword [eax + 0x18], 0
add eax, 0x28
mov dword [eax - 0xc], ebx
mov ebx, dword [ecx - 4]
mov dword [eax - 8], ebx
sub edx, 1
jne 0x494f40
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x494fca
mov esi, esi
lea edi, [edi]
mov edx, dword [esp + 0xbc]
mov edi, dword [esp + 0x2c]
lea edx, [edx + edi*8]
cmp dword [edx + 4], 3
jbe 0x494fbd
mov ebp, dword [edx]
mov ebx, ebp
jmp 0x494fb6
mov edi, dword [ebx + 0x20]
sub edi, dword [ebp + 0x20]
mov esi, dword [ebx + 0x1c]
sub esi, dword [ebp + 0x1c]
mov ecx, edi
or ecx, esi
jne 0x4953b1
mov ebx, dword [ebx + 4]
cmp ebp, ebx
jne 0x494fa0
add dword [esp + 0x2c], 1
mov esi, dword [esp + 0x2c]
cmp esi, eax
jb 0x494f80
mov eax, dword [esp + 0x150]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x18]
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x150]
add eax, 0x1c
mov dword [esp], eax
lea eax, [esp + 0xcc]
call sym._psh_hint_table_init.isra.13
test eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], eax
jne 0x494a87
mov eax, dword [esp + 0x150]
mov edx, dword [eax + 0x34]
lea ecx, [eax + 0x3c]
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x150]
add eax, 0x40
mov dword [esp], eax
lea eax, [esp + 0xf4]
call sym._psh_hint_table_init.isra.13
test eax, eax
mov dword [esp + 0x38], eax
jne 0x494a87
mov eax, dword [esp + 0xc8]
mov esi, dword [eax + 0xc8]
mov edx, dword [eax + 0x194]
mov eax, dword [esp + 0x158]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov eax, dword [eax + 0x1a0]
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 esi, [eax + 0x20]
mov ebx, eax
and esi, 0xffffffc0
cmp eax, esi
je 0x495098
test esi, esi
jne 0x495b7f
mov byte [esp + 0x63], 0
mov eax, dword [esp + 0x15c]
mov byte [esp + 0x128], 1
mov byte [esp + 0x129], 1
mov dword [esp + 0x54], 0
sub eax, 2
cmp eax, 1
setbe byte [esp + 0x12a]
and eax, 0xfffffffd
lea eax, [esp + 0xcc]
sete byte [esp + 0x12b]
cmp dword [esp + 0x15c], 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x158]
setne byte [esp + 0x12c]
add eax, 0x3a0
mov dword [esp + 0x6c], eax
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xc4]
test edi, edi
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0xb8]
je 0x495d4e
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4955ca
mov ecx, edi
mov esi, dword [edx]
mov ebx, dword [edx + 4]
add eax, 0x28
mov dword [eax - 0x18], 0
mov dword [eax - 0x10], 0
add edx, 8
mov dword [eax - 8], esi
mov dword [eax - 0xc], ebx
sub ecx, 1
jne 0x495132
mov eax, dword [esp + 0xb4]
test eax, eax
mov dword [esp + 0x30], eax
je 0x4954de
mov eax, dword [esp + 0xbc]
xor ebp, ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + ebp*8 + 4]
mov edx, dword [eax + ebp*8]
test ebx, ebx
je 0x4954d1
mov eax, edx
jmp 0x49519c
mov esi, dword [edx + 0x1c]
cmp dword [eax + 0x1c], esi
jne 0x495530
mov eax, dword [eax]
cmp edx, eax
jne 0x495190
add ebp, 1
cmp dword [esp + 0x34], ebp
ja 0x495590
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0xc8]
mov ebx, dword [eax]
mov edi, dword [eax + 8]
test ebx, ebx
je 0x4951f8
mov ebp, dword [esp + 0x54]
mov esi, esi
lea edi, [edi]
lea eax, [esp + 0xb0]
mov ecx, ebp
mov edx, esi
mov dword [esp], eax
mov eax, edi
add edi, 0x1c
call sym._psh_hint_align
sub ebx, 1
jne 0x4951d0
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
mov ebp, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x54]
cmp eax, 1
sbb edi, edi
imul eax, eax, 0xcc
add edi, 2
mov dword [esp + 0x30], edi
mov eax, dword [esi + eax + 0xc8]
mov dword [esp], 0x20
mov esi, 0x1e
mov dword [esp + 4], eax
call sym._FT_DivFix
cmp eax, 0x1e
cmovg eax, esi
cmp ebp, 1
mov dword [esp + 0x34], eax
jbe 0x495c5d
mov esi, dword [esp + 0xb0]
test esi, esi
mov eax, esi
je 0x495c2f
cmp dword [ebx + 0xc], esi
cmovbe eax, dword [ebx + 0xc]
add ebx, 0x10
cmp dword [ebx + 0xc], esi
mov edi, esi
cmovbe edi, dword [ebx + 0xc]
mov ecx, edi
sub ecx, eax
test ecx, ecx
mov dword [esp + 0x2c], ecx
jle 0x4952bf
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xb8]
mov ecx, dword [ebx + 8]
lea esi, [eax + edx*8]
mov edx, dword [ebx]
mov eax, dword [esp + 0x58]
call sym._psh_hint_table_activate_mask.isra.9
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, esi
call sym._psh_hint_table_find_strong_points.isra.11
mov esi, dword [esp + 0xb0]
sub ebp, 1
add ebx, 0x10
mov eax, edi
cmp ebp, 1
jne 0x495260
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0xb8]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, edi
call sym._psh_hint_table_activate_mask.isra.9
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov ecx, ebx
mov edi, dword [esp + 0x30]
mov dword [esp], esi
mov dword [esp + 8], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 4], edi
call sym._psh_hint_table_find_strong_points.isra.11
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
test ebp, ebp
mov dword [esp + 0x30], eax
mov ebx, eax
je 0x495f61
mov edx, ebp
mov esi, esi
lea edi, [edi]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x495345
mov ecx, dword [eax + 0x10]
test cl, 0x10
jne 0x495345
or ecx, 0x10
mov dword [eax + 0x10], ecx
add eax, 0x28
sub edx, 1
jne 0x495330
cmp dword [esp + 0x54], 1
je 0x495e12
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0xc8]
mov dword [esp + 0x2c], eax
jmp 0x495388
mov eax, dword [edi + 8]
mov dword [ebx + 0x24], eax
or esi, 0x20
mov dword [ebx + 0x10], esi
add ebx, 0x28
sub ebp, 1
je 0x4955f9
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x49537c
mov esi, dword [ebx + 0x10]
test esi, 0x200
jne 0x495370
test esi, 0x400
je 0x4954e5
mov eax, dword [edi + 0xc]
add eax, dword [edi + 8]
mov dword [ebx + 0x24], eax
jmp 0x495376
mov ecx, ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], esi
mov ebx, dword [ecx]
mov dword [esp + 0x38], edi
cmp ebp, ebx
je 0x4953df
mov edi, dword [ecx + 0x20]
sub edi, dword [ebx + 0x20]
mov esi, dword [ecx + 0x1c]
sub esi, dword [ebx + 0x1c]
mov eax, edi
or eax, esi
jne 0x495400
mov ecx, ebx
mov ebx, dword [ecx]
cmp ebp, ebx
jne 0x4953c5
add dword [esp + 0x2c], 1
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0x2c]
cmp esi, eax
jb 0x494f80
jmp 0x494fca
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._ft_corner_orientation
test eax, eax
mov ecx, dword [esp + 0x30]
je 0x4953d7
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0x1c]
mov ebp, dword [ebx + 0x20]
xor edx, edx
mov dword [esp + 0x38], ebx
mov esi, edx
mov ebx, dword [ebx + 4]
cmp ebx, dword [esp + 0x3c]
mov edi, 1
mov ecx, dword [ebx + 0x1c]
cmove esi, edi
mov edi, ecx
sub edi, eax
mov eax, dword [ebx + 0x20]
mov edx, eax
sub edx, ebp
mov ebp, edx
or edx, edi
je 0x495d45
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._ft_corner_orientation
test eax, eax
jne 0x495561
mov eax, dword [ebx + 0x1c]
mov ebp, dword [ebx + 0x20]
mov dword [esp + 0x38], ebx
jmp 0x49544e
cmp dword [eax + 0x1c], ebx
jge 0x49553a
cmp ebx, esi
jg 0x495542
mov eax, dword [edx]
mov ecx, edx
mov edx, ecx
jmp 0x4954ca
mov esi, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x1c]
cmp esi, ebx
jne 0x4954a5
mov edx, dword [edx + 4]
cmp edi, edx
jne 0x4954c0
add ebp, 1
cmp ebp, dword [esp + 0x30]
jb 0x495176
xor ebp, ebp
jmp 0x4951a5
mov eax, dword [ebx + 0x1c]
sub eax, dword [edi]
test eax, eax
jle 0x495be3
mov edx, dword [edi + 4]
cmp eax, edx
jl 0x495c0c
sub eax, edx
mov edx, dword [esp + 0x2c]
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 edx, dword [edi + 0xc]
add edx, dword [edi + 8]
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x495376
mov edi, dword [eax + 4]
mov ecx, edi
jmp 0x4954ba
cmp ebx, esi
jge 0x4954b6
or dword [ecx + 0x10], 0x40
mov ecx, dword [ecx + 4]
cmp ecx, edx
je 0x4954b6
or dword [ecx + 0x10], 0x40
mov ecx, dword [ecx + 4]
cmp ecx, edx
jne 0x495542
jmp 0x4954b6
mov edx, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
xor esi, eax
js 0x495c70
test edx, edx
jne 0x4953df
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
jmp 0x495440
mov edx, dword [esp + 0xb8]
lea eax, [ebp + ebp*4]
lea eax, [edx + eax*8]
mov edi, dword [eax + 0x10]
test edi, 0x40
je 0x4951a2
mov ebx, eax
jmp 0x4955bf
mov ecx, dword [ebx + 0x20]
mov edx, dword [eax + 0x20]
cmp ecx, edx
jne 0x495ce0
mov ebx, dword [ebx]
cmp eax, ebx
jne 0x4955b1
jmp 0x4951a2
mov ecx, dword [esp + 0x34]
nop
mov ebx, dword [edx]
mov esi, dword [edx + 4]
add eax, 0x28
mov dword [eax - 0x18], 0
mov dword [eax - 0x10], 0
add edx, 8
mov dword [eax - 8], esi
mov dword [eax - 0xc], ebx
sub ecx, 1
jne 0x4955d0
jmp 0x495156
imul eax, dword [esp + 0x54], 0xcc
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + eax + 0xc8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x30]
lea eax, [eax + eax*4]
mov edi, dword [esp + 0xc0]
lea eax, [esi + eax*8]
mov dword [esp + 0x44], edi
mov edi, esi
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, esi
cmp edi, edx
mov esi, edx
jae 0x4957ee
xor edx, edx
test byte [eax + 0x10], 0x10
lea ebx, [edx + 1]
cmovne edx, ebx
add eax, 0x28
cmp esi, eax
ja 0x495650
test edx, edx
je 0x4957ee
cmp edx, 0x10
lea esi, [esp + 0x70]
ja 0x495da1
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], edi
xor ebp, ebp
mov edi, dword [esp + 0x2c]
test byte [ecx + 0x10], 0x10
je 0x4956b6
lea eax, [esi + ebp*4]
cmp esi, eax
jae 0x4956b1
mov edx, dword [eax - 4]
mov ebx, dword [ecx + 0x1c]
cmp ebx, dword [edx + 0x1c]
jl 0x4956a8
jmp 0x4956b1
mov edx, dword [eax - 4]
cmp dword [edx + 0x1c], ebx
jle 0x4956b1
mov dword [eax], edx
sub eax, 4
cmp esi, eax
jb 0x4956a0
mov dword [eax], ecx
add ebp, 1
add ecx, 0x28
cmp edi, ecx
ja 0x495684
lea eax, [esi + ebp*4 - 4]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x48], eax
jmp 0x4956ed
movzx edx, byte [edi + 0x14]
cmp dl, 4
je 0x4956e0
cmp dl, byte [edi + 0x15]
je 0x495d2d
lea esi, [esi]
add edi, 0x28
cmp dword [esp + 0x2c], edi
jbe 0x4957bc
mov ebx, dword [edi + 0x10]
mov ecx, ebx
and ecx, 0x10
jne 0x4956e0
mov eax, dword [edi + 0xc]
test al, 2
jne 0x4956cb
mov eax, dword [esi]
test ebp, ebp
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x1c]
je 0x495b09
mov edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1c]
cmp edx, eax
jg 0x495b10
xor edx, edx
mov dword [esp + 0x30], ecx
jmp 0x495738
mov ecx, dword [esi + edx*4]
cmp eax, dword [ecx + 0x1c]
jl 0x49573f
add edx, 1
cmp edx, ebp
jne 0x495730
test edx, edx
mov ecx, dword [esp + 0x30]
je 0x495b10
mov edx, dword [esi + edx*4 - 4]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x48]
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
mov edx, dword [edx + 0x1c]
cmp eax, edx
mov dword [esp + 0x40], edx
jg 0x495b10
mov edx, ebp
mov dword [esp + 0x4c], ecx
jmp 0x495781
mov ecx, dword [esi + edx*4 - 4]
cmp eax, dword [ecx + 0x1c]
jg 0x495ccc
sub edx, 1
jne 0x495774
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + ecx]
mov edx, dword [edx + 0x1c]
cmp eax, edx
mov dword [esp + 0x3c], edx
je 0x495de0
mov edx, dword [ecx + 0x1c]
cmp eax, edx
jne 0x495d70
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x24], eax
or ebx, 0x20
mov dword [edi + 0x10], ebx
jmp 0x4956e0
lea eax, [esp + 0x70]
cmp esi, eax
je 0x4957d4
mov eax, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._ft_mem_free
imul eax, dword [esp + 0x54], 0xcc
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + eax + 0xc8]
mov dword [esp + 0x34], eax
imul eax, dword [esp + 0x54], 0xcc
mov eax, dword [ecx + eax + 0xcc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb4]
test eax, eax
mov dword [esp + 0x50], eax
je 0x4958b5
nop
mov edi, dword [esp + 0x44]
mov eax, dword [edi]
mov esi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
cmp esi, eax
mov dword [esp + 0x30], eax
jae 0x4958a5
mov ebx, esi
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x2c], esi
mov esi, esi
lea edi, [edi]
mov eax, dword [ebx + 0x10]
mov edi, ebp
shr eax, 5
and eax, 1
test ebp, ebp
sete dl
mov ecx, eax
and cl, dl
cmovne edi, ebx
xor edx, 1
add esi, 1
and edx, eax
or dl, cl
cmove esi, dword [esp + 0x2c]
cmovne ebp, edi
add ebx, 0x28
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
ja 0x495850
cmp esi, 1
mov edi, ebp
ja 0x49589e
jmp 0x495ac5
test byte [ebx + 0x10], 0x20
je 0x495961
mov edi, ebx
mov ebx, dword [edi + 4]
cmp ebx, ebp
jne 0x495892
add dword [esp + 0x44], 8
sub dword [esp + 0x50], 1
jne 0x495820
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xb8]
test edi, edi
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 8]
je 0x495900
mov esi, dword [esp + 0x54]
xor edx, edx
test esi, esi
je 0x495930
nop
test byte [eax + 0x10], 0x10
mov esi, dword [eax + 0x24]
mov dword [ecx + edx*8 + 4], esi
je 0x4958f1
or byte [ebx + edx], 0x40
add eax, 0x28
add edx, 1
cmp dword [esp + 0xb0], edx
ja 0x4958e0
cmp byte [esp + 0x63], 0
jne 0x495c98
add dword [esp + 0x58], 0x28
cmp dword [esp + 0x54], 1
je 0x494a87
mov dword [esp + 0x54], 1
jmp 0x495100
test byte [eax + 0x10], 0x10
mov esi, dword [eax + 0x24]
mov dword [ecx + edx*8], esi
je 0x495940
or byte [ebx + edx], 0x20
add eax, 0x28
add edx, 1
cmp edx, dword [esp + 0xb0]
jb 0x495930
cmp byte [esp + 0x63], 0
jne 0x495c98
add dword [esp + 0x58], 0x28
jmp 0x49591b
mov edx, edi
mov esi, ebx
mov esi, dword [esi + 4]
test byte [esi + 0x10], 0x20
je 0x495965
mov eax, dword [edx + 0x1c]
mov edi, esi
mov ecx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1c]
cmp ecx, eax
mov dword [esp + 0x30], eax
jg 0x495a84
sub eax, dword [esp + 0x40]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x24]
sub ecx, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x48], eax
jle 0x495ab8
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x4c], ecx
call sym._FT_DivFix
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov ebx, dword [edx + 4]
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
jmp 0x495a11
sub eax, edi
mov edx, dword [esp + 0x34]
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, dword [esp + 0x30]
mov dword [ebx + 0x24], eax
mov ebx, dword [ebx + 4]
cmp ebx, esi
je 0x495a4a
mov eax, dword [ebx + 0x1c]
sub eax, ebp
test eax, eax
jle 0x495a60
cmp edi, eax
jle 0x4959e3
mov edx, dword [esp + 0x3c]
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, dword [esp + 0x2c]
mov dword [ebx + 0x24], eax
mov ebx, dword [ebx + 4]
cmp ebx, esi
jne 0x495a11
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp ebp, ebx
jne 0x49589e
jmp 0x4958a5
mov edx, dword [esp + 0x34]
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, dword [esp + 0x2c]
jmp 0x495a07
mov ecx, dword [esi + 0x24]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
sub eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x4959aa
mov dword [esp + 0x3c], 0x10000
jmp 0x4959c9
je 0x495b41
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x5c]
cmp ebp, ebx
je 0x495afd
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x34]
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, esi
mov dword [ebx + 0x24], eax
add ebx, 0x28
cmp edi, ebx
ja 0x495ad3
jmp 0x4958a5
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1c]
sub eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
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 ecx, dword [esp + 0x3c]
add eax, dword [ecx + 0x24]
mov dword [edi + 0x24], eax
jmp 0x4957b1
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x34]
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 esi, dword [ebp + 0x24]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
sub esi, eax
mov dword [esp + 0x5c], esi
jmp 0x495ad3
mov edx, ebp
jmp 0x494ced
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._FT_MulDiv
cmp ebx, esi
mov ecx, eax
mov eax, dword [esp + 0x64]
jle 0x495bb2
mov edx, 0x51eb851f
mov esi, eax
imul edx
mov eax, esi
sar eax, 0x1f
sar edx, 4
sub eax, edx
add eax, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._psh_globals_set_scale
mov byte [esp + 0x63], 1
jmp 0x49509d
mov edx, dword [esp + 0x2c]
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, dword [edi + 8]
mov dword [ebx + 0x24], eax
jmp 0x495376
mov esi, dword [edi + 8]
mov dword [esp + 8], edx
mov edx, dword [edi + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._FT_MulDiv
add esi, eax
mov dword [ebx + 0x24], esi
mov esi, dword [ebx + 0x10]
jmp 0x495376
cmp dword [esp + 0x54], 1
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x30], edi
mov ebx, edi
je 0x495e10
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx + 0xc8]
mov dword [esp + 0x34], esi
jmp 0x495625
jne 0x495309
mov esi, dword [esp + 0xb0]
jmp 0x4952cc
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
nop
lea esi, [esi]
or dword [esi + 0xc], 4
mov esi, dword [esi + 4]
cmp esi, ecx
jne 0x495c80
mov esi, dword [esp + 0x38]
or dword [esi + 0xc], 4
jmp 0x495577
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call sym._psh_globals_set_scale
jmp 0x49590b
cmp ebp, edx
je 0x495b10
lea ecx, [edx*4]
jmp 0x49578a
mov ebx, eax
jmp 0x495ceb
mov esi, dword [ebx + 0x20]
cmp esi, edx
jne 0x495cf7
mov ebx, dword [ebx + 4]
cmp eax, ebx
jne 0x495ce4
jmp 0x4951a2
cmp edx, ecx
jle 0x495d11
cmp edx, esi
jge 0x4951a2
or edi, 0x80
mov dword [eax + 0x10], edi
jmp 0x4951a2
jge 0x4951a2
cmp edx, esi
jle 0x4951a2
or edi, 0x100
mov dword [eax + 0x10], edi
jmp 0x4951a2
test bl, 0x40
jne 0x495d3a
test al, 4
je 0x4956e0
and eax, 0xfffffffd
mov dword [edi + 0xc], eax
jmp 0x4956fe
mov ebp, eax
mov eax, ecx
jmp 0x49549f
mov eax, dword [esp + 0xb4]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x495169
jmp 0x4951af
sub edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
sub eax, dword [esp + 0x3c]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 8], edx
mov edx, dword [ecx + 0x24]
mov dword [esp], eax
sub edx, ebx
mov dword [esp + 4], edx
call sym._FT_MulDiv
add ebx, eax
mov dword [edi + 0x24], ebx
mov ebx, dword [edi + 0x10]
jmp 0x4957b1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._ft_mem_realloc
mov ebp, dword [esp + 0x70]
mov esi, eax
test ebp, ebp
je 0x495676
jmp 0x4957d4
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x24]
mov dword [edi + 0x24], eax
jmp 0x4957b1
mov eax, dword [esp + 0x154]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xc8], eax
jmp 0x494f64
xor ebp, ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebp
cmp dword [esp + 0x3c], 0
je 0x495ec0
movzx eax, byte [esi + 0x14]
add eax, 2
test al, 0xfb
je 0x495e47
movzx eax, byte [esi + 0x15]
add eax, 2
test al, 0xfb
jne 0x495f82
test byte [esi + 0x10], 0x10
jne 0x495f82
mov eax, dword [esp + 0x158]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [eax + 0x19c]
add eax, 0x1a0
test ebp, ebp
je 0x495ef5
mov edi, dword [esp + 0x158]
mov ebx, ecx
sub ebx, dword [eax + 0xc]
mov edx, dword [edi + 0x9b8]
mov edi, edx
neg edi
cmp ebx, edi
jl 0x495ef5
add edx, dword [eax + 8]
cmp ecx, edx
jg 0x495eb1
mov edi, dword [esp + 0x158]
cmp byte [edi + 0x9bc], 0
jne 0x495ea7
cmp ebx, dword [edi + 0x9b4]
jg 0x495eb1
mov edx, dword [eax + 0x18]
or dword [esi + 0x10], 0x30
mov dword [esi + 0x24], edx
sub ebp, 1
add eax, 0x20
jmp 0x495e66
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x194]
test ebp, ebp
mov dword [esp + 0x2c], eax
jne 0x495388
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
jmp 0x495625
mov eax, dword [esp + 0x158]
mov edi, dword [esp + 0x6c]
mov edx, dword [eax + 0x3a0]
lea eax, [edx - 1]
shl eax, 5
lea eax, [edi + eax + 4]
test edx, edx
je 0x495f82
mov edi, dword [esp + 0x158]
mov ebx, dword [eax + 8]
mov edi, dword [edi + 0x9b8]
sub ebx, ecx
mov ebp, edi
neg ebp
cmp ebx, ebp
jl 0x495f82
mov ebp, dword [eax + 0xc]
sub ebp, edi
cmp ecx, ebp
jl 0x495f59
mov edi, dword [esp + 0x158]
cmp byte [edi + 0x9bc], 0
jne 0x495f4f
cmp ebx, dword [edi + 0x9b4]
jge 0x495f59
mov ebx, dword [eax + 0x1c]
or dword [esi + 0x10], 0x30
mov dword [esi + 0x24], ebx
sub edx, 1
sub eax, 0x20
jmp 0x495f10
cmp dword [esp + 0x54], 1
je 0x495e12
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + 0xc8]
mov dword [esp + 0x34], eax
jmp 0x4957ee
sub dword [esp + 0x3c], 1
add esi, 0x28
jmp 0x495e22