402821:	74 7b                	je     0x40289e
402823:	83 f8 ff             	cmp    $0xffffffff,%eax
402826:	74 64                	je     0x40288c
402828:	01 45 f8             	add    %eax,-0x8(%ebp)
40282b:	2b d8                	sub    %eax,%ebx
40282d:	29 45 fc             	sub    %eax,-0x4(%ebp)
402830:	eb 24                	jmp    0x402856
402832:	56                   	push   %esi
402833:	e8 58 49 00 00       	call   0x407190
402838:	59                   	pop    %ecx
402839:	83 f8 ff             	cmp    $0xffffffff,%eax
40283c:	74 52                	je     0x402890
40283e:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
402842:	74 22                	je     0x402866
402844:	8b 4d f8             	mov    -0x8(%ebp),%ecx
402847:	ff 45 f8             	incl   -0x8(%ebp)
40284a:	88 01                	mov    %al,(%ecx)
40284c:	8b 46 18             	mov    0x18(%esi),%eax
40284f:	4b                   	dec    %ebx
402850:	ff 4d fc             	decl   -0x4(%ebp)
402853:	89 45 f4             	mov    %eax,-0xc(%ebp)
402856:	85 db                	test   %ebx,%ebx
402858:	0f 85 26 ff ff ff    	jne    0x402784
40285e:	8b 45 14             	mov    0x14(%ebp),%eax
402861:	e9 bc fe ff ff       	jmp    0x402722
402866:	83 7d 0c ff          	cmpl   $0xffffffff,0xc(%ebp)
40286a:	74 10                	je     0x40287c
40286c:	ff 75 0c             	push   0xc(%ebp)
40286f:	6a 00                	push   $0x0
402871:	ff 75 08             	push   0x8(%ebp)
402874:	e8 67 51 00 00       	call   0x4079e0
402879:	83 c4 0c             	add    $0xc,%esp
40287c:	e8 a6 18 00 00       	call   0x404127
402881:	c7 00 22 00 00 00    	movl   $0x22,(%eax)
402887:	e9 8f fe ff ff       	jmp    0x40271b
40288c:	83 4e 0c 20          	orl    $0x20,0xc(%esi)
402890:	8b c7                	mov    %edi,%eax
402892:	2b c3                	sub    %ebx,%eax
402894:	33 d2                	xor    %edx,%edx
402896:	f7 75 10             	divl   0x10(%ebp)
402899:	e9 84 fe ff ff       	jmp    0x402722
40289e:	83 4e 0c 10          	orl    $0x10,0xc(%esi)
4028a2:	eb ec                	jmp    0x402890
4028a4:	6a 0c                	push   $0xc
4028a6:	68 90 10 41 00       	push   $0x411090
4028ab:	e8 c0 18 00 00       	call   0x404170
4028b0:	33 f6                	xor    %esi,%esi
4028b2:	89 75 e4             	mov    %esi,-0x1c(%ebp)
4028b5:	39 75 10             	cmp    %esi,0x10(%ebp)
4028b8:	74 2f                	je     0x4028e9
4028ba:	39 75 14             	cmp    %esi,0x14(%ebp)
4028bd:	74 2a                	je     0x4028e9
4028bf:	39 75 18             	cmp    %esi,0x18(%ebp)
4028c2:	75 2d                	jne    0x4028f1
4028c4:	83 7d 0c ff          	cmpl   $0xffffffff,0xc(%ebp)
4028c8:	74 0f                	je     0x4028d9
4028ca:	ff 75 0c             	push   0xc(%ebp)
4028cd:	56                   	push   %esi
4028ce:	ff 75 08             	push   0x8(%ebp)
4028d1:	e8 0a 51 00 00       	call   0x4079e0
4028d6:	83 c4 0c             	add    $0xc,%esp
4028d9:	e8 49 18 00 00       	call   0x404127
4028de:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4028e4:	e8 9e 03 00 00       	call   0x402c87
4028e9:	33 c0                	xor    %eax,%eax
4028eb:	e8 c5 18 00 00       	call   0x4041b5
4028f0:	c3                   	ret
4028f1:	ff 75 18             	push   0x18(%ebp)
4028f4:	e8 61 fa ff ff       	call   0x40235a
4028f9:	59                   	pop    %ecx
4028fa:	89 75 fc             	mov    %esi,-0x4(%ebp)
4028fd:	ff 75 18             	push   0x18(%ebp)
402900:	ff 75 14             	push   0x14(%ebp)
402903:	ff 75 10             	push   0x10(%ebp)
402906:	ff 75 0c             	push   0xc(%ebp)
402909:	ff 75 08             	push   0x8(%ebp)
40290c:	e8 d7 fd ff ff       	call   0x4026e8
402911:	83 c4 14             	add    $0x14,%esp
402914:	89 45 e4             	mov    %eax,-0x1c(%ebp)
402917:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40291e:	e8 05 00 00 00       	call   0x402928
402923:	8b 45 e4             	mov    -0x1c(%ebp),%eax
402926:	eb c3                	jmp    0x4028eb
402928:	ff 75 18             	push   0x18(%ebp)
40292b:	e8 9d fa ff ff       	call   0x4023cd
402930:	59                   	pop    %ecx
402931:	c3                   	ret
402932:	8b ff                	mov    %edi,%edi
402934:	55                   	push   %ebp
402935:	8b ec                	mov    %esp,%ebp
402937:	ff 75 14             	push   0x14(%ebp)
40293a:	ff 75 10             	push   0x10(%ebp)
40293d:	ff 75 0c             	push   0xc(%ebp)
402940:	6a ff                	push   $0xffffffff
402942:	ff 75 08             	push   0x8(%ebp)
402945:	e8 5a ff ff ff       	call   0x4028a4
40294a:	83 c4 14             	add    $0x14,%esp
40294d:	5d                   	pop    %ebp
40294e:	c3                   	ret
40294f:	6a 0c                	push   $0xc
402951:	68 b0 10 41 00       	push   $0x4110b0
402956:	e8 15 18 00 00       	call   0x404170
40295b:	33 db                	xor    %ebx,%ebx
40295d:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
402960:	33 c0                	xor    %eax,%eax
402962:	8b 7d 08             	mov    0x8(%ebp),%edi
402965:	3b fb                	cmp    %ebx,%edi
402967:	0f 95 c0             	setne  %al
40296a:	3b c3                	cmp    %ebx,%eax
40296c:	75 18                	jne    0x402986
40296e:	e8 b4 17 00 00       	call   0x404127
402973:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
402979:	e8 09 03 00 00       	call   0x402c87
40297e:	83 c8 ff             	or     $0xffffffff,%eax
402981:	e9 c5 00 00 00       	jmp    0x402a4b
402986:	33 c0                	xor    %eax,%eax
402988:	39 5d 0c             	cmp    %ebx,0xc(%ebp)
40298b:	0f 95 c0             	setne  %al
40298e:	3b c3                	cmp    %ebx,%eax
402990:	74 dc                	je     0x40296e
402992:	89 7d 08             	mov    %edi,0x8(%ebp)
402995:	57                   	push   %edi
402996:	e8 bf f9 ff ff       	call   0x40235a
40299b:	59                   	pop    %ecx
40299c:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40299f:	f6 47 0c 40          	testb  $0x40,0xc(%edi)
4029a3:	75 6f                	jne    0x402a14
4029a5:	57                   	push   %edi
4029a6:	e8 05 01 00 00       	call   0x402ab0
4029ab:	59                   	pop    %ecx
4029ac:	83 f8 ff             	cmp    $0xffffffff,%eax
4029af:	74 1b                	je     0x4029cc
4029b1:	83 f8 fe             	cmp    $0xfffffffe,%eax
4029b4:	74 16                	je     0x4029cc
4029b6:	8b d0                	mov    %eax,%edx
4029b8:	c1 fa 05             	sar    $0x5,%edx
4029bb:	8b c8                	mov    %eax,%ecx
4029bd:	83 e1 1f             	and    $0x1f,%ecx
4029c0:	c1 e1 06             	shl    $0x6,%ecx
4029c3:	03 0c 95 20 46 41 00 	add    0x414620(,%edx,4),%ecx
4029ca:	eb 05                	jmp    0x4029d1
4029cc:	b9 78 2b 41 00       	mov    $0x412b78,%ecx
4029d1:	f6 41 24 7f          	testb  $0x7f,0x24(%ecx)
4029d5:	75 29                	jne    0x402a00
4029d7:	83 f8 ff             	cmp    $0xffffffff,%eax
4029da:	74 19                	je     0x4029f5
4029dc:	83 f8 fe             	cmp    $0xfffffffe,%eax
4029df:	74 14                	je     0x4029f5
4029e1:	8b c8                	mov    %eax,%ecx
4029e3:	c1 f9 05             	sar    $0x5,%ecx
4029e6:	83 e0 1f             	and    $0x1f,%eax
4029e9:	c1 e0 06             	shl    $0x6,%eax
4029ec:	03 04 8d 20 46 41 00 	add    0x414620(,%ecx,4),%eax
4029f3:	eb 05                	jmp    0x4029fa
4029f5:	b8 78 2b 41 00       	mov    $0x412b78,%eax
4029fa:	f6 40 24 80          	testb  $0x80,0x24(%eax)
4029fe:	74 14                	je     0x402a14
402a00:	e8 22 17 00 00       	call   0x404127
402a05:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
402a0b:	e8 77 02 00 00       	call   0x402c87
402a10:	83 4d e4 ff          	orl    $0xffffffff,-0x1c(%ebp)
402a14:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)
402a17:	75 23                	jne    0x402a3c
402a19:	57                   	push   %edi
402a1a:	e8 93 1a 00 00       	call   0x4044b2
402a1f:	8b f0                	mov    %eax,%esi
402a21:	8d 45 10             	lea    0x10(%ebp),%eax
402a24:	50                   	push   %eax
402a25:	53                   	push   %ebx
402a26:	ff 75 0c             	push   0xc(%ebp)
402a29:	57                   	push   %edi
402a2a:	e8 8d 50 00 00       	call   0x407abc
402a2f:	89 45 e4             	mov    %eax,-0x1c(%ebp)
402a32:	57                   	push   %edi
402a33:	56                   	push   %esi
402a34:	e8 15 1b 00 00       	call   0x40454e
402a39:	83 c4 1c             	add    $0x1c,%esp
402a3c:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
402a43:	e8 09 00 00 00       	call   0x402a51
402a48:	8b 45 e4             	mov    -0x1c(%ebp),%eax
402a4b:	e8 65 17 00 00       	call   0x4041b5
402a50:	c3                   	ret
402a51:	ff 75 08             	push   0x8(%ebp)
402a54:	e8 74 f9 ff ff       	call   0x4023cd
402a59:	59                   	pop    %ecx
402a5a:	c3                   	ret
402a5b:	8b ff                	mov    %edi,%edi
402a5d:	55                   	push   %ebp
402a5e:	8b ec                	mov    %esp,%ebp
402a60:	51                   	push   %ecx
402a61:	b8 ff ff 00 00       	mov    $0xffff,%eax
402a66:	66 39 45 08          	cmp    %ax,0x8(%ebp)
402a6a:	75 04                	jne    0x402a70
402a6c:	33 c0                	xor    %eax,%eax
402a6e:	c9                   	leave
402a6f:	c3                   	ret
402a70:	b8 00 01 00 00       	mov    $0x100,%eax
402a75:	66 39 45 08          	cmp    %ax,0x8(%ebp)
402a79:	73 10                	jae    0x402a8b
402a7b:	0f b7 45 08          	movzwl 0x8(%ebp),%eax
402a7f:	8b 0d ec 2d 41 00    	mov    0x412dec,%ecx
402a85:	0f b7 04 41          	movzwl (%ecx,%eax,2),%eax
402a89:	eb 1d                	jmp    0x402aa8
402a8b:	8d 45 fc             	lea    -0x4(%ebp),%eax
402a8e:	50                   	push   %eax
402a8f:	6a 01                	push   $0x1
402a91:	8d 45 08             	lea    0x8(%ebp),%eax
402a94:	50                   	push   %eax
402a95:	6a 01                	push   $0x1
402a97:	ff 15 7c f0 40 00    	call   *0x40f07c
402a9d:	85 c0                	test   %eax,%eax
402a9f:	75 03                	jne    0x402aa4
402aa1:	21 45 fc             	and    %eax,-0x4(%ebp)
402aa4:	0f b7 45 fc          	movzwl -0x4(%ebp),%eax
402aa8:	0f b7 4d 0c          	movzwl 0xc(%ebp),%ecx
402aac:	23 c1                	and    %ecx,%eax
402aae:	c9                   	leave
402aaf:	c3                   	ret
402ab0:	8b ff                	mov    %edi,%edi
402ab2:	55                   	push   %ebp
402ab3:	8b ec                	mov    %esp,%ebp
402ab5:	8b 45 08             	mov    0x8(%ebp),%eax
402ab8:	85 c0                	test   %eax,%eax
402aba:	75 15                	jne    0x402ad1
402abc:	e8 66 16 00 00       	call   0x404127
402ac1:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
402ac7:	e8 bb 01 00 00       	call   0x402c87
402acc:	83 c8 ff             	or     $0xffffffff,%eax
402acf:	5d                   	pop    %ebp
402ad0:	c3                   	ret
402ad1:	8b 40 10             	mov    0x10(%eax),%eax
402ad4:	5d                   	pop    %ebp
402ad5:	c3                   	ret
402ad6:	8b ff                	mov    %edi,%edi
402ad8:	55                   	push   %ebp
402ad9:	8b ec                	mov    %esp,%ebp
402adb:	8b 45 08             	mov    0x8(%ebp),%eax
402ade:	a3 e4 2e 41 00       	mov    %eax,0x412ee4
402ae3:	5d                   	pop    %ebp
402ae4:	c3                   	ret
402ae5:	8b ff                	mov    %edi,%edi
402ae7:	55                   	push   %ebp
402ae8:	8b ec                	mov    %esp,%ebp
402aea:	81 ec 28 03 00 00    	sub    $0x328,%esp
402af0:	a1 84 22 41 00       	mov    0x412284,%eax
402af5:	33 c5                	xor    %ebp,%eax
402af7:	89 45 fc             	mov    %eax,-0x4(%ebp)
402afa:	53                   	push   %ebx
402afb:	8b 5d 08             	mov    0x8(%ebp),%ebx
402afe:	57                   	push   %edi
402aff:	83 fb ff             	cmp    $0xffffffff,%ebx
402b02:	74 07                	je     0x402b0b
402b04:	53                   	push   %ebx
402b05:	e8 ba 5b 00 00       	call   0x4086c4
402b0a:	59                   	pop    %ecx
402b0b:	83 a5 e0 fc ff ff 00 	andl   $0x0,-0x320(%ebp)
402b12:	6a 4c                	push   $0x4c
402b14:	8d 85 e4 fc ff ff    	lea    -0x31c(%ebp),%eax
402b1a:	6a 00                	push   $0x0
402b1c:	50                   	push   %eax
402b1d:	e8 be 4e 00 00       	call   0x4079e0
402b22:	8d 85 e0 fc ff ff    	lea    -0x320(%ebp),%eax
402b28:	89 85 d8 fc ff ff    	mov    %eax,-0x328(%ebp)
402b2e:	8d 85 30 fd ff ff    	lea    -0x2d0(%ebp),%eax
402b34:	83 c4 0c             	add    $0xc,%esp
402b37:	89 85 dc fc ff ff    	mov    %eax,-0x324(%ebp)
402b3d:	89 85 e0 fd ff ff    	mov    %eax,-0x220(%ebp)
402b43:	89 8d dc fd ff ff    	mov    %ecx,-0x224(%ebp)
402b49:	89 95 d8 fd ff ff    	mov    %edx,-0x228(%ebp)
402b4f:	89 9d d4 fd ff ff    	mov    %ebx,-0x22c(%ebp)
402b55:	89 b5 d0 fd ff ff    	mov    %esi,-0x230(%ebp)
402b5b:	89 bd cc fd ff ff    	mov    %edi,-0x234(%ebp)
402b61:	66 8c 95 f8 fd ff ff 	data16 mov %ss,-0x208(%ebp)
402b68:	66 8c 8d ec fd ff ff 	data16 mov %cs,-0x214(%ebp)
402b6f:	66 8c 9d c8 fd ff ff 	data16 mov %ds,-0x238(%ebp)
402b76:	66 8c 85 c4 fd ff ff 	data16 mov %es,-0x23c(%ebp)
402b7d:	66 8c a5 c0 fd ff ff 	data16 mov %fs,-0x240(%ebp)
402b84:	66 8c ad bc fd ff ff 	data16 mov %gs,-0x244(%ebp)
402b8b:	9c                   	pushf
402b8c:	8f 85 f0 fd ff ff    	pop    -0x210(%ebp)
402b92:	8b 45 04             	mov    0x4(%ebp),%eax
402b95:	8d 4d 04             	lea    0x4(%ebp),%ecx
402b98:	89 8d f4 fd ff ff    	mov    %ecx,-0x20c(%ebp)
402b9e:	c7 85 30 fd ff ff 01 	movl   $0x10001,-0x2d0(%ebp)
402ba5:	00 01 00
402ba8:	89 85 e8 fd ff ff    	mov    %eax,-0x218(%ebp)
402bae:	8b 49 fc             	mov    -0x4(%ecx),%ecx
402bb1:	89 8d e4 fd ff ff    	mov    %ecx,-0x21c(%ebp)
402bb7:	8b 4d 0c             	mov    0xc(%ebp),%ecx
402bba:	89 8d e0 fc ff ff    	mov    %ecx,-0x320(%ebp)
402bc0:	8b 4d 10             	mov    0x10(%ebp),%ecx
402bc3:	89 8d e4 fc ff ff    	mov    %ecx,-0x31c(%ebp)
402bc9:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
402bcf:	ff 15 88 f0 40 00    	call   *0x40f088
402bd5:	6a 00                	push   $0x0
402bd7:	8b f8                	mov    %eax,%edi
402bd9:	ff 15 84 f0 40 00    	call   *0x40f084
402bdf:	8d 85 d8 fc ff ff    	lea    -0x328(%ebp),%eax
402be5:	50                   	push   %eax
402be6:	ff 15 80 f0 40 00    	call   *0x40f080
402bec:	85 c0                	test   %eax,%eax
402bee:	75 10                	jne    0x402c00
402bf0:	85 ff                	test   %edi,%edi
402bf2:	75 0c                	jne    0x402c00
402bf4:	83 fb ff             	cmp    $0xffffffff,%ebx
402bf7:	74 07                	je     0x402c00
402bf9:	53                   	push   %ebx
402bfa:	e8 c5 5a 00 00       	call   0x4086c4
402bff:	59                   	pop    %ecx
402c00:	8b 4d fc             	mov    -0x4(%ebp),%ecx
402c03:	5f                   	pop    %edi
402c04:	33 cd                	xor    %ebp,%ecx
402c06:	5b                   	pop    %ebx
402c07:	e8 98 f1 ff ff       	call   0x401da4
402c0c:	c9                   	leave
402c0d:	c3                   	ret
402c0e:	8b ff                	mov    %edi,%edi
402c10:	55                   	push   %ebp
402c11:	8b ec                	mov    %esp,%ebp
402c13:	56                   	push   %esi
402c14:	ff 35 e4 2e 41 00    	push   0x412ee4
402c1a:	ff 15 90 f0 40 00    	call   *0x40f090
402c20:	ff 75 08             	push   0x8(%ebp)
402c23:	8b f0                	mov    %eax,%esi
402c25:	ff 15 8c f0 40 00    	call   *0x40f08c
402c2b:	a3 e4 2e 41 00       	mov    %eax,0x412ee4
402c30:	8b c6                	mov    %esi,%eax
402c32:	5e                   	pop    %esi
402c33:	5d                   	pop    %ebp
402c34:	c3                   	ret
402c35:	8b ff                	mov    %edi,%edi
402c37:	56                   	push   %esi
402c38:	6a 01                	push   $0x1
402c3a:	be 17 04 00 c0       	mov    $0xc0000417,%esi
402c3f:	56                   	push   %esi
402c40:	6a 02                	push   $0x2
402c42:	e8 9e fe ff ff       	call   0x402ae5
402c47:	83 c4 0c             	add    $0xc,%esp
402c4a:	56                   	push   %esi
402c4b:	ff 15 98 f0 40 00    	call   *0x40f098
402c51:	50                   	push   %eax
402c52:	ff 15 94 f0 40 00    	call   *0x40f094
402c58:	5e                   	pop    %esi
402c59:	c3                   	ret
402c5a:	8b ff                	mov    %edi,%edi
402c5c:	55                   	push   %ebp
402c5d:	8b ec                	mov    %esp,%ebp
402c5f:	ff 35 e4 2e 41 00    	push   0x412ee4
402c65:	ff 15 90 f0 40 00    	call   *0x40f090
402c6b:	85 c0                	test   %eax,%eax