40db1f:	85 c0                	test   %eax,%eax
40db21:	75 5a                	jne    0x40db7d
40db23:	8d 41 0c             	lea    0xc(%ecx),%eax
40db26:	ba 00 08 00 00       	mov    $0x800,%edx
40db2b:	50                   	push   %eax
40db2c:	8d 8d fc eb ff ff    	lea    -0x1404(%ebp),%ecx
40db32:	e8 a8 f7 ff ff       	call   0x40d2df
40db37:	8d 85 fc eb ff ff    	lea    -0x1404(%ebp),%eax
40db3d:	50                   	push   %eax
40db3e:	68 40 24 40 00       	push   $0x402440
40db43:	8d 85 fc fb ff ff    	lea    -0x404(%ebp),%eax
40db49:	68 00 04 00 00       	push   $0x400
40db4e:	50                   	push   %eax
40db4f:	e8 18 fd ff ff       	call   0x40d86c
40db54:	8d 8d fc fb ff ff    	lea    -0x404(%ebp),%ecx
40db5a:	83 c4 10             	add    $0x10,%esp
40db5d:	8d 51 01             	lea    0x1(%ecx),%edx
40db60:	8a 01                	mov    (%ecx),%al
40db62:	41                   	inc    %ecx
40db63:	84 c0                	test   %al,%al
40db65:	75 f9                	jne    0x40db60
40db67:	2b ca                	sub    %edx,%ecx
40db69:	8d 41 01             	lea    0x1(%ecx),%eax
40db6c:	8b ce                	mov    %esi,%ecx
40db6e:	50                   	push   %eax
40db6f:	8d 85 fc fb ff ff    	lea    -0x404(%ebp),%eax
40db75:	50                   	push   %eax
40db76:	e8 00 fa ff ff       	call   0x40d57b
40db7b:	8b 06                	mov    (%esi),%eax
40db7d:	8d 48 04             	lea    0x4(%eax),%ecx
40db80:	f7 d8                	neg    %eax
40db82:	5e                   	pop    %esi
40db83:	1b c0                	sbb    %eax,%eax
40db85:	23 c1                	and    %ecx,%eax
40db87:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40db8a:	33 cd                	xor    %ebp,%ecx
40db8c:	e8 4f 9f 01 00       	call   0x427ae0
40db91:	c9                   	leave
40db92:	c3                   	ret
40db93:	cc                   	int3
40db94:	cc                   	int3
40db95:	cc                   	int3
40db96:	cc                   	int3
40db97:	cc                   	int3
40db98:	cc                   	int3
40db99:	cc                   	int3
40db9a:	cc                   	int3
40db9b:	cc                   	int3
40db9c:	cc                   	int3
40db9d:	cc                   	int3
40db9e:	cc                   	int3
40db9f:	cc                   	int3
40dba0:	8b ff                	mov    %edi,%edi
40dba2:	55                   	push   %ebp
40dba3:	8b ec                	mov    %esp,%ebp
40dba5:	56                   	push   %esi
40dba6:	8b f1                	mov    %ecx,%esi
40dba8:	e8 23 00 00 00       	call   0x40dbd0
40dbad:	f6 45 08 01          	testb  $0x1,0x8(%ebp)
40dbb1:	74 07                	je     0x40dbba
40dbb3:	56                   	push   %esi
40dbb4:	e8 82 a1 01 00       	call   0x427d3b
40dbb9:	59                   	pop    %ecx
40dbba:	8b c6                	mov    %esi,%eax
40dbbc:	5e                   	pop    %esi
40dbbd:	5d                   	pop    %ebp
40dbbe:	c2 04 00             	ret    $0x4
40dbc1:	cc                   	int3
40dbc2:	cc                   	int3
40dbc3:	cc                   	int3
40dbc4:	cc                   	int3
40dbc5:	cc                   	int3
40dbc6:	cc                   	int3
40dbc7:	cc                   	int3
40dbc8:	cc                   	int3
40dbc9:	cc                   	int3
40dbca:	cc                   	int3
40dbcb:	cc                   	int3
40dbcc:	cc                   	int3
40dbcd:	cc                   	int3
40dbce:	cc                   	int3
40dbcf:	cc                   	int3
40dbd0:	8b ff                	mov    %edi,%edi
40dbd2:	56                   	push   %esi
40dbd3:	8b f1                	mov    %ecx,%esi
40dbd5:	8d 4e 64             	lea    0x64(%esi),%ecx
40dbd8:	e8 70 f9 ff ff       	call   0x40d54d
40dbdd:	8d 4e 5c             	lea    0x5c(%esi),%ecx
40dbe0:	e8 68 f9 ff ff       	call   0x40d54d
40dbe5:	8b ce                	mov    %esi,%ecx
40dbe7:	5e                   	pop    %esi
40dbe8:	ff 25 44 c3 42 00    	jmp    *0x42c344
40dbee:	8b ff                	mov    %edi,%edi
40dbf0:	56                   	push   %esi
40dbf1:	8b 35 24 bb 42 00    	mov    0x42bb24,%esi
40dbf7:	85 f6                	test   %esi,%esi
40dbf9:	74 0b                	je     0x40dc06
40dbfb:	51                   	push   %ecx
40dbfc:	8b ce                	mov    %esi,%ecx
40dbfe:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40dc04:	ff d6                	call   *%esi
40dc06:	5e                   	pop    %esi
40dc07:	c3                   	ret
40dc08:	cc                   	int3
40dc09:	cc                   	int3
40dc0a:	cc                   	int3
40dc0b:	cc                   	int3
40dc0c:	cc                   	int3
40dc0d:	cc                   	int3
40dc0e:	cc                   	int3
40dc0f:	cc                   	int3
40dc10:	6a 00                	push   $0x0
40dc12:	6a 00                	push   $0x0
40dc14:	e8 46 a6 01 00       	call   0x42825f
40dc19:	cc                   	int3
40dc1a:	cc                   	int3
40dc1b:	cc                   	int3
40dc1c:	cc                   	int3
40dc1d:	cc                   	int3
40dc1e:	cc                   	int3
40dc1f:	cc                   	int3
40dc20:	8b ff                	mov    %edi,%edi
40dc22:	55                   	push   %ebp
40dc23:	8b ec                	mov    %esp,%ebp
40dc25:	83 ec 6c             	sub    $0x6c,%esp
40dc28:	8d 4d 94             	lea    -0x6c(%ebp),%ecx
40dc2b:	ff 75 08             	push   0x8(%ebp)
40dc2e:	e8 8b fe ff ff       	call   0x40dabe
40dc33:	68 38 9f 42 00       	push   $0x429f38
40dc38:	8d 45 94             	lea    -0x6c(%ebp),%eax
40dc3b:	50                   	push   %eax
40dc3c:	e8 1e a6 01 00       	call   0x42825f
40dc41:	cc                   	int3
40dc42:	cc                   	int3
40dc43:	cc                   	int3
40dc44:	cc                   	int3
40dc45:	cc                   	int3
40dc46:	cc                   	int3
40dc47:	cc                   	int3
40dc48:	cc                   	int3
40dc49:	cc                   	int3
40dc4a:	cc                   	int3
40dc4b:	cc                   	int3
40dc4c:	cc                   	int3
40dc4d:	cc                   	int3
40dc4e:	cc                   	int3
40dc4f:	cc                   	int3
40dc50:	8b ff                	mov    %edi,%edi
40dc52:	55                   	push   %ebp
40dc53:	8b ec                	mov    %esp,%ebp
40dc55:	51                   	push   %ecx
40dc56:	53                   	push   %ebx
40dc57:	8b 5d 08             	mov    0x8(%ebp),%ebx
40dc5a:	56                   	push   %esi
40dc5b:	57                   	push   %edi
40dc5c:	8b f1                	mov    %ecx,%esi
40dc5e:	53                   	push   %ebx
40dc5f:	89 75 fc             	mov    %esi,-0x4(%ebp)
40dc62:	ff 15 00 c3 42 00    	call   *0x42c300
40dc68:	8d 56 0c             	lea    0xc(%esi),%edx
40dc6b:	c7 06 bc 10 40 00    	movl   $0x4010bc,(%esi)
40dc71:	6a 14                	push   $0x14
40dc73:	8d 43 0c             	lea    0xc(%ebx),%eax
40dc76:	8b fa                	mov    %edx,%edi
40dc78:	59                   	pop    %ecx
40dc79:	8b f0                	mov    %eax,%esi
40dc7b:	83 c0 50             	add    $0x50,%eax
40dc7e:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
40dc80:	50                   	push   %eax
40dc81:	8d 4a 50             	lea    0x50(%edx),%ecx
40dc84:	e8 91 f8 ff ff       	call   0x40d51a
40dc89:	8b 75 fc             	mov    -0x4(%ebp),%esi
40dc8c:	8d 43 64             	lea    0x64(%ebx),%eax
40dc8f:	50                   	push   %eax
40dc90:	8d 4e 64             	lea    0x64(%esi),%ecx
40dc93:	e8 82 f8 ff ff       	call   0x40d51a
40dc98:	5f                   	pop    %edi
40dc99:	8b c6                	mov    %esi,%eax
40dc9b:	5e                   	pop    %esi
40dc9c:	5b                   	pop    %ebx
40dc9d:	c9                   	leave
40dc9e:	c2 04 00             	ret    $0x4
40dca1:	8b ff                	mov    %edi,%edi
40dca3:	55                   	push   %ebp
40dca4:	8b ec                	mov    %esp,%ebp
40dca6:	83 ec 20             	sub    $0x20,%esp
40dca9:	8b 45 08             	mov    0x8(%ebp),%eax
40dcac:	89 45 f8             	mov    %eax,-0x8(%ebp)
40dcaf:	8b 45 0c             	mov    0xc(%ebp),%eax
40dcb2:	89 45 f0             	mov    %eax,-0x10(%ebp)
40dcb5:	8b 45 10             	mov    0x10(%ebp),%eax
40dcb8:	89 45 f4             	mov    %eax,-0xc(%ebp)
40dcbb:	8b 45 14             	mov    0x14(%ebp),%eax
40dcbe:	53                   	push   %ebx
40dcbf:	8b 5d 28             	mov    0x28(%ebp),%ebx
40dcc2:	89 45 ec             	mov    %eax,-0x14(%ebp)
40dcc5:	8b 45 30             	mov    0x30(%ebp),%eax
40dcc8:	56                   	push   %esi
40dcc9:	8b 75 38             	mov    0x38(%ebp),%esi
40dccc:	57                   	push   %edi
40dccd:	33 ff                	xor    %edi,%edi
40dccf:	89 45 e0             	mov    %eax,-0x20(%ebp)
40dcd2:	66 89 3b             	mov    %di,(%ebx)
40dcd5:	c6 00 00             	movb   $0x0,(%eax)
40dcd8:	33 c0                	xor    %eax,%eax
40dcda:	89 45 fc             	mov    %eax,-0x4(%ebp)
40dcdd:	8b 45 18             	mov    0x18(%ebp),%eax
40dce0:	2b c7                	sub    %edi,%eax
40dce2:	89 55 e8             	mov    %edx,-0x18(%ebp)
40dce5:	8b 7d 1c             	mov    0x1c(%ebp),%edi
40dce8:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
40dceb:	74 46                	je     0x40dd33
40dced:	83 e8 01             	sub    $0x1,%eax
40dcf0:	74 38                	je     0x40dd2a
40dcf2:	83 e8 01             	sub    $0x1,%eax
40dcf5:	74 0d                	je     0x40dd04
40dcf7:	83 e8 01             	sub    $0x1,%eax
40dcfa:	75 41                	jne    0x40dd3d
40dcfc:	57                   	push   %edi
40dcfd:	e8 1e f9 ff ff       	call   0x40d620
40dd02:	eb 36                	jmp    0x40dd3a
40dd04:	85 ff                	test   %edi,%edi
40dd06:	78 19                	js     0x40dd21
40dd08:	bf 9c 02 07 80       	mov    $0x8007029c,%edi
40dd0d:	57                   	push   %edi
40dd0e:	6a 02                	push   $0x2
40dd10:	ff 75 ec             	push   -0x14(%ebp)
40dd13:	ff 75 f4             	push   -0xc(%ebp)
40dd16:	ff 75 f0             	push   -0x10(%ebp)
40dd19:	ff 75 f8             	push   -0x8(%ebp)
40dd1c:	e8 fe 02 00 00       	call   0x40e01f
40dd21:	8b cf                	mov    %edi,%ecx
40dd23:	e8 e3 f8 ff ff       	call   0x40d60b
40dd28:	eb 10                	jmp    0x40dd3a
40dd2a:	8b cf                	mov    %edi,%ecx
40dd2c:	e8 c7 f8 ff ff       	call   0x40d5f8
40dd31:	eb 07                	jmp    0x40dd3a
40dd33:	8b cf                	mov    %edi,%ecx
40dd35:	e8 ab f8 ff ff       	call   0x40d5e5
40dd3a:	89 45 fc             	mov    %eax,-0x4(%ebp)
40dd3d:	8b 45 18             	mov    0x18(%ebp),%eax
40dd40:	89 06                	mov    %eax,(%esi)
40dd42:	33 c0                	xor    %eax,%eax
40dd44:	89 7e 04             	mov    %edi,0x4(%esi)
40dd47:	40                   	inc    %eax
40dd48:	f0 0f c1 05 b0 ba 42 	lock xadd %eax,0x42bab0
40dd4f:	00
40dd50:	40                   	inc    %eax
40dd51:	89 46 08             	mov    %eax,0x8(%esi)
40dd54:	8b 45 20             	mov    0x20(%ebp),%eax
40dd57:	85 c0                	test   %eax,%eax
40dd59:	74 07                	je     0x40dd62
40dd5b:	33 c9                	xor    %ecx,%ecx
40dd5d:	66 39 08             	cmp    %cx,(%eax)
40dd60:	75 02                	jne    0x40dd64
40dd62:	33 c0                	xor    %eax,%eax
40dd64:	89 46 0c             	mov    %eax,0xc(%esi)
40dd67:	ff 15 74 c2 42 00    	call   *0x42c274
40dd6d:	89 46 10             	mov    %eax,0x10(%esi)
40dd70:	8d 7e 2c             	lea    0x2c(%esi),%edi
40dd73:	8b 45 f8             	mov    -0x8(%ebp),%eax
40dd76:	33 d2                	xor    %edx,%edx
40dd78:	89 46 1c             	mov    %eax,0x1c(%esi)
40dd7b:	8b 45 e8             	mov    -0x18(%ebp),%eax
40dd7e:	89 46 20             	mov    %eax,0x20(%esi)
40dd81:	8b 45 fc             	mov    -0x4(%ebp),%eax
40dd84:	89 46 24             	mov    %eax,0x24(%esi)
40dd87:	8b 45 f4             	mov    -0xc(%ebp),%eax
40dd8a:	89 46 14             	mov    %eax,0x14(%esi)
40dd8d:	8b 45 f0             	mov    -0x10(%ebp),%eax
40dd90:	89 46 18             	mov    %eax,0x18(%esi)
40dd93:	8b 45 ec             	mov    -0x14(%ebp),%eax
40dd96:	89 46 48             	mov    %eax,0x48(%esi)
40dd99:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40dd9c:	89 46 4c             	mov    %eax,0x4c(%esi)
40dd9f:	33 c0                	xor    %eax,%eax
40dda1:	6a 06                	push   $0x6
40dda3:	59                   	pop    %ecx
40dda4:	89 56 28             	mov    %edx,0x28(%esi)
40dda7:	f3 ab                	rep stos %eax,%es:(%edi)
40dda9:	8b 3d 40 bb 42 00    	mov    0x42bb40,%edi
40ddaf:	85 ff                	test   %edi,%edi
40ddb1:	74 0a                	je     0x40ddbd
40ddb3:	8b cf                	mov    %edi,%ecx
40ddb5:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40ddbb:	ff d7                	call   *%edi
40ddbd:	8b 3d 48 bb 42 00    	mov    0x42bb48,%edi
40ddc3:	89 46 44             	mov    %eax,0x44(%esi)
40ddc6:	85 ff                	test   %edi,%edi
40ddc8:	74 13                	je     0x40dddd
40ddca:	68 00 04 00 00       	push   $0x400
40ddcf:	ff 75 e0             	push   -0x20(%ebp)
40ddd2:	8b cf                	mov    %edi,%ecx
40ddd4:	56                   	push   %esi
40ddd5:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40dddb:	ff d7                	call   *%edi
40dddd:	8b 3d 44 bb 42 00    	mov    0x42bb44,%edi
40dde3:	85 ff                	test   %edi,%edi
40dde5:	74 0b                	je     0x40ddf2
40dde7:	56                   	push   %esi
40dde8:	8b cf                	mov    %edi,%ecx
40ddea:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40ddf0:	ff d7                	call   *%edi
40ddf2:	8b 3d 1c bb 42 00    	mov    0x42bb1c,%edi
40ddf8:	85 ff                	test   %edi,%edi
40ddfa:	74 0b                	je     0x40de07
40ddfc:	56                   	push   %esi
40ddfd:	8b cf                	mov    %edi,%ecx
40ddff:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40de05:	ff d7                	call   *%edi
40de07:	33 c0                	xor    %eax,%eax
40de09:	39 46 04             	cmp    %eax,0x4(%esi)
40de0c:	7c 11                	jl     0x40de1f
40de0e:	83 7d 18 03          	cmpl   $0x3,0x18(%ebp)
40de12:	0f 85 bc 00 00 00    	jne    0x40ded4
40de18:	c7 46 04 ff ff 00 80 	movl   $0x8000ffff,0x4(%esi)
40de1f:	38 05 59 bb 42 00    	cmp    %al,0x42bb59
40de25:	75 4a                	jne    0x40de71
40de27:	8b 3d 5c bb 42 00    	mov    0x42bb5c,%edi
40de2d:	85 ff                	test   %edi,%edi
40de2f:	74 0f                	je     0x40de40
40de31:	8b cf                	mov    %edi,%ecx
40de33:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40de39:	ff d7                	call   *%edi
40de3b:	0f b6 c0             	movzbl %al,%eax
40de3e:	eb 0c                	jmp    0x40de4c
40de40:	ff 15 b4 c1 42 00    	call   *0x42c1b4
40de46:	f7 d8                	neg    %eax
40de48:	1b c0                	sbb    %eax,%eax
40de4a:	f7 d8                	neg    %eax
40de4c:	85 c0                	test   %eax,%eax
40de4e:	75 21                	jne    0x40de71
40de50:	8b 3d 60 bb 42 00    	mov    0x42bb60,%edi
40de56:	85 ff                	test   %edi,%edi
40de58:	74 56                	je     0x40deb0
40de5a:	38 05 50 bb 42 00    	cmp    %al,0x42bb50
40de60:	75 4e                	jne    0x40deb0
40de62:	50                   	push   %eax
40de63:	50                   	push   %eax
40de64:	56                   	push   %esi
40de65:	8b cf                	mov    %edi,%ecx
40de67:	ff 15 d4 c4 42 00    	call   *0x42c4d4
40de6d:	ff d7                	call   *%edi
40de6f:	eb 3f                	jmp    0x40deb0
40de71:	8b 3d 60 bb 42 00    	mov    0x42bb60,%edi
40de77:	85 ff                	test   %edi,%edi
40de79:	74 1a                	je     0x40de95
40de7b:	80 3d 50 bb 42 00 00 	cmpb   $0x0,0x42bb50
40de82:	75 11                	jne    0x40de95
40de84:	68 00 08 00 00       	push   $0x800