4129b0:	2b 3e                	sub    (%esi),%edi
4129b2:	2b 16                	sub    (%esi),%edx
4129b4:	8b cf                	mov    %edi,%ecx
4129b6:	03 55 08             	add    0x8(%ebp),%edx
4129b9:	d1 e9                	shr    $1,%ecx
4129bb:	8b c1                	mov    %ecx,%eax
4129bd:	03 cf                	add    %edi,%ecx
4129bf:	f7 d0                	not    %eax
4129c1:	3b c7                	cmp    %edi,%eax
4129c3:	1b c0                	sbb    %eax,%eax
4129c5:	f7 d0                	not    %eax
4129c7:	23 c1                	and    %ecx,%eax
4129c9:	3b c2                	cmp    %edx,%eax
4129cb:	73 02                	jae    0x4129cf
4129cd:	8b c2                	mov    %edx,%eax
4129cf:	50                   	push   %eax
4129d0:	8b ce                	mov    %esi,%ecx
4129d2:	e8 17 00 00 00       	call   0x4129ee
4129d7:	5f                   	pop    %edi
4129d8:	5e                   	pop    %esi
4129d9:	5d                   	pop    %ebp
4129da:	c2 04 00             	ret    $0x4
4129dd:	e8 01 00 00 00       	call   0x4129e3
4129e2:	cc                   	int3
4129e3:	68 80 42 40 00       	push   $0x404280
4129e8:	e8 03 0b 00 00       	call   0x4134f0
4129ed:	cc                   	int3
4129ee:	8b ff                	mov    %edi,%edi
4129f0:	55                   	push   %ebp
4129f1:	8b ec                	mov    %esp,%ebp
4129f3:	51                   	push   %ecx
4129f4:	53                   	push   %ebx
4129f5:	8b 5d 08             	mov    0x8(%ebp),%ebx
4129f8:	56                   	push   %esi
4129f9:	33 f6                	xor    %esi,%esi
4129fb:	57                   	push   %edi
4129fc:	8b f9                	mov    %ecx,%edi
4129fe:	85 db                	test   %ebx,%ebx
412a00:	74 0d                	je     0x412a0f
412a02:	53                   	push   %ebx
412a03:	e8 8f 09 00 00       	call   0x413397
412a08:	8b f0                	mov    %eax,%esi
412a0a:	59                   	pop    %ecx
412a0b:	85 f6                	test   %esi,%esi
412a0d:	74 3e                	je     0x412a4d
412a0f:	8b 47 04             	mov    0x4(%edi),%eax
412a12:	2b 07                	sub    (%edi),%eax
412a14:	50                   	push   %eax
412a15:	ff 37                	push   (%edi)
412a17:	56                   	push   %esi
412a18:	e8 c7 12 00 00       	call   0x413ce4
412a1d:	8b 47 04             	mov    0x4(%edi),%eax
412a20:	83 c4 0c             	add    $0xc,%esp
412a23:	2b 07                	sub    (%edi),%eax
412a25:	83 3f 00             	cmpl   $0x0,(%edi)
412a28:	89 45 fc             	mov    %eax,-0x4(%ebp)
412a2b:	74 09                	je     0x412a36
412a2d:	ff 37                	push   (%edi)
412a2f:	ff 15 cc b2 41 00    	call   *0x41b2cc
412a35:	59                   	pop    %ecx
412a36:	8d 04 1e             	lea    (%esi,%ebx,1),%eax
412a39:	89 37                	mov    %esi,(%edi)
412a3b:	89 47 08             	mov    %eax,0x8(%edi)
412a3e:	8b 45 fc             	mov    -0x4(%ebp),%eax
412a41:	03 c6                	add    %esi,%eax
412a43:	89 47 04             	mov    %eax,0x4(%edi)
412a46:	5f                   	pop    %edi
412a47:	5e                   	pop    %esi
412a48:	5b                   	pop    %ebx
412a49:	c9                   	leave
412a4a:	c2 04 00             	ret    $0x4
412a4d:	e8 7f 0a 00 00       	call   0x4134d1
412a52:	cc                   	int3
412a53:	83 39 00             	cmpl   $0x0,(%ecx)
412a56:	74 0d                	je     0x412a65
412a58:	83 39 ff             	cmpl   $0xffffffff,(%ecx)
412a5b:	74 08                	je     0x412a65
412a5d:	ff 31                	push   (%ecx)
412a5f:	ff 15 54 b1 41 00    	call   *0x41b154
412a65:	c3                   	ret
412a66:	8b ff                	mov    %edi,%edi
412a68:	55                   	push   %ebp
412a69:	8b ec                	mov    %esp,%ebp
412a6b:	51                   	push   %ecx
412a6c:	51                   	push   %ecx
412a6d:	a1 34 a2 41 00       	mov    0x41a234,%eax
412a72:	85 c0                	test   %eax,%eax
412a74:	75 0b                	jne    0x412a81
412a76:	ff 15 14 b1 41 00    	call   *0x41b114
412a7c:	a3 34 a2 41 00       	mov    %eax,0x41a234
412a81:	83 25 38 a2 41 00 00 	andl   $0x0,0x41a238
412a88:	68 38 a2 41 00       	push   $0x41a238
412a8d:	6a 18                	push   $0x18
412a8f:	50                   	push   %eax
412a90:	ff 15 14 b0 41 00    	call   *0x41b014
412a96:	83 f8 01             	cmp    $0x1,%eax
412a99:	75 39                	jne    0x412ad4
412a9b:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
412a9f:	8d 45 f8             	lea    -0x8(%ebp),%eax
412aa2:	50                   	push   %eax
412aa3:	6a 04                	push   $0x4
412aa5:	8d 45 fc             	lea    -0x4(%ebp),%eax
412aa8:	50                   	push   %eax
412aa9:	6a 1d                	push   $0x1d
412aab:	ff 35 38 a2 41 00    	push   0x41a238
412ab1:	ff 15 18 b0 41 00    	call   *0x41b018
412ab7:	85 c0                	test   %eax,%eax
412ab9:	74 20                	je     0x412adb
412abb:	33 c0                	xor    %eax,%eax
412abd:	c7 05 30 a2 41 00 01 	movl   $0x1,0x41a230
412ac4:	00 00 00
412ac7:	39 45 fc             	cmp    %eax,-0x4(%ebp)
412aca:	0f 95 c0             	setne  %al
412acd:	a3 3c a2 41 00       	mov    %eax,0x41a23c
412ad2:	eb 07                	jmp    0x412adb
412ad4:	83 25 38 a2 41 00 00 	andl   $0x0,0x41a238
412adb:	a1 30 a2 41 00       	mov    0x41a230,%eax
412ae0:	c9                   	leave
412ae1:	c3                   	ret
412ae2:	8b ff                	mov    %edi,%edi
412ae4:	55                   	push   %ebp
412ae5:	8b ec                	mov    %esp,%ebp
412ae7:	51                   	push   %ecx
412ae8:	51                   	push   %ecx
412ae9:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
412aed:	8d 45 fc             	lea    -0x4(%ebp),%eax
412af0:	50                   	push   %eax
412af1:	6a 08                	push   $0x8
412af3:	c7 45 f8 00 02 00 00 	movl   $0x200,-0x8(%ebp)
412afa:	ff 15 14 b1 41 00    	call   *0x41b114
412b00:	50                   	push   %eax
412b01:	ff 15 14 b0 41 00    	call   *0x41b014
412b07:	85 c0                	test   %eax,%eax
412b09:	75 04                	jne    0x412b0f
412b0b:	33 c0                	xor    %eax,%eax
412b0d:	c9                   	leave
412b0e:	c3                   	ret
412b0f:	8d 45 f8             	lea    -0x8(%ebp),%eax
412b12:	50                   	push   %eax
412b13:	ff 75 f8             	push   -0x8(%ebp)
412b16:	68 40 a4 41 00       	push   $0x41a440
412b1b:	6a 01                	push   $0x1
412b1d:	ff 75 fc             	push   -0x4(%ebp)
412b20:	ff 15 18 b0 41 00    	call   *0x41b018
412b26:	85 c0                	test   %eax,%eax
412b28:	75 11                	jne    0x412b3b
412b2a:	ff 15 44 b1 41 00    	call   *0x41b144
412b30:	ff 75 fc             	push   -0x4(%ebp)
412b33:	ff 15 54 b1 41 00    	call   *0x41b154
412b39:	eb d0                	jmp    0x412b0b
412b3b:	ff 75 fc             	push   -0x4(%ebp)
412b3e:	ff 15 54 b1 41 00    	call   *0x41b154
412b44:	a1 40 a4 41 00       	mov    0x41a440,%eax
412b49:	c9                   	leave
412b4a:	c3                   	ret
412b4b:	8b ff                	mov    %edi,%edi
412b4d:	55                   	push   %ebp
412b4e:	8b ec                	mov    %esp,%ebp
412b50:	51                   	push   %ecx
412b51:	51                   	push   %ecx
412b52:	53                   	push   %ebx
412b53:	56                   	push   %esi
412b54:	8b c2                	mov    %edx,%eax
412b56:	33 f6                	xor    %esi,%esi
412b58:	89 45 f8             	mov    %eax,-0x8(%ebp)
412b5b:	8b d9                	mov    %ecx,%ebx
412b5d:	89 75 fc             	mov    %esi,-0x4(%ebp)
412b60:	57                   	push   %edi
412b61:	85 c0                	test   %eax,%eax
412b63:	74 55                	je     0x412bba
412b65:	33 c0                	xor    %eax,%eax
412b67:	66 89 03             	mov    %ax,(%ebx)
412b6a:	e8 73 ff ff ff       	call   0x412ae2
412b6f:	8b f8                	mov    %eax,%edi
412b71:	85 ff                	test   %edi,%edi
412b73:	74 45                	je     0x412bba
412b75:	57                   	push   %edi
412b76:	ff 15 34 b0 41 00    	call   *0x41b034
412b7c:	85 c0                	test   %eax,%eax
412b7e:	74 3a                	je     0x412bba
412b80:	8d 45 fc             	lea    -0x4(%ebp),%eax
412b83:	50                   	push   %eax
412b84:	57                   	push   %edi
412b85:	ff 15 1c b0 41 00    	call   *0x41b01c
412b8b:	85 c0                	test   %eax,%eax
412b8d:	74 18                	je     0x412ba7
412b8f:	6a ff                	push   $0xffffffff
412b91:	ff 75 fc             	push   -0x4(%ebp)
412b94:	ff 75 f8             	push   -0x8(%ebp)
412b97:	53                   	push   %ebx
412b98:	ff 15 e8 b2 41 00    	call   *0x41b2e8
412b9e:	83 c4 10             	add    $0x10,%esp
412ba1:	83 f8 50             	cmp    $0x50,%eax
412ba4:	74 01                	je     0x412ba7
412ba6:	46                   	inc    %esi
412ba7:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
412bab:	74 09                	je     0x412bb6
412bad:	ff 75 fc             	push   -0x4(%ebp)
412bb0:	ff 15 78 b1 41 00    	call   *0x41b178
412bb6:	8b c6                	mov    %esi,%eax
412bb8:	eb 02                	jmp    0x412bbc
412bba:	33 c0                	xor    %eax,%eax
412bbc:	5f                   	pop    %edi
412bbd:	5e                   	pop    %esi
412bbe:	5b                   	pop    %ebx
412bbf:	c9                   	leave
412bc0:	c3                   	ret
412bc1:	85 c9                	test   %ecx,%ecx
412bc3:	74 18                	je     0x412bdd
412bc5:	56                   	push   %esi
412bc6:	8d 51 02             	lea    0x2(%ecx),%edx
412bc9:	33 f6                	xor    %esi,%esi
412bcb:	66 8b 01             	mov    (%ecx),%ax
412bce:	83 c1 02             	add    $0x2,%ecx
412bd1:	66 3b c6             	cmp    %si,%ax
412bd4:	75 f5                	jne    0x412bcb
412bd6:	2b ca                	sub    %edx,%ecx
412bd8:	d1 f9                	sar    $1,%ecx
412bda:	5e                   	pop    %esi
412bdb:	eb 02                	jmp    0x412bdf
412bdd:	33 c9                	xor    %ecx,%ecx
412bdf:	8b c1                	mov    %ecx,%eax
412be1:	c3                   	ret
412be2:	8b ff                	mov    %edi,%edi
412be4:	55                   	push   %ebp
412be5:	8b ec                	mov    %esp,%ebp
412be7:	b8 0c 20 00 00       	mov    $0x200c,%eax
412bec:	e8 3f 15 00 00       	call   0x414130
412bf1:	a1 18 51 41 00       	mov    0x415118,%eax
412bf6:	33 c5                	xor    %ebp,%eax
412bf8:	89 45 fc             	mov    %eax,-0x4(%ebp)
412bfb:	8b 45 08             	mov    0x8(%ebp),%eax
412bfe:	53                   	push   %ebx
412bff:	89 85 f4 df ff ff    	mov    %eax,-0x200c(%ebp)
412c05:	8b d9                	mov    %ecx,%ebx
412c07:	8b 45 14             	mov    0x14(%ebp),%eax
412c0a:	56                   	push   %esi
412c0b:	8b 75 24             	mov    0x24(%ebp),%esi
412c0e:	89 85 f8 df ff ff    	mov    %eax,-0x2008(%ebp)
412c14:	8b 45 20             	mov    0x20(%ebp),%eax
412c17:	57                   	push   %edi
412c18:	8b fa                	mov    %edx,%edi
412c1a:	85 c0                	test   %eax,%eax
412c1c:	75 09                	jne    0x412c27
412c1e:	66 89 85 fc ef ff ff 	mov    %ax,-0x1004(%ebp)
412c25:	eb 5a                	jmp    0x412c81
412c27:	50                   	push   %eax
412c28:	68 bc 42 40 00       	push   $0x4042bc
412c2d:	68 00 08 00 00       	push   $0x800
412c32:	85 f6                	test   %esi,%esi
412c34:	75 11                	jne    0x412c47
412c36:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
412c3c:	50                   	push   %eax
412c3d:	e8 41 2c ff ff       	call   0x405883
412c42:	83 c4 10             	add    $0x10,%esp
412c45:	eb 3a                	jmp    0x412c81
412c47:	8d 85 fc df ff ff    	lea    -0x2004(%ebp),%eax
412c4d:	50                   	push   %eax
412c4e:	e8 30 2c ff ff       	call   0x405883
412c53:	56                   	push   %esi
412c54:	8d 85 fc df ff ff    	lea    -0x2004(%ebp),%eax
412c5a:	be ff 07 00 00       	mov    $0x7ff,%esi
412c5f:	50                   	push   %eax
412c60:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
412c66:	56                   	push   %esi
412c67:	50                   	push   %eax
412c68:	ff 15 c8 b2 41 00    	call   *0x41b2c8
412c6e:	83 c4 20             	add    $0x20,%esp
412c71:	85 c0                	test   %eax,%eax
412c73:	78 06                	js     0x412c7b
412c75:	3b c6                	cmp    %esi,%eax
412c77:	77 02                	ja     0x412c7b
412c79:	75 06                	jne    0x412c81
412c7b:	33 c0                	xor    %eax,%eax
412c7d:	66 89 45 fa          	mov    %ax,-0x6(%ebp)
412c81:	51                   	push   %ecx
412c82:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
412c88:	8b d7                	mov    %edi,%edx
412c8a:	50                   	push   %eax
412c8b:	ff 75 1c             	push   0x1c(%ebp)
412c8e:	8b cb                	mov    %ebx,%ecx
412c90:	6a 02                	push   $0x2
412c92:	ff b5 f8 df ff ff    	push   -0x2008(%ebp)
412c98:	6a 00                	push   $0x0
412c9a:	6a 00                	push   $0x0
412c9c:	ff b5 f4 df ff ff    	push   -0x200c(%ebp)
412ca2:	e8 05 39 ff ff       	call   0x4065ac
412ca7:	8b 4d fc             	mov    -0x4(%ebp),%ecx
412caa:	5f                   	pop    %edi
412cab:	5e                   	pop    %esi
412cac:	33 cd                	xor    %ebp,%ecx
412cae:	5b                   	pop    %ebx
412caf:	e8 2c 0c 00 00       	call   0x4138e0
412cb4:	c9                   	leave
412cb5:	c2 20 00             	ret    $0x20
412cb8:	8b ff                	mov    %edi,%edi
412cba:	55                   	push   %ebp
412cbb:	8b ec                	mov    %esp,%ebp
412cbd:	5d                   	pop    %ebp
412cbe:	e9 1f ff ff ff       	jmp    0x412be2
412cc3:	8b ff                	mov    %edi,%edi
412cc5:	55                   	push   %ebp
412cc6:	8b ec                	mov    %esp,%ebp
412cc8:	8b 55 0c             	mov    0xc(%ebp),%edx
412ccb:	8d 45 1c             	lea    0x1c(%ebp),%eax
412cce:	50                   	push   %eax
412ccf:	ff 75 18             	push   0x18(%ebp)
412cd2:	ff 75 14             	push   0x14(%ebp)
412cd5:	51                   	push   %ecx
412cd6:	ff 75 04             	push   0x4(%ebp)
412cd9:	51                   	push   %ecx
412cda:	51                   	push   %ecx
412cdb:	ff 75 10             	push   0x10(%ebp)
412cde:	8b 4d 08             	mov    0x8(%ebp),%ecx
412ce1:	e8 d2 ff ff ff       	call   0x412cb8
412ce6:	8b 45 14             	mov    0x14(%ebp),%eax
412ce9:	5d                   	pop    %ebp
412cea:	c3                   	ret
412ceb:	8b ff                	mov    %edi,%edi
412ced:	55                   	push   %ebp
412cee:	8b ec                	mov    %esp,%ebp
412cf0:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)
412cf4:	7d 1e                	jge    0x412d14
412cf6:	8b 55 0c             	mov    0xc(%ebp),%edx
412cf9:	8d 45 1c             	lea    0x1c(%ebp),%eax
412cfc:	50                   	push   %eax
412cfd:	ff 75 18             	push   0x18(%ebp)
412d00:	ff 75 14             	push   0x14(%ebp)
412d03:	51                   	push   %ecx
412d04:	ff 75 04             	push   0x4(%ebp)
412d07:	51                   	push   %ecx
412d08:	51                   	push   %ecx
412d09:	ff 75 10             	push   0x10(%ebp)
412d0c:	8b 4d 08             	mov    0x8(%ebp),%ecx
412d0f:	e8 a4 ff ff ff       	call   0x412cb8
412d14:	8b 45 14             	mov    0x14(%ebp),%eax
412d17:	5d                   	pop    %ebp
412d18:	c3                   	ret
412d19:	8b ff                	mov    %edi,%edi
412d1b:	55                   	push   %ebp
412d1c:	8b ec                	mov    %esp,%ebp
412d1e:	51                   	push   %ecx
412d1f:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
412d23:	8d 45 fc             	lea    -0x4(%ebp),%eax
412d26:	53                   	push   %ebx
412d27:	57                   	push   %edi
412d28:	50                   	push   %eax
412d29:	bf 44 3b 40 00       	mov    $0x403b44,%edi
412d2e:	57                   	push   %edi
412d2f:	68 38 45 40 00       	push   $0x404538