4018db:	8d 04 37             	lea    (%edi,%esi,1),%eax
4018de:	85 c0                	test   %eax,%eax
4018e0:	74 0f                	je     0x4018f1
4018e2:	8a 04 0a             	mov    (%edx,%ecx,1),%al
4018e5:	84 c0                	test   %al,%al
4018e7:	74 08                	je     0x4018f1
4018e9:	88 01                	mov    %al,(%ecx)
4018eb:	41                   	inc    %ecx
4018ec:	83 ee 01             	sub    $0x1,%esi
4018ef:	75 ea                	jne    0x4018db
4018f1:	5f                   	pop    %edi
4018f2:	85 f6                	test   %esi,%esi
4018f4:	75 01                	jne    0x4018f7
4018f6:	49                   	dec    %ecx
4018f7:	f7 de                	neg    %esi
4018f9:	1b f6                	sbb    %esi,%esi
4018fb:	81 e6 86 ff f8 7f    	and    $0x7ff8ff86,%esi
401901:	81 c6 7a 00 07 80    	add    $0x8007007a,%esi
401907:	eb 04                	jmp    0x40190d
401909:	85 d2                	test   %edx,%edx
40190b:	74 03                	je     0x401910
40190d:	c6 01 00             	movb   $0x0,(%ecx)
401910:	8b c6                	mov    %esi,%eax
401912:	5e                   	pop    %esi
401913:	5d                   	pop    %ebp
401914:	c2 04 00             	ret    $0x4
401917:	8b ff                	mov    %edi,%edi
401919:	55                   	push   %ebp
40191a:	8b ec                	mov    %esp,%ebp
40191c:	56                   	push   %esi
40191d:	57                   	push   %edi
40191e:	8b f9                	mov    %ecx,%edi
401920:	be 04 01 00 00       	mov    $0x104,%esi
401925:	8b ce                	mov    %esi,%ecx
401927:	8b c7                	mov    %edi,%eax
401929:	66 83 38 00          	cmpw   $0x0,(%eax)
40192d:	74 08                	je     0x401937
40192f:	83 c0 02             	add    $0x2,%eax
401932:	83 e9 01             	sub    $0x1,%ecx
401935:	75 f2                	jne    0x401929
401937:	8b c1                	mov    %ecx,%eax
401939:	f7 d8                	neg    %eax
40193b:	1b c0                	sbb    %eax,%eax
40193d:	25 a9 ff f8 7f       	and    $0x7ff8ffa9,%eax
401942:	05 57 00 07 80       	add    $0x80070057,%eax
401947:	85 c9                	test   %ecx,%ecx
401949:	74 26                	je     0x401971
40194b:	8b d1                	mov    %ecx,%edx
40194d:	8d 81 fc fe ff ff    	lea    -0x104(%ecx),%eax
401953:	f7 da                	neg    %edx
401955:	51                   	push   %ecx
401956:	ff 75 08             	push   0x8(%ebp)
401959:	1b d2                	sbb    %edx,%edx
40195b:	23 d0                	and    %eax,%edx
40195d:	03 d6                	add    %esi,%edx
40195f:	2b f1                	sub    %ecx,%esi
401961:	51                   	push   %ecx
401962:	03 f6                	add    %esi,%esi
401964:	f7 d9                	neg    %ecx
401966:	1b c9                	sbb    %ecx,%ecx
401968:	23 ce                	and    %esi,%ecx
40196a:	03 cf                	add    %edi,%ecx
40196c:	e8 4a 00 00 00       	call   0x4019bb
401971:	5f                   	pop    %edi
401972:	5e                   	pop    %esi
401973:	5d                   	pop    %ebp
401974:	c2 04 00             	ret    $0x4
401977:	8b ff                	mov    %edi,%edi
401979:	55                   	push   %ebp
40197a:	8b ec                	mov    %esp,%ebp
40197c:	8b 45 0c             	mov    0xc(%ebp),%eax
40197f:	33 c9                	xor    %ecx,%ecx
401981:	85 c0                	test   %eax,%eax
401983:	74 07                	je     0x40198c
401985:	3d ff ff ff 7f       	cmp    $0x7fffffff,%eax
40198a:	76 05                	jbe    0x401991
40198c:	b9 57 00 07 80       	mov    $0x80070057,%ecx
401991:	85 c9                	test   %ecx,%ecx
401993:	78 16                	js     0x4019ab
401995:	8d 4d 14             	lea    0x14(%ebp),%ecx
401998:	8b d0                	mov    %eax,%edx
40199a:	51                   	push   %ecx
40199b:	ff 75 10             	push   0x10(%ebp)
40199e:	51                   	push   %ecx
40199f:	8b 4d 08             	mov    0x8(%ebp),%ecx
4019a2:	e8 64 00 00 00       	call   0x401a0b
4019a7:	8b c8                	mov    %eax,%ecx
4019a9:	eb 0c                	jmp    0x4019b7
4019ab:	85 c0                	test   %eax,%eax
4019ad:	74 08                	je     0x4019b7
4019af:	8b 45 08             	mov    0x8(%ebp),%eax
4019b2:	33 d2                	xor    %edx,%edx
4019b4:	66 89 10             	mov    %dx,(%eax)
4019b7:	8b c1                	mov    %ecx,%eax
4019b9:	5d                   	pop    %ebp
4019ba:	c3                   	ret
4019bb:	8b ff                	mov    %edi,%edi
4019bd:	55                   	push   %ebp
4019be:	8b ec                	mov    %esp,%ebp
4019c0:	85 d2                	test   %edx,%edx
4019c2:	74 2b                	je     0x4019ef
4019c4:	8b 45 0c             	mov    0xc(%ebp),%eax
4019c7:	56                   	push   %esi
4019c8:	57                   	push   %edi
4019c9:	be fe ff ff 7f       	mov    $0x7ffffffe,%esi
4019ce:	2b c1                	sub    %ecx,%eax
4019d0:	85 f6                	test   %esi,%esi
4019d2:	74 15                	je     0x4019e9
4019d4:	0f b7 3c 08          	movzwl (%eax,%ecx,1),%edi
4019d8:	66 85 ff             	test   %di,%di
4019db:	74 0c                	je     0x4019e9
4019dd:	66 89 39             	mov    %di,(%ecx)
4019e0:	83 c1 02             	add    $0x2,%ecx
4019e3:	4e                   	dec    %esi
4019e4:	83 ea 01             	sub    $0x1,%edx
4019e7:	75 e7                	jne    0x4019d0
4019e9:	5f                   	pop    %edi
4019ea:	5e                   	pop    %esi
4019eb:	85 d2                	test   %edx,%edx
4019ed:	75 03                	jne    0x4019f2
4019ef:	83 e9 02             	sub    $0x2,%ecx
4019f2:	f7 da                	neg    %edx
4019f4:	1b d2                	sbb    %edx,%edx
4019f6:	81 e2 86 ff f8 7f    	and    $0x7ff8ff86,%edx
4019fc:	33 c0                	xor    %eax,%eax
4019fe:	66 89 01             	mov    %ax,(%ecx)
401a01:	8d 82 7a 00 07 80    	lea    -0x7ff8ff86(%edx),%eax
401a07:	5d                   	pop    %ebp
401a08:	c2 0c 00             	ret    $0xc
401a0b:	8b ff                	mov    %edi,%edi
401a0d:	55                   	push   %ebp
401a0e:	8b ec                	mov    %esp,%ebp
401a10:	53                   	push   %ebx
401a11:	56                   	push   %esi
401a12:	57                   	push   %edi
401a13:	ff 75 10             	push   0x10(%ebp)
401a16:	8d 72 ff             	lea    -0x1(%edx),%esi
401a19:	8b f9                	mov    %ecx,%edi
401a1b:	ff 75 0c             	push   0xc(%ebp)
401a1e:	33 db                	xor    %ebx,%ebx
401a20:	56                   	push   %esi
401a21:	57                   	push   %edi
401a22:	ff 15 6c 61 40 00    	call   *0x40616c
401a28:	83 c4 10             	add    $0x10,%esp
401a2b:	85 c0                	test   %eax,%eax
401a2d:	78 08                	js     0x401a37
401a2f:	3b c6                	cmp    %esi,%eax
401a31:	77 04                	ja     0x401a37
401a33:	75 0d                	jne    0x401a42
401a35:	eb 05                	jmp    0x401a3c
401a37:	bb 7a 00 07 80       	mov    $0x8007007a,%ebx
401a3c:	33 c0                	xor    %eax,%eax
401a3e:	66 89 04 77          	mov    %ax,(%edi,%esi,2)
401a42:	5f                   	pop    %edi
401a43:	5e                   	pop    %esi
401a44:	8b c3                	mov    %ebx,%eax
401a46:	5b                   	pop    %ebx
401a47:	5d                   	pop    %ebp
401a48:	c2 0c 00             	ret    $0xc
401a4b:	8b ff                	mov    %edi,%edi
401a4d:	55                   	push   %ebp
401a4e:	8b ec                	mov    %esp,%ebp
401a50:	8b 45 0c             	mov    0xc(%ebp),%eax
401a53:	56                   	push   %esi
401a54:	8b 75 08             	mov    0x8(%ebp),%esi
401a57:	2b c6                	sub    %esi,%eax
401a59:	d1 f8                	sar    $1,%eax
401a5b:	74 1a                	je     0x401a77
401a5d:	3d ff ff ff 7f       	cmp    $0x7fffffff,%eax
401a62:	77 13                	ja     0x401a77
401a64:	8d 4d 14             	lea    0x14(%ebp),%ecx
401a67:	8b d0                	mov    %eax,%edx
401a69:	51                   	push   %ecx
401a6a:	ff 75 10             	push   0x10(%ebp)
401a6d:	51                   	push   %ecx
401a6e:	8b ce                	mov    %esi,%ecx
401a70:	e8 96 ff ff ff       	call   0x401a0b
401a75:	eb 09                	jmp    0x401a80
401a77:	85 c0                	test   %eax,%eax
401a79:	74 05                	je     0x401a80
401a7b:	33 c0                	xor    %eax,%eax
401a7d:	66 89 06             	mov    %ax,(%esi)
401a80:	39 75 0c             	cmp    %esi,0xc(%ebp)
401a83:	74 17                	je     0x401a9c
401a85:	8b ce                	mov    %esi,%ecx
401a87:	8d 51 02             	lea    0x2(%ecx),%edx
401a8a:	66 8b 01             	mov    (%ecx),%ax
401a8d:	83 c1 02             	add    $0x2,%ecx
401a90:	66 85 c0             	test   %ax,%ax
401a93:	75 f5                	jne    0x401a8a
401a95:	2b ca                	sub    %edx,%ecx
401a97:	d1 f9                	sar    $1,%ecx
401a99:	8d 34 4e             	lea    (%esi,%ecx,2),%esi
401a9c:	8b c6                	mov    %esi,%eax
401a9e:	5e                   	pop    %esi
401a9f:	5d                   	pop    %ebp
401aa0:	c3                   	ret
401aa1:	8b ff                	mov    %edi,%edi
401aa3:	55                   	push   %ebp
401aa4:	8b ec                	mov    %esp,%ebp
401aa6:	81 ec 0c 02 00 00    	sub    $0x20c,%esp
401aac:	a1 14 50 40 00       	mov    0x405014,%eax
401ab1:	33 c5                	xor    %ebp,%eax
401ab3:	89 45 fc             	mov    %eax,-0x4(%ebp)
401ab6:	53                   	push   %ebx
401ab7:	8b c2                	mov    %edx,%eax
401ab9:	8b d9                	mov    %ecx,%ebx
401abb:	89 85 f4 fd ff ff    	mov    %eax,-0x20c(%ebp)
401ac1:	56                   	push   %esi
401ac2:	8b 75 08             	mov    0x8(%ebp),%esi
401ac5:	85 c0                	test   %eax,%eax
401ac7:	0f 84 cd 01 00 00    	je     0x401c9a
401acd:	85 db                	test   %ebx,%ebx
401acf:	0f 84 c5 01 00 00    	je     0x401c9a
401ad5:	57                   	push   %edi
401ad6:	8b 3d 8c 53 40 00    	mov    0x40538c,%edi
401adc:	33 c9                	xor    %ecx,%ecx
401ade:	66 89 0b             	mov    %cx,(%ebx)
401ae1:	85 ff                	test   %edi,%edi
401ae3:	74 21                	je     0x401b06
401ae5:	38 0d 98 53 40 00    	cmp    %cl,0x405398
401aeb:	74 19                	je     0x401b06
401aed:	50                   	push   %eax
401aee:	53                   	push   %ebx
401aef:	56                   	push   %esi
401af0:	8b cf                	mov    %edi,%ecx
401af2:	ff 15 90 61 40 00    	call   *0x406190
401af8:	ff d7                	call   *%edi
401afa:	0f b7 03             	movzwl (%ebx),%eax
401afd:	66 85 c0             	test   %ax,%ax
401b00:	0f 85 93 01 00 00    	jne    0x401c99
401b06:	8b 06                	mov    (%esi),%eax
401b08:	33 c9                	xor    %ecx,%ecx
401b0a:	c7 85 f8 fd ff ff 54 	movl   $0x401254,-0x208(%ebp)
401b11:	12 40 00
401b14:	2b c1                	sub    %ecx,%eax
401b16:	74 33                	je     0x401b4b
401b18:	83 e8 01             	sub    $0x1,%eax
401b1b:	74 22                	je     0x401b3f
401b1d:	83 e8 01             	sub    $0x1,%eax
401b20:	74 11                	je     0x401b33
401b22:	83 e8 01             	sub    $0x1,%eax
401b25:	75 2e                	jne    0x401b55
401b27:	c7 85 f8 fd ff ff 78 	movl   $0x401278,-0x208(%ebp)
401b2e:	12 40 00
401b31:	eb 22                	jmp    0x401b55
401b33:	c7 85 f8 fd ff ff 70 	movl   $0x401270,-0x208(%ebp)
401b3a:	12 40 00
401b3d:	eb 16                	jmp    0x401b55
401b3f:	c7 85 f8 fd ff ff 64 	movl   $0x401264,-0x208(%ebp)
401b46:	12 40 00
401b49:	eb 0a                	jmp    0x401b55
401b4b:	c7 85 f8 fd ff ff 58 	movl   $0x401258,-0x208(%ebp)
401b52:	12 40 00
401b55:	51                   	push   %ecx
401b56:	33 c0                	xor    %eax,%eax
401b58:	68 00 01 00 00       	push   $0x100
401b5d:	66 89 85 fc fd ff ff 	mov    %ax,-0x204(%ebp)
401b64:	8d 85 fc fd ff ff    	lea    -0x204(%ebp),%eax
401b6a:	50                   	push   %eax
401b6b:	68 00 04 00 00       	push   $0x400
401b70:	ff 76 04             	push   0x4(%esi)
401b73:	51                   	push   %ecx
401b74:	68 00 12 00 00       	push   $0x1200
401b79:	ff 15 28 60 40 00    	call   *0x406028
401b7f:	83 7e 1c 00          	cmpl   $0x0,0x1c(%esi)
401b83:	8b 85 f4 fd ff ff    	mov    -0x20c(%ebp),%eax
401b89:	ff 76 48             	push   0x48(%esi)
401b8c:	ff 76 44             	push   0x44(%esi)
401b8f:	8d 3c 43             	lea    (%ebx,%eax,2),%edi
401b92:	74 17                	je     0x401bab
401b94:	ff 76 20             	push   0x20(%esi)
401b97:	ff 76 1c             	push   0x1c(%esi)
401b9a:	68 84 12 40 00       	push   $0x401284
401b9f:	57                   	push   %edi
401ba0:	53                   	push   %ebx
401ba1:	e8 a5 fe ff ff       	call   0x401a4b
401ba6:	83 c4 1c             	add    $0x1c,%esp
401ba9:	eb 0f                	jmp    0x401bba
401bab:	68 a8 12 40 00       	push   $0x4012a8
401bb0:	57                   	push   %edi
401bb1:	53                   	push   %ebx
401bb2:	e8 94 fe ff ff       	call   0x401a4b
401bb7:	83 c4 14             	add    $0x14,%esp
401bba:	83 7e 4c 00          	cmpl   $0x0,0x4c(%esi)
401bbe:	8b d8                	mov    %eax,%ebx
401bc0:	74 14                	je     0x401bd6
401bc2:	ff 76 4c             	push   0x4c(%esi)
401bc5:	68 bc 12 40 00       	push   $0x4012bc
401bca:	57                   	push   %edi
401bcb:	53                   	push   %ebx
401bcc:	e8 7a fe ff ff       	call   0x401a4b
401bd1:	83 c4 10             	add    $0x10,%esp
401bd4:	8b d8                	mov    %eax,%ebx
401bd6:	8d 85 fc fd ff ff    	lea    -0x204(%ebp),%eax
401bdc:	50                   	push   %eax
401bdd:	ff 76 04             	push   0x4(%esi)
401be0:	ff 15 1c 60 40 00    	call   *0x40601c
401be6:	50                   	push   %eax
401be7:	ff 76 24             	push   0x24(%esi)
401bea:	ff b5 f8 fd ff ff    	push   -0x208(%ebp)
401bf0:	68 d8 12 40 00       	push   $0x4012d8
401bf5:	57                   	push   %edi
401bf6:	53                   	push   %ebx
401bf7:	e8 4f fe ff ff       	call   0x401a4b
401bfc:	33 c9                	xor    %ecx,%ecx
401bfe:	83 c4 20             	add    $0x20,%esp
401c01:	39 4e 0c             	cmp    %ecx,0xc(%esi)
401c04:	75 0e                	jne    0x401c14
401c06:	39 4e 28             	cmp    %ecx,0x28(%esi)
401c09:	75 09                	jne    0x401c14
401c0b:	39 4e 18             	cmp    %ecx,0x18(%esi)
401c0e:	0f 84 85 00 00 00    	je     0x401c99
401c14:	68 0c 13 40 00       	push   $0x40130c
401c19:	57                   	push   %edi
401c1a:	50                   	push   %eax
401c1b:	e8 2b fe ff ff       	call   0x401a4b
401c20:	83 c4 0c             	add    $0xc,%esp
401c23:	83 7e 0c 00          	cmpl   $0x0,0xc(%esi)
401c27:	74 12                	je     0x401c3b
401c29:	ff 76 0c             	push   0xc(%esi)
401c2c:	68 18 13 40 00       	push   $0x401318
401c31:	57                   	push   %edi
401c32:	50                   	push   %eax
401c33:	e8 13 fe ff ff       	call   0x401a4b
401c38:	83 c4 10             	add    $0x10,%esp
401c3b:	83 7e 28 00          	cmpl   $0x0,0x28(%esi)
401c3f:	74 12                	je     0x401c53
401c41:	ff 76 28             	push   0x28(%esi)
401c44:	68 30 13 40 00       	push   $0x401330
401c49:	57                   	push   %edi
401c4a:	50                   	push   %eax
401c4b:	e8 fb fd ff ff       	call   0x401a4b
401c50:	83 c4 10             	add    $0x10,%esp
401c53:	83 7e 14 00          	cmpl   $0x0,0x14(%esi)
401c57:	74 17                	je     0x401c70
401c59:	ff 76 14             	push   0x14(%esi)
401c5c:	ff 76 18             	push   0x18(%esi)
401c5f:	68 58 13 40 00       	push   $0x401358
401c64:	57                   	push   %edi
401c65:	50                   	push   %eax
401c66:	e8 e0 fd ff ff       	call   0x401a4b
401c6b:	83 c4 14             	add    $0x14,%esp
401c6e:	eb 29                	jmp    0x401c99
401c70:	83 7e 18 00          	cmpl   $0x0,0x18(%esi)
401c74:	74 14                	je     0x401c8a
401c76:	ff 76 18             	push   0x18(%esi)
401c79:	68 70 13 40 00       	push   $0x401370
401c7e:	57                   	push   %edi
401c7f:	50                   	push   %eax