404929:	8d 40 00             	lea    0x0(%eax),%eax
40492c:	85 c0                	test   %eax,%eax
40492e:	7e 24                	jle    0x404954
404930:	50                   	push   %eax
404931:	83 c0 0a             	add    $0xa,%eax
404934:	83 e0 fe             	and    $0xfffffffe,%eax
404937:	50                   	push   %eax
404938:	e8 6f de ff ff       	call   0x4027ac
40493d:	5a                   	pop    %edx
40493e:	66 c7 44 02 fe 00 00 	movw   $0x0,-0x2(%edx,%eax,1)
404945:	83 c0 08             	add    $0x8,%eax
404948:	5a                   	pop    %edx
404949:	89 50 fc             	mov    %edx,-0x4(%eax)
40494c:	c7 40 f8 01 00 00 00 	movl   $0x1,-0x8(%eax)
404953:	c3                   	ret
404954:	31 c0                	xor    %eax,%eax
404956:	c3                   	ret
404957:	90                   	nop
404958:	53                   	push   %ebx
404959:	56                   	push   %esi
40495a:	57                   	push   %edi
40495b:	89 c3                	mov    %eax,%ebx
40495d:	89 d6                	mov    %edx,%esi
40495f:	89 cf                	mov    %ecx,%edi
404961:	89 f8                	mov    %edi,%eax
404963:	e8 c4 ff ff ff       	call   0x40492c
404968:	89 f9                	mov    %edi,%ecx
40496a:	89 c7                	mov    %eax,%edi
40496c:	85 f6                	test   %esi,%esi
40496e:	74 09                	je     0x404979
404970:	89 c2                	mov    %eax,%edx
404972:	89 f0                	mov    %esi,%eax
404974:	e8 a7 e0 ff ff       	call   0x402a20
404979:	89 d8                	mov    %ebx,%eax
40497b:	e8 e8 fe ff ff       	call   0x404868
404980:	89 3b                	mov    %edi,(%ebx)
404982:	5f                   	pop    %edi
404983:	5e                   	pop    %esi
404984:	5b                   	pop    %ebx
404985:	c3                   	ret
404986:	8b c0                	mov    %eax,%eax
404988:	55                   	push   %ebp
404989:	8b ec                	mov    %esp,%ebp
40498b:	6a 00                	push   $0x0
40498d:	6a 00                	push   $0x0
40498f:	52                   	push   %edx
404990:	50                   	push   %eax
404991:	8b 45 08             	mov    0x8(%ebp),%eax
404994:	50                   	push   %eax
404995:	51                   	push   %ecx
404996:	6a 00                	push   $0x0
404998:	6a 00                	push   $0x0
40499a:	e8 29 ca ff ff       	call   0x4013c8
40499f:	5d                   	pop    %ebp
4049a0:	c2 04 00             	ret    $0x4
4049a3:	90                   	nop
4049a4:	55                   	push   %ebp
4049a5:	8b ec                	mov    %esp,%ebp
4049a7:	52                   	push   %edx
4049a8:	50                   	push   %eax
4049a9:	8b 45 08             	mov    0x8(%ebp),%eax
4049ac:	50                   	push   %eax
4049ad:	51                   	push   %ecx
4049ae:	6a 00                	push   $0x0
4049b0:	6a 00                	push   $0x0
4049b2:	e8 e9 c9 ff ff       	call   0x4013a0
4049b7:	5d                   	pop    %ebp
4049b8:	c2 04 00             	ret    $0x4
4049bb:	90                   	nop
4049bc:	53                   	push   %ebx
4049bd:	56                   	push   %esi
4049be:	57                   	push   %edi
4049bf:	55                   	push   %ebp
4049c0:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
4049c6:	50                   	push   %eax
4049c7:	83 c4 fc             	add    $0xfffffffc,%esp
4049ca:	8b f1                	mov    %ecx,%esi
4049cc:	89 14 24             	mov    %edx,(%esp)
4049cf:	8b f8                	mov    %eax,%edi
4049d1:	85 f6                	test   %esi,%esi
4049d3:	7f 09                	jg     0x4049de
4049d5:	8b c7                	mov    %edi,%eax
4049d7:	e8 8c fe ff ff       	call   0x404868
4049dc:	eb 5f                	jmp    0x404a3d
4049de:	8d 6e 01             	lea    0x1(%esi),%ebp
4049e1:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
4049e7:	7d 28                	jge    0x404a11
4049e9:	56                   	push   %esi
4049ea:	8d 44 24 08          	lea    0x8(%esp),%eax
4049ee:	8b 4c 24 04          	mov    0x4(%esp),%ecx
4049f2:	ba ff 0f 00 00       	mov    $0xfff,%edx
4049f7:	e8 8c ff ff ff       	call   0x404988
4049fc:	8b d8                	mov    %eax,%ebx
4049fe:	85 db                	test   %ebx,%ebx
404a00:	7c 0f                	jl     0x404a11
404a02:	8d 54 24 04          	lea    0x4(%esp),%edx
404a06:	8b c7                	mov    %edi,%eax
404a08:	8b cb                	mov    %ebx,%ecx
404a0a:	e8 49 ff ff ff       	call   0x404958
404a0f:	eb 2c                	jmp    0x404a3d
404a11:	8b dd                	mov    %ebp,%ebx
404a13:	03 db                	add    %ebx,%ebx
404a15:	8b c7                	mov    %edi,%eax
404a17:	8b d3                	mov    %ebx,%edx
404a19:	e8 86 04 00 00       	call   0x404ea4
404a1e:	56                   	push   %esi
404a1f:	8b 07                	mov    (%edi),%eax
404a21:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404a25:	8b d3                	mov    %ebx,%edx
404a27:	e8 5c ff ff ff       	call   0x404988
404a2c:	8b d8                	mov    %eax,%ebx
404a2e:	85 db                	test   %ebx,%ebx
404a30:	7d 02                	jge    0x404a34
404a32:	33 db                	xor    %ebx,%ebx
404a34:	8b c7                	mov    %edi,%eax
404a36:	8b d3                	mov    %ebx,%edx
404a38:	e8 67 04 00 00       	call   0x404ea4
404a3d:	81 c4 04 10 00 00    	add    $0x1004,%esp
404a43:	5d                   	pop    %ebp
404a44:	5f                   	pop    %edi
404a45:	5e                   	pop    %esi
404a46:	5b                   	pop    %ebx
404a47:	c3                   	ret
404a48:	52                   	push   %edx
404a49:	89 e2                	mov    %esp,%edx
404a4b:	b9 01 00 00 00       	mov    $0x1,%ecx
404a50:	e8 03 ff ff ff       	call   0x404958
404a55:	5a                   	pop    %edx
404a56:	c3                   	ret
404a57:	90                   	nop
404a58:	31 c9                	xor    %ecx,%ecx
404a5a:	85 d2                	test   %edx,%edx
404a5c:	74 21                	je     0x404a7f
404a5e:	52                   	push   %edx
404a5f:	3a 0a                	cmp    (%edx),%cl
404a61:	74 17                	je     0x404a7a
404a63:	3a 4a 01             	cmp    0x1(%edx),%cl
404a66:	74 11                	je     0x404a79
404a68:	3a 4a 02             	cmp    0x2(%edx),%cl
404a6b:	74 0b                	je     0x404a78
404a6d:	3a 4a 03             	cmp    0x3(%edx),%cl
404a70:	74 05                	je     0x404a77
404a72:	83 c2 04             	add    $0x4,%edx
404a75:	eb e8                	jmp    0x404a5f
404a77:	42                   	inc    %edx
404a78:	42                   	inc    %edx
404a79:	42                   	inc    %edx
404a7a:	89 d1                	mov    %edx,%ecx
404a7c:	5a                   	pop    %edx
404a7d:	29 d1                	sub    %edx,%ecx
404a7f:	e9 d4 fe ff ff       	jmp    0x404958
404a84:	c3                   	ret
404a85:	8d 40 00             	lea    0x0(%eax),%eax
404a88:	31 c9                	xor    %ecx,%ecx
404a8a:	85 d2                	test   %edx,%edx
404a8c:	74 2d                	je     0x404abb
404a8e:	52                   	push   %edx
404a8f:	66 3b 0a             	cmp    (%edx),%cx
404a92:	74 20                	je     0x404ab4
404a94:	66 3b 4a 02          	cmp    0x2(%edx),%cx
404a98:	74 17                	je     0x404ab1
404a9a:	66 3b 4a 04          	cmp    0x4(%edx),%cx
404a9e:	74 0e                	je     0x404aae
404aa0:	66 3b 4a 06          	cmp    0x6(%edx),%cx
404aa4:	74 05                	je     0x404aab
404aa6:	83 c2 08             	add    $0x8,%edx
404aa9:	eb e4                	jmp    0x404a8f
404aab:	83 c2 02             	add    $0x2,%edx
404aae:	83 c2 02             	add    $0x2,%edx
404ab1:	83 c2 02             	add    $0x2,%edx
404ab4:	89 d1                	mov    %edx,%ecx
404ab6:	5a                   	pop    %edx
404ab7:	29 d1                	sub    %edx,%ecx
404ab9:	d1 e9                	shr    $1,%ecx
404abb:	e9 fc fe ff ff       	jmp    0x4049bc
404ac0:	c3                   	ret
404ac1:	8d 40 00             	lea    0x0(%eax),%eax
404ac4:	31 c9                	xor    %ecx,%ecx
404ac6:	8a 0a                	mov    (%edx),%cl
404ac8:	42                   	inc    %edx
404ac9:	e9 8a fe ff ff       	jmp    0x404958
404ace:	c3                   	ret
404acf:	90                   	nop
404ad0:	57                   	push   %edi
404ad1:	50                   	push   %eax
404ad2:	51                   	push   %ecx
404ad3:	89 d7                	mov    %edx,%edi
404ad5:	31 c0                	xor    %eax,%eax
404ad7:	f2 ae                	repnz scas %es:(%edi),%al
404ad9:	75 02                	jne    0x404add
404adb:	f7 d1                	not    %ecx
404add:	58                   	pop    %eax
404ade:	01 c1                	add    %eax,%ecx
404ae0:	58                   	pop    %eax
404ae1:	5f                   	pop    %edi
404ae2:	e9 71 fe ff ff       	jmp    0x404958
404ae7:	c3                   	ret
404ae8:	31 c9                	xor    %ecx,%ecx
404aea:	85 d2                	test   %edx,%edx
404aec:	74 05                	je     0x404af3
404aee:	8b 4a fc             	mov    -0x4(%edx),%ecx
404af1:	d1 e9                	shr    $1,%ecx
404af3:	e9 c4 fe ff ff       	jmp    0x4049bc
404af8:	c3                   	ret
404af9:	8d 40 00             	lea    0x0(%eax),%eax
404afc:	53                   	push   %ebx
404afd:	85 d2                	test   %edx,%edx
404aff:	74 18                	je     0x404b19
404b01:	8b 5a fc             	mov    -0x4(%edx),%ebx
404b04:	85 db                	test   %ebx,%ebx
404b06:	74 11                	je     0x404b19
404b08:	39 d9                	cmp    %ebx,%ecx
404b0a:	7c 02                	jl     0x404b0e
404b0c:	89 d9                	mov    %ebx,%ecx
404b0e:	88 08                	mov    %cl,(%eax)
404b10:	40                   	inc    %eax
404b11:	92                   	xchg   %eax,%edx
404b12:	e8 09 df ff ff       	call   0x402a20
404b17:	5b                   	pop    %ebx
404b18:	c3                   	ret
404b19:	c6 00 00             	movb   $0x0,(%eax)
404b1c:	5b                   	pop    %ebx
404b1d:	c3                   	ret
404b1e:	8b c0                	mov    %eax,%eax
404b20:	85 c0                	test   %eax,%eax
404b22:	74 03                	je     0x404b27
404b24:	8b 40 fc             	mov    -0x4(%eax),%eax
404b27:	c3                   	ret
404b28:	85 d2                	test   %edx,%edx
404b2a:	74 3f                	je     0x404b6b
404b2c:	8b 08                	mov    (%eax),%ecx
404b2e:	85 c9                	test   %ecx,%ecx
404b30:	0f 84 86 fd ff ff    	je     0x4048bc
404b36:	53                   	push   %ebx
404b37:	56                   	push   %esi
404b38:	57                   	push   %edi
404b39:	89 c3                	mov    %eax,%ebx
404b3b:	89 d6                	mov    %edx,%esi
404b3d:	8b 79 fc             	mov    -0x4(%ecx),%edi
404b40:	8b 56 fc             	mov    -0x4(%esi),%edx
404b43:	01 fa                	add    %edi,%edx
404b45:	39 ce                	cmp    %ecx,%esi
404b47:	74 17                	je     0x404b60
404b49:	e8 56 03 00 00       	call   0x404ea4
404b4e:	89 f0                	mov    %esi,%eax
404b50:	8b 4e fc             	mov    -0x4(%esi),%ecx
404b53:	8b 13                	mov    (%ebx),%edx
404b55:	01 fa                	add    %edi,%edx
404b57:	e8 c4 de ff ff       	call   0x402a20
404b5c:	5f                   	pop    %edi
404b5d:	5e                   	pop    %esi
404b5e:	5b                   	pop    %ebx
404b5f:	c3                   	ret
404b60:	e8 3f 03 00 00       	call   0x404ea4
404b65:	8b 03                	mov    (%ebx),%eax
404b67:	89 f9                	mov    %edi,%ecx
404b69:	eb e8                	jmp    0x404b53
404b6b:	c3                   	ret
404b6c:	85 d2                	test   %edx,%edx
404b6e:	74 61                	je     0x404bd1
404b70:	85 c9                	test   %ecx,%ecx
404b72:	0f 84 44 fd ff ff    	je     0x4048bc
404b78:	3b 10                	cmp    (%eax),%edx
404b7a:	74 5c                	je     0x404bd8
404b7c:	3b 08                	cmp    (%eax),%ecx
404b7e:	74 0e                	je     0x404b8e
404b80:	50                   	push   %eax
404b81:	51                   	push   %ecx
404b82:	e8 35 fd ff ff       	call   0x4048bc
404b87:	5a                   	pop    %edx
404b88:	58                   	pop    %eax
404b89:	e9 9a ff ff ff       	jmp    0x404b28
404b8e:	53                   	push   %ebx
404b8f:	56                   	push   %esi
404b90:	57                   	push   %edi
404b91:	89 d3                	mov    %edx,%ebx
404b93:	89 ce                	mov    %ecx,%esi
404b95:	50                   	push   %eax
404b96:	8b 43 fc             	mov    -0x4(%ebx),%eax
404b99:	03 46 fc             	add    -0x4(%esi),%eax
404b9c:	e8 8b fd ff ff       	call   0x40492c
404ba1:	89 c7                	mov    %eax,%edi
404ba3:	89 c2                	mov    %eax,%edx
404ba5:	89 d8                	mov    %ebx,%eax
404ba7:	8b 4b fc             	mov    -0x4(%ebx),%ecx
404baa:	e8 71 de ff ff       	call   0x402a20
404baf:	89 fa                	mov    %edi,%edx
404bb1:	89 f0                	mov    %esi,%eax
404bb3:	8b 4e fc             	mov    -0x4(%esi),%ecx
404bb6:	03 53 fc             	add    -0x4(%ebx),%edx
404bb9:	e8 62 de ff ff       	call   0x402a20
404bbe:	58                   	pop    %eax
404bbf:	89 fa                	mov    %edi,%edx
404bc1:	85 ff                	test   %edi,%edi
404bc3:	74 03                	je     0x404bc8
404bc5:	ff 4f f8             	decl   -0x8(%edi)
404bc8:	e8 ef fc ff ff       	call   0x4048bc
404bcd:	5f                   	pop    %edi
404bce:	5e                   	pop    %esi
404bcf:	5b                   	pop    %ebx
404bd0:	c3                   	ret
404bd1:	89 ca                	mov    %ecx,%edx
404bd3:	e9 e4 fc ff ff       	jmp    0x4048bc
404bd8:	89 ca                	mov    %ecx,%edx
404bda:	e9 49 ff ff ff       	jmp    0x404b28
404bdf:	c3                   	ret
404be0:	53                   	push   %ebx
404be1:	56                   	push   %esi
404be2:	57                   	push   %edi
404be3:	52                   	push   %edx
404be4:	50                   	push   %eax
404be5:	89 d3                	mov    %edx,%ebx
404be7:	31 ff                	xor    %edi,%edi
404be9:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
404bed:	85 c9                	test   %ecx,%ecx
404bef:	74 06                	je     0x404bf7
404bf1:	39 08                	cmp    %ecx,(%eax)
404bf3:	75 02                	jne    0x404bf7
404bf5:	89 cf                	mov    %ecx,%edi
404bf7:	31 c0                	xor    %eax,%eax
404bf9:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
404bfd:	85 c9                	test   %ecx,%ecx
404bff:	74 09                	je     0x404c0a
404c01:	03 41 fc             	add    -0x4(%ecx),%eax
404c04:	39 cf                	cmp    %ecx,%edi
404c06:	75 02                	jne    0x404c0a
404c08:	31 ff                	xor    %edi,%edi
404c0a:	4a                   	dec    %edx
404c0b:	75 ec                	jne    0x404bf9
404c0d:	85 ff                	test   %edi,%edi
404c0f:	74 14                	je     0x404c25
404c11:	89 c2                	mov    %eax,%edx
404c13:	89 f8                	mov    %edi,%eax
404c15:	8b 37                	mov    (%edi),%esi
404c17:	8b 76 fc             	mov    -0x4(%esi),%esi
404c1a:	e8 85 02 00 00       	call   0x404ea4
404c1f:	57                   	push   %edi
404c20:	03 37                	add    (%edi),%esi
404c22:	4b                   	dec    %ebx
404c23:	eb 08                	jmp    0x404c2d
404c25:	e8 02 fd ff ff       	call   0x40492c
404c2a:	50                   	push   %eax
404c2b:	89 c6                	mov    %eax,%esi
404c2d:	8b 44 9c 18          	mov    0x18(%esp,%ebx,4),%eax
404c31:	89 f2                	mov    %esi,%edx
404c33:	85 c0                	test   %eax,%eax
404c35:	74 0a                	je     0x404c41
404c37:	8b 48 fc             	mov    -0x4(%eax),%ecx
404c3a:	01 ce                	add    %ecx,%esi
404c3c:	e8 df dd ff ff       	call   0x402a20