4127d9:	89 45 f4             	mov    %eax,-0xc(%ebp)
4127dc:	3b c6                	cmp    %esi,%eax
4127de:	73 6b                	jae    0x41284b
4127e0:	8b 5d f0             	mov    -0x10(%ebp),%ebx
4127e3:	57                   	push   %edi
4127e4:	53                   	push   %ebx
4127e5:	ff 75 ec             	push   -0x14(%ebp)
4127e8:	ff 75 e8             	push   -0x18(%ebp)
4127eb:	e8 d0 77 ff ff       	call   0x409fc0
4127f0:	8b 4d f4             	mov    -0xc(%ebp),%ecx
4127f3:	89 45 f0             	mov    %eax,-0x10(%ebp)
4127f6:	33 c0                	xor    %eax,%eax
4127f8:	03 4d f0             	add    -0x10(%ebp),%ecx
4127fb:	89 55 dc             	mov    %edx,-0x24(%ebp)
4127fe:	13 c2                	adc    %edx,%eax
412800:	89 45 f4             	mov    %eax,-0xc(%ebp)
412803:	3b 7d e4             	cmp    -0x1c(%ebp),%edi
412806:	72 0c                	jb     0x412814
412808:	77 05                	ja     0x41280f
41280a:	3b 5d e0             	cmp    -0x20(%ebp),%ebx
41280d:	76 05                	jbe    0x412814
41280f:	33 d2                	xor    %edx,%edx
412811:	42                   	inc    %edx
412812:	eb 02                	jmp    0x412816
412814:	33 d2                	xor    %edx,%edx
412816:	3b 45 dc             	cmp    -0x24(%ebp),%eax
412819:	77 0c                	ja     0x412827
41281b:	72 05                	jb     0x412822
41281d:	3b 4d f0             	cmp    -0x10(%ebp),%ecx
412820:	73 05                	jae    0x412827
412822:	33 c0                	xor    %eax,%eax
412824:	40                   	inc    %eax
412825:	eb 02                	jmp    0x412829
412827:	33 c0                	xor    %eax,%eax
412829:	8b 7d f4             	mov    -0xc(%ebp),%edi
41282c:	0b c2                	or     %edx,%eax
41282e:	c1 e0 02             	shl    $0x2,%eax
412831:	83 c8 08             	or     $0x8,%eax
412834:	89 4d f0             	mov    %ecx,-0x10(%ebp)
412837:	09 45 fc             	or     %eax,-0x4(%ebp)
41283a:	8b 45 0c             	mov    0xc(%ebp),%eax
41283d:	8a 18                	mov    (%eax),%bl
41283f:	40                   	inc    %eax
412840:	88 5d f8             	mov    %bl,-0x8(%ebp)
412843:	89 45 0c             	mov    %eax,0xc(%ebp)
412846:	e9 5b ff ff ff       	jmp    0x4127a6
41284b:	ff 75 f8             	push   -0x8(%ebp)
41284e:	8d 4d 0c             	lea    0xc(%ebp),%ecx
412851:	e8 0c f0 ff ff       	call   0x411862
412856:	8b 45 fc             	mov    -0x4(%ebp),%eax
412859:	a8 08                	test   $0x8,%al
41285b:	75 12                	jne    0x41286f
41285d:	8b 45 10             	mov    0x10(%ebp),%eax
412860:	85 c0                	test   %eax,%eax
412862:	74 05                	je     0x412869
412864:	8b 4d d8             	mov    -0x28(%ebp),%ecx
412867:	89 08                	mov    %ecx,(%eax)
412869:	33 c0                	xor    %eax,%eax
41286b:	33 d2                	xor    %edx,%edx
41286d:	eb 78                	jmp    0x4128e7
41286f:	8b 5d f0             	mov    -0x10(%ebp),%ebx
412872:	57                   	push   %edi
412873:	53                   	push   %ebx
412874:	50                   	push   %eax
412875:	e8 14 f5 ff ff       	call   0x411d8e
41287a:	83 c4 0c             	add    $0xc,%esp
41287d:	84 c0                	test   %al,%al
41287f:	74 49                	je     0x4128ca
412881:	8b 45 08             	mov    0x8(%ebp),%eax
412884:	c6 40 1c 01          	movb   $0x1,0x1c(%eax)
412888:	c7 40 18 22 00 00 00 	movl   $0x22,0x18(%eax)
41288f:	8b 45 fc             	mov    -0x4(%ebp),%eax
412892:	a8 01                	test   $0x1,%al
412894:	75 08                	jne    0x41289e
412896:	83 cb ff             	or     $0xffffffff,%ebx
412899:	83 cf ff             	or     $0xffffffff,%edi
41289c:	eb 39                	jmp    0x4128d7
41289e:	8b 4d 10             	mov    0x10(%ebp),%ecx
4128a1:	a8 02                	test   $0x2,%al
4128a3:	74 12                	je     0x4128b7
4128a5:	85 c9                	test   %ecx,%ecx
4128a7:	74 05                	je     0x4128ae
4128a9:	8b 45 0c             	mov    0xc(%ebp),%eax
4128ac:	89 01                	mov    %eax,(%ecx)
4128ae:	33 c0                	xor    %eax,%eax
4128b0:	ba 00 00 00 80       	mov    $0x80000000,%edx
4128b5:	eb 30                	jmp    0x4128e7
4128b7:	85 c9                	test   %ecx,%ecx
4128b9:	74 05                	je     0x4128c0
4128bb:	8b 45 0c             	mov    0xc(%ebp),%eax
4128be:	89 01                	mov    %eax,(%ecx)
4128c0:	83 c8 ff             	or     $0xffffffff,%eax
4128c3:	ba ff ff ff 7f       	mov    $0x7fffffff,%edx
4128c8:	eb 1d                	jmp    0x4128e7
4128ca:	f6 45 fc 02          	testb  $0x2,-0x4(%ebp)
4128ce:	74 07                	je     0x4128d7
4128d0:	f7 db                	neg    %ebx
4128d2:	83 d7 00             	adc    $0x0,%edi
4128d5:	f7 df                	neg    %edi
4128d7:	8b 75 10             	mov    0x10(%ebp),%esi
4128da:	85 f6                	test   %esi,%esi
4128dc:	74 05                	je     0x4128e3
4128de:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4128e1:	89 0e                	mov    %ecx,(%esi)
4128e3:	8b c3                	mov    %ebx,%eax
4128e5:	8b d7                	mov    %edi,%edx
4128e7:	5f                   	pop    %edi
4128e8:	5e                   	pop    %esi
4128e9:	5b                   	pop    %ebx
4128ea:	c9                   	leave
4128eb:	c3                   	ret
4128ec:	8b ff                	mov    %edi,%edi
4128ee:	55                   	push   %ebp
4128ef:	8b ec                	mov    %esp,%ebp
4128f1:	8b 4d 10             	mov    0x10(%ebp),%ecx
4128f4:	85 c9                	test   %ecx,%ecx
4128f6:	75 16                	jne    0x41290e
4128f8:	ff 75 0c             	push   0xc(%ebp)
4128fb:	ff 75 08             	push   0x8(%ebp)
4128fe:	e8 b9 b5 00 00       	call   0x41debc
412903:	50                   	push   %eax
412904:	e8 fc f2 ff ff       	call   0x411c05
412909:	83 c4 0c             	add    $0xc,%esp
41290c:	5d                   	pop    %ebp
41290d:	c3                   	ret
41290e:	8b 55 08             	mov    0x8(%ebp),%edx
412911:	56                   	push   %esi
412912:	8b 31                	mov    (%ecx),%esi
412914:	8d 42 01             	lea    0x1(%edx),%eax
412917:	3d 00 01 00 00       	cmp    $0x100,%eax
41291c:	77 0b                	ja     0x412929
41291e:	8b 06                	mov    (%esi),%eax
412920:	0f b7 04 50          	movzwl (%eax,%edx,2),%eax
412924:	23 45 0c             	and    0xc(%ebp),%eax
412927:	eb 17                	jmp    0x412940
412929:	83 7e 04 01          	cmpl   $0x1,0x4(%esi)
41292d:	7e 0f                	jle    0x41293e
41292f:	51                   	push   %ecx
412930:	ff 75 0c             	push   0xc(%ebp)
412933:	52                   	push   %edx
412934:	e8 10 b6 00 00       	call   0x41df49
412939:	83 c4 0c             	add    $0xc,%esp
41293c:	eb 02                	jmp    0x412940
41293e:	33 c0                	xor    %eax,%eax
412940:	5e                   	pop    %esi
412941:	5d                   	pop    %ebp
412942:	c3                   	ret
412943:	8b ff                	mov    %edi,%edi
412945:	55                   	push   %ebp
412946:	8b ec                	mov    %esp,%ebp
412948:	83 ec 2c             	sub    $0x2c,%esp
41294b:	8d 4d d4             	lea    -0x2c(%ebp),%ecx
41294e:	56                   	push   %esi
41294f:	6a 00                	push   $0x0
412951:	e8 8c a7 ff ff       	call   0x40d0e2
412956:	8b 45 08             	mov    0x8(%ebp),%eax
412959:	6a 01                	push   $0x1
41295b:	6a 0a                	push   $0xa
41295d:	51                   	push   %ecx
41295e:	51                   	push   %ecx
41295f:	8b cc                	mov    %esp,%ecx
412961:	83 61 04 00          	andl   $0x0,0x4(%ecx)
412965:	89 01                	mov    %eax,(%ecx)
412967:	8d 45 d4             	lea    -0x2c(%ebp),%eax
41296a:	50                   	push   %eax
41296b:	e8 a6 f6 ff ff       	call   0x412016
412970:	83 c4 14             	add    $0x14,%esp
412973:	8d 4d d4             	lea    -0x2c(%ebp),%ecx
412976:	8b f0                	mov    %eax,%esi
412978:	e8 ad a7 ff ff       	call   0x40d12a
41297d:	8b c6                	mov    %esi,%eax
41297f:	5e                   	pop    %esi
412980:	c9                   	leave
412981:	c3                   	ret
412982:	8b ff                	mov    %edi,%edi
412984:	55                   	push   %ebp
412985:	8b ec                	mov    %esp,%ebp
412987:	83 ec 2c             	sub    $0x2c,%esp
41298a:	8d 4d d4             	lea    -0x2c(%ebp),%ecx
41298d:	56                   	push   %esi
41298e:	6a 00                	push   $0x0
412990:	e8 4d a7 ff ff       	call   0x40d0e2
412995:	8b 45 08             	mov    0x8(%ebp),%eax
412998:	6a 01                	push   $0x1
41299a:	6a 0a                	push   $0xa
41299c:	51                   	push   %ecx
41299d:	51                   	push   %ecx
41299e:	8b cc                	mov    %esp,%ecx
4129a0:	83 61 04 00          	andl   $0x0,0x4(%ecx)
4129a4:	89 01                	mov    %eax,(%ecx)
4129a6:	8d 45 d4             	lea    -0x2c(%ebp),%eax
4129a9:	50                   	push   %eax
4129aa:	e8 20 f4 ff ff       	call   0x411dcf
4129af:	83 c4 14             	add    $0x14,%esp
4129b2:	8d 4d d4             	lea    -0x2c(%ebp),%ecx
4129b5:	8b f0                	mov    %eax,%esi
4129b7:	e8 6e a7 ff ff       	call   0x40d12a
4129bc:	8b c6                	mov    %esi,%eax
4129be:	5e                   	pop    %esi
4129bf:	c9                   	leave
4129c0:	c3                   	ret
4129c1:	8b ff                	mov    %edi,%edi
4129c3:	55                   	push   %ebp
4129c4:	8b ec                	mov    %esp,%ebp
4129c6:	83 ec 10             	sub    $0x10,%esp
4129c9:	56                   	push   %esi
4129ca:	8d 45 f8             	lea    -0x8(%ebp),%eax
4129cd:	33 f6                	xor    %esi,%esi
4129cf:	50                   	push   %eax
4129d0:	89 75 f8             	mov    %esi,-0x8(%ebp)
4129d3:	89 75 fc             	mov    %esi,-0x4(%ebp)
4129d6:	ff 15 30 11 43 00    	call   *0x431130
4129dc:	8b 45 f8             	mov    -0x8(%ebp),%eax
4129df:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4129e2:	2d 00 80 3e d5       	sub    $0xd53e8000,%eax
4129e7:	81 d9 de b1 9d 01    	sbb    $0x19db1de,%ecx
4129ed:	81 f9 24 4b 4c 00    	cmp    $0x4c4b24,%ecx
4129f3:	7f 18                	jg     0x412a0d
4129f5:	7c 07                	jl     0x4129fe
4129f7:	3d 00 40 40 e1       	cmp    $0xe1404000,%eax
4129fc:	73 0f                	jae    0x412a0d
4129fe:	56                   	push   %esi
4129ff:	68 80 96 98 00       	push   $0x989680
412a04:	51                   	push   %ecx
412a05:	50                   	push   %eax
412a06:	e8 05 75 ff ff       	call   0x409f10
412a0b:	eb 03                	jmp    0x412a10
412a0d:	83 c8 ff             	or     $0xffffffff,%eax
412a10:	8b 4d 08             	mov    0x8(%ebp),%ecx
412a13:	8b d0                	mov    %eax,%edx
412a15:	5e                   	pop    %esi
412a16:	85 c9                	test   %ecx,%ecx
412a18:	74 02                	je     0x412a1c
412a1a:	89 01                	mov    %eax,(%ecx)
412a1c:	8b c2                	mov    %edx,%eax
412a1e:	c9                   	leave
412a1f:	c3                   	ret
412a20:	8b ff                	mov    %edi,%edi
412a22:	55                   	push   %ebp
412a23:	8b ec                	mov    %esp,%ebp
412a25:	51                   	push   %ecx
412a26:	51                   	push   %ecx
412a27:	56                   	push   %esi
412a28:	57                   	push   %edi
412a29:	8d 45 f8             	lea    -0x8(%ebp),%eax
412a2c:	33 f6                	xor    %esi,%esi
412a2e:	50                   	push   %eax
412a2f:	89 75 f8             	mov    %esi,-0x8(%ebp)
412a32:	89 75 fc             	mov    %esi,-0x4(%ebp)
412a35:	ff 15 30 11 43 00    	call   *0x431130
412a3b:	8b 4d f8             	mov    -0x8(%ebp),%ecx
412a3e:	8b 45 fc             	mov    -0x4(%ebp),%eax
412a41:	81 e9 00 80 3e d5    	sub    $0xd53e8000,%ecx
412a47:	56                   	push   %esi
412a48:	68 80 96 98 00       	push   $0x989680
412a4d:	1d de b1 9d 01       	sbb    $0x19db1de,%eax
412a52:	50                   	push   %eax
412a53:	51                   	push   %ecx
412a54:	e8 b7 74 ff ff       	call   0x409f10
412a59:	83 fa 07             	cmp    $0x7,%edx
412a5c:	7f 0d                	jg     0x412a6b
412a5e:	7c 07                	jl     0x412a67
412a60:	3d ff 2a 58 93       	cmp    $0x93582aff,%eax
412a65:	77 04                	ja     0x412a6b
412a67:	8b fa                	mov    %edx,%edi
412a69:	eb 07                	jmp    0x412a72
412a6b:	83 c8 ff             	or     $0xffffffff,%eax
412a6e:	8b d0                	mov    %eax,%edx
412a70:	8b f8                	mov    %eax,%edi
412a72:	8b 4d 08             	mov    0x8(%ebp),%ecx
412a75:	8b f0                	mov    %eax,%esi
412a77:	85 c9                	test   %ecx,%ecx
412a79:	74 05                	je     0x412a80
412a7b:	89 01                	mov    %eax,(%ecx)
412a7d:	89 51 04             	mov    %edx,0x4(%ecx)
412a80:	8b d7                	mov    %edi,%edx
412a82:	8b c6                	mov    %esi,%eax
412a84:	5f                   	pop    %edi
412a85:	5e                   	pop    %esi
412a86:	c9                   	leave
412a87:	c3                   	ret
412a88:	8b ff                	mov    %edi,%edi
412a8a:	55                   	push   %ebp
412a8b:	8b ec                	mov    %esp,%ebp
412a8d:	8b 55 08             	mov    0x8(%ebp),%edx
412a90:	56                   	push   %esi
412a91:	57                   	push   %edi
412a92:	85 d2                	test   %edx,%edx
412a94:	74 13                	je     0x412aa9
412a96:	8b 4d 0c             	mov    0xc(%ebp),%ecx
412a99:	85 c9                	test   %ecx,%ecx
412a9b:	74 0c                	je     0x412aa9
412a9d:	8b 75 10             	mov    0x10(%ebp),%esi
412aa0:	85 f6                	test   %esi,%esi
412aa2:	75 1a                	jne    0x412abe
412aa4:	33 c0                	xor    %eax,%eax
412aa6:	66 89 02             	mov    %ax,(%edx)
412aa9:	e8 c3 9b 00 00       	call   0x41c671
412aae:	6a 16                	push   $0x16
412ab0:	5e                   	pop    %esi
412ab1:	89 30                	mov    %esi,(%eax)
412ab3:	e8 36 a9 ff ff       	call   0x40d3ee
412ab8:	5f                   	pop    %edi
412ab9:	8b c6                	mov    %esi,%eax
412abb:	5e                   	pop    %esi
412abc:	5d                   	pop    %ebp
412abd:	c3                   	ret
412abe:	8b fa                	mov    %edx,%edi
412ac0:	2b f2                	sub    %edx,%esi
412ac2:	0f b7 04 3e          	movzwl (%esi,%edi,1),%eax
412ac6:	66 89 07             	mov    %ax,(%edi)
412ac9:	8d 7f 02             	lea    0x2(%edi),%edi
412acc:	66 85 c0             	test   %ax,%ax
412acf:	74 17                	je     0x412ae8
412ad1:	83 e9 01             	sub    $0x1,%ecx
412ad4:	75 ec                	jne    0x412ac2
412ad6:	85 c9                	test   %ecx,%ecx
412ad8:	75 0e                	jne    0x412ae8
412ada:	33 c0                	xor    %eax,%eax
412adc:	66 89 02             	mov    %ax,(%edx)
412adf:	e8 8d 9b 00 00       	call   0x41c671
412ae4:	6a 22                	push   $0x22
412ae6:	eb c8                	jmp    0x412ab0
412ae8:	33 f6                	xor    %esi,%esi
412aea:	eb cc                	jmp    0x412ab8
412aec:	8b ff                	mov    %edi,%edi
412aee:	55                   	push   %ebp
412aef:	8b ec                	mov    %esp,%ebp
412af1:	83 ec 0c             	sub    $0xc,%esp
412af4:	8b 45 0c             	mov    0xc(%ebp),%eax
412af7:	33 c9                	xor    %ecx,%ecx
412af9:	53                   	push   %ebx
412afa:	8b 5d 08             	mov    0x8(%ebp),%ebx
412afd:	56                   	push   %esi
412afe:	8b f0                	mov    %eax,%esi
412b00:	89 45 f8             	mov    %eax,-0x8(%ebp)
412b03:	57                   	push   %edi
412b04:	89 4d fc             	mov    %ecx,-0x4(%ebp)
412b07:	38 4d 18             	cmp    %cl,0x18(%ebp)
412b0a:	74 14                	je     0x412b20
412b0c:	6a 2d                	push   $0x2d
412b0e:	59                   	pop    %ecx
412b0f:	66 89 08             	mov    %cx,(%eax)
412b12:	8d 70 02             	lea    0x2(%eax),%esi
412b15:	33 c9                	xor    %ecx,%ecx
412b17:	89 75 f8             	mov    %esi,-0x8(%ebp)
412b1a:	41                   	inc    %ecx
412b1b:	f7 db                	neg    %ebx
412b1d:	89 4d fc             	mov    %ecx,-0x4(%ebp)
412b20:	89 75 f4             	mov    %esi,-0xc(%ebp)