40c8fc:	89 75 e8             	mov    %esi,-0x18(%ebp)
40c8ff:	50                   	push   %eax
40c900:	8d 45 f8             	lea    -0x8(%ebp),%eax
40c903:	50                   	push   %eax
40c904:	8d 45 dc             	lea    -0x24(%ebp),%eax
40c907:	50                   	push   %eax
40c908:	e8 d3 00 00 00       	call   0x40c9e0
40c90d:	8b f8                	mov    %eax,%edi
40c90f:	8b 45 f4             	mov    -0xc(%ebp),%eax
40c912:	48                   	dec    %eax
40c913:	89 45 f4             	mov    %eax,-0xc(%ebp)
40c916:	85 ff                	test   %edi,%edi
40c918:	0f 84 92 fe ff ff    	je     0x40c7b0
40c91e:	e9 55 ff ff ff       	jmp    0x40c878
40c923:	8b 40 1c             	mov    0x1c(%eax),%eax
40c926:	eb a8                	jmp    0x40c8d0
40c928:	cc                   	int3
40c929:	cc                   	int3
40c92a:	cc                   	int3
40c92b:	cc                   	int3
40c92c:	cc                   	int3
40c92d:	cc                   	int3
40c92e:	cc                   	int3
40c92f:	cc                   	int3
40c930:	8b ff                	mov    %edi,%edi
40c932:	55                   	push   %ebp
40c933:	8b ec                	mov    %esp,%ebp
40c935:	6a ff                	push   $0xffffffff
40c937:	68 50 2c 42 00       	push   $0x422c50
40c93c:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40c942:	50                   	push   %eax
40c943:	51                   	push   %ecx
40c944:	53                   	push   %ebx
40c945:	56                   	push   %esi
40c946:	57                   	push   %edi
40c947:	a1 54 02 45 00       	mov    0x450254,%eax
40c94c:	33 c5                	xor    %ebp,%eax
40c94e:	50                   	push   %eax
40c94f:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c952:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40c958:	8b f1                	mov    %ecx,%esi
40c95a:	8b 7d 08             	mov    0x8(%ebp),%edi
40c95d:	8b 4f 18             	mov    0x18(%edi),%ecx
40c960:	8b 47 1c             	mov    0x1c(%edi),%eax
40c963:	8b 5f 20             	mov    0x20(%edi),%ebx
40c966:	85 c9                	test   %ecx,%ecx
40c968:	0f 85 61 85 01 00    	jne    0x424ecf
40c96e:	85 c0                	test   %eax,%eax
40c970:	75 4c                	jne    0x40c9be
40c972:	85 db                	test   %ebx,%ebx
40c974:	75 4d                	jne    0x40c9c3
40c976:	8b 47 18             	mov    0x18(%edi),%eax
40c979:	85 c0                	test   %eax,%eax
40c97b:	75 03                	jne    0x40c980
40c97d:	8b 47 1c             	mov    0x1c(%edi),%eax
40c980:	89 06                	mov    %eax,(%esi)
40c982:	c7 45 fc ff ff ff ff 	movl   $0xffffffff,-0x4(%ebp)
40c989:	8b 46 08             	mov    0x8(%esi),%eax
40c98c:	8b 40 04             	mov    0x4(%eax),%eax
40c98f:	85 c0                	test   %eax,%eax
40c991:	74 44                	je     0x40c9d7
40c993:	57                   	push   %edi
40c994:	6a 00                	push   $0x0
40c996:	50                   	push   %eax
40c997:	ff 15 70 10 45 00    	call   *0x451070
40c99d:	85 c0                	test   %eax,%eax
40c99f:	0f 84 d7 85 01 00    	je     0x424f7c
40c9a5:	ff 4e 04             	decl   0x4(%esi)
40c9a8:	33 c0                	xor    %eax,%eax
40c9aa:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40c9ad:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40c9b4:	59                   	pop    %ecx
40c9b5:	5f                   	pop    %edi
40c9b6:	5e                   	pop    %esi
40c9b7:	5b                   	pop    %ebx
40c9b8:	8b e5                	mov    %ebp,%esp
40c9ba:	5d                   	pop    %ebp
40c9bb:	c2 04 00             	ret    $0x4
40c9be:	89 58 20             	mov    %ebx,0x20(%eax)
40c9c1:	eb af                	jmp    0x40c972
40c9c3:	39 7b 18             	cmp    %edi,0x18(%ebx)
40c9c6:	0f 85 a2 85 01 00    	jne    0x424f6e
40c9cc:	85 c9                	test   %ecx,%ecx
40c9ce:	75 02                	jne    0x40c9d2
40c9d0:	8b c8                	mov    %eax,%ecx
40c9d2:	89 4b 18             	mov    %ecx,0x18(%ebx)
40c9d5:	eb ab                	jmp    0x40c982
40c9d7:	b8 02 00 00 80       	mov    $0x80000002,%eax
40c9dc:	eb cc                	jmp    0x40c9aa
40c9de:	cc                   	int3
40c9df:	cc                   	int3
40c9e0:	8b ff                	mov    %edi,%edi
40c9e2:	55                   	push   %ebp
40c9e3:	8b ec                	mov    %esp,%ebp
40c9e5:	6a ff                	push   $0xffffffff
40c9e7:	68 70 2c 42 00       	push   $0x422c70
40c9ec:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40c9f2:	50                   	push   %eax
40c9f3:	83 ec 18             	sub    $0x18,%esp
40c9f6:	53                   	push   %ebx
40c9f7:	56                   	push   %esi
40c9f8:	57                   	push   %edi
40c9f9:	a1 54 02 45 00       	mov    0x450254,%eax
40c9fe:	33 c5                	xor    %ebp,%eax
40ca00:	50                   	push   %eax
40ca01:	8d 45 f4             	lea    -0xc(%ebp),%eax
40ca04:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40ca0a:	89 65 f0             	mov    %esp,-0x10(%ebp)
40ca0d:	8b f1                	mov    %ecx,%esi
40ca0f:	89 75 ec             	mov    %esi,-0x14(%ebp)
40ca12:	8b 3e                	mov    (%esi),%edi
40ca14:	85 ff                	test   %edi,%edi
40ca16:	0f 84 f8 00 00 00    	je     0x40cb14
40ca1c:	8b 5d 08             	mov    0x8(%ebp),%ebx
40ca1f:	90                   	nop
40ca20:	85 ff                	test   %edi,%edi
40ca22:	0f 84 0b 86 01 00    	je     0x425033
40ca28:	8b 0b                	mov    (%ebx),%ecx
40ca2a:	8b 57 08             	mov    0x8(%edi),%edx
40ca2d:	3b ca                	cmp    %edx,%ecx
40ca2f:	0f 85 6d 85 01 00    	jne    0x424fa2
40ca35:	8b 43 08             	mov    0x8(%ebx),%eax
40ca38:	3b 47 10             	cmp    0x10(%edi),%eax
40ca3b:	75 0c                	jne    0x40ca49
40ca3d:	8b 43 0c             	mov    0xc(%ebx),%eax
40ca40:	3b 47 14             	cmp    0x14(%edi),%eax
40ca43:	0f 84 4f 85 01 00    	je     0x424f98
40ca49:	3b ca                	cmp    %edx,%ecx
40ca4b:	0f 85 51 85 01 00    	jne    0x424fa2
40ca51:	8b 4b 0c             	mov    0xc(%ebx),%ecx
40ca54:	8b 57 10             	mov    0x10(%edi),%edx
40ca57:	8b 47 14             	mov    0x14(%edi),%eax
40ca5a:	39 53 08             	cmp    %edx,0x8(%ebx)
40ca5d:	75 04                	jne    0x40ca63
40ca5f:	3b c8                	cmp    %eax,%ecx
40ca61:	74 13                	je     0x40ca76
40ca63:	3b c8                	cmp    %eax,%ecx
40ca65:	7f 0f                	jg     0x40ca76
40ca67:	0f 8c 2f 01 00 00    	jl     0x40cb9c
40ca6d:	39 53 08             	cmp    %edx,0x8(%ebx)
40ca70:	0f 82 26 01 00 00    	jb     0x40cb9c
40ca76:	8b 47 1c             	mov    0x1c(%edi),%eax
40ca79:	85 c0                	test   %eax,%eax
40ca7b:	0f 85 82 85 01 00    	jne    0x425003
40ca81:	8b 46 08             	mov    0x8(%esi),%eax
40ca84:	8b 48 08             	mov    0x8(%eax),%ecx
40ca87:	83 e1 05             	and    $0x5,%ecx
40ca8a:	83 c9 08             	or     $0x8,%ecx
40ca8d:	8b 40 04             	mov    0x4(%eax),%eax
40ca90:	85 c0                	test   %eax,%eax
40ca92:	0f 84 61 85 01 00    	je     0x424ff9
40ca98:	6a 28                	push   $0x28
40ca9a:	51                   	push   %ecx
40ca9b:	50                   	push   %eax
40ca9c:	ff 15 78 10 45 00    	call   *0x451078
40caa2:	8b c8                	mov    %eax,%ecx
40caa4:	89 4d e8             	mov    %ecx,-0x18(%ebp)
40caa7:	85 c9                	test   %ecx,%ecx
40caa9:	0f 84 05 85 01 00    	je     0x424fb4
40caaf:	c7 41 20 00 00 00 00 	movl   $0x0,0x20(%ecx)
40cab6:	c7 41 1c 00 00 00 00 	movl   $0x0,0x1c(%ecx)
40cabd:	c7 41 18 00 00 00 00 	movl   $0x0,0x18(%ecx)
40cac4:	c7 45 fc 04 00 00 00 	movl   $0x4,-0x4(%ebp)
40cacb:	8b 45 0c             	mov    0xc(%ebp),%eax
40cace:	8b 00                	mov    (%eax),%eax
40cad0:	89 01                	mov    %eax,(%ecx)
40cad2:	8b 03                	mov    (%ebx),%eax
40cad4:	89 41 08             	mov    %eax,0x8(%ecx)
40cad7:	8b 43 04             	mov    0x4(%ebx),%eax
40cada:	89 41 0c             	mov    %eax,0xc(%ecx)
40cadd:	8b 43 08             	mov    0x8(%ebx),%eax
40cae0:	89 41 10             	mov    %eax,0x10(%ecx)
40cae3:	8b 43 0c             	mov    0xc(%ebx),%eax
40cae6:	89 41 14             	mov    %eax,0x14(%ecx)
40cae9:	c7 45 fc ff ff ff ff 	movl   $0xffffffff,-0x4(%ebp)
40caf0:	8b 45 10             	mov    0x10(%ebp),%eax
40caf3:	89 08                	mov    %ecx,(%eax)
40caf5:	89 79 20             	mov    %edi,0x20(%ecx)
40caf8:	89 4f 1c             	mov    %ecx,0x1c(%edi)
40cafb:	ff 46 04             	incl   0x4(%esi)
40cafe:	33 c0                	xor    %eax,%eax
40cb00:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40cb03:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40cb0a:	59                   	pop    %ecx
40cb0b:	5f                   	pop    %edi
40cb0c:	5e                   	pop    %esi
40cb0d:	5b                   	pop    %ebx
40cb0e:	8b e5                	mov    %ebp,%esp
40cb10:	5d                   	pop    %ebp
40cb11:	c2 0c 00             	ret    $0xc
40cb14:	8b 46 08             	mov    0x8(%esi),%eax
40cb17:	8b 48 08             	mov    0x8(%eax),%ecx
40cb1a:	83 e1 05             	and    $0x5,%ecx
40cb1d:	83 c9 08             	or     $0x8,%ecx
40cb20:	33 ff                	xor    %edi,%edi
40cb22:	8b 40 04             	mov    0x4(%eax),%eax
40cb25:	85 c0                	test   %eax,%eax
40cb27:	0f 84 59 85 01 00    	je     0x425086
40cb2d:	6a 28                	push   $0x28
40cb2f:	51                   	push   %ecx
40cb30:	50                   	push   %eax
40cb31:	ff 15 78 10 45 00    	call   *0x451078
40cb37:	8b d0                	mov    %eax,%edx
40cb39:	89 55 e8             	mov    %edx,-0x18(%ebp)
40cb3c:	85 d2                	test   %edx,%edx
40cb3e:	0f 84 f9 84 01 00    	je     0x42503d
40cb44:	89 7a 20             	mov    %edi,0x20(%edx)
40cb47:	89 7a 1c             	mov    %edi,0x1c(%edx)
40cb4a:	89 7a 18             	mov    %edi,0x18(%edx)
40cb4d:	c7 45 fc 08 00 00 00 	movl   $0x8,-0x4(%ebp)
40cb54:	8b 45 0c             	mov    0xc(%ebp),%eax
40cb57:	8b 00                	mov    (%eax),%eax
40cb59:	89 02                	mov    %eax,(%edx)
40cb5b:	8b 4d 08             	mov    0x8(%ebp),%ecx
40cb5e:	8b 01                	mov    (%ecx),%eax
40cb60:	89 42 08             	mov    %eax,0x8(%edx)
40cb63:	8b 41 04             	mov    0x4(%ecx),%eax
40cb66:	89 42 0c             	mov    %eax,0xc(%edx)
40cb69:	8b 41 08             	mov    0x8(%ecx),%eax
40cb6c:	89 42 10             	mov    %eax,0x10(%edx)
40cb6f:	8b 41 0c             	mov    0xc(%ecx),%eax
40cb72:	89 42 14             	mov    %eax,0x14(%edx)
40cb75:	c7 45 fc ff ff ff ff 	movl   $0xffffffff,-0x4(%ebp)
40cb7c:	8b 45 10             	mov    0x10(%ebp),%eax
40cb7f:	89 10                	mov    %edx,(%eax)
40cb81:	89 16                	mov    %edx,(%esi)
40cb83:	ff 46 04             	incl   0x4(%esi)
40cb86:	8b c7                	mov    %edi,%eax
40cb88:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40cb8b:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40cb92:	59                   	pop    %ecx
40cb93:	5f                   	pop    %edi
40cb94:	5e                   	pop    %esi
40cb95:	5b                   	pop    %ebx
40cb96:	8b e5                	mov    %ebp,%esp
40cb98:	5d                   	pop    %ebp
40cb99:	c2 0c 00             	ret    $0xc
40cb9c:	8b 47 18             	mov    0x18(%edi),%eax
40cb9f:	85 c0                	test   %eax,%eax
40cba1:	0f 85 06 84 01 00    	jne    0x424fad
40cba7:	8b 46 08             	mov    0x8(%esi),%eax
40cbaa:	8b 48 08             	mov    0x8(%eax),%ecx
40cbad:	83 e1 05             	and    $0x5,%ecx
40cbb0:	83 c9 08             	or     $0x8,%ecx
40cbb3:	8b 40 04             	mov    0x4(%eax),%eax
40cbb6:	85 c0                	test   %eax,%eax
40cbb8:	0f 84 3b 84 01 00    	je     0x424ff9
40cbbe:	6a 28                	push   $0x28
40cbc0:	51                   	push   %ecx
40cbc1:	50                   	push   %eax
40cbc2:	ff 15 78 10 45 00    	call   *0x451078
40cbc8:	8b c8                	mov    %eax,%ecx
40cbca:	89 4d e8             	mov    %ecx,-0x18(%ebp)
40cbcd:	85 c9                	test   %ecx,%ecx
40cbcf:	0f 84 df 83 01 00    	je     0x424fb4
40cbd5:	c7 41 20 00 00 00 00 	movl   $0x0,0x20(%ecx)
40cbdc:	c7 41 1c 00 00 00 00 	movl   $0x0,0x1c(%ecx)
40cbe3:	c7 41 18 00 00 00 00 	movl   $0x0,0x18(%ecx)
40cbea:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
40cbf1:	8b 45 0c             	mov    0xc(%ebp),%eax
40cbf4:	8b 00                	mov    (%eax),%eax
40cbf6:	89 01                	mov    %eax,(%ecx)
40cbf8:	8b 03                	mov    (%ebx),%eax
40cbfa:	89 41 08             	mov    %eax,0x8(%ecx)
40cbfd:	8b 43 04             	mov    0x4(%ebx),%eax
40cc00:	89 41 0c             	mov    %eax,0xc(%ecx)
40cc03:	8b 43 08             	mov    0x8(%ebx),%eax
40cc06:	89 41 10             	mov    %eax,0x10(%ecx)
40cc09:	8b 43 0c             	mov    0xc(%ebx),%eax
40cc0c:	89 41 14             	mov    %eax,0x14(%ecx)
40cc0f:	c7 45 fc ff ff ff ff 	movl   $0xffffffff,-0x4(%ebp)
40cc16:	8b 45 10             	mov    0x10(%ebp),%eax
40cc19:	89 08                	mov    %ecx,(%eax)
40cc1b:	89 79 20             	mov    %edi,0x20(%ecx)
40cc1e:	89 4f 18             	mov    %ecx,0x18(%edi)
40cc21:	ff 46 04             	incl   0x4(%esi)
40cc24:	33 c0                	xor    %eax,%eax
40cc26:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40cc29:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40cc30:	59                   	pop    %ecx
40cc31:	5f                   	pop    %edi
40cc32:	5e                   	pop    %esi
40cc33:	5b                   	pop    %ebx
40cc34:	8b e5                	mov    %ebp,%esp
40cc36:	5d                   	pop    %ebp
40cc37:	c2 0c 00             	ret    $0xc
40cc3a:	cc                   	int3
40cc3b:	cc                   	int3
40cc3c:	cc                   	int3
40cc3d:	cc                   	int3
40cc3e:	cc                   	int3
40cc3f:	cc                   	int3
40cc40:	8b ff                	mov    %edi,%edi
40cc42:	55                   	push   %ebp
40cc43:	8b ec                	mov    %esp,%ebp
40cc45:	83 79 04 00          	cmpl   $0x0,0x4(%ecx)
40cc49:	75 09                	jne    0x40cc54
40cc4b:	b8 02 00 00 80       	mov    $0x80000002,%eax
40cc50:	5d                   	pop    %ebp
40cc51:	c2 08 00             	ret    $0x8
40cc54:	56                   	push   %esi
40cc55:	8b 31                	mov    (%ecx),%esi
40cc57:	85 f6                	test   %esi,%esi
40cc59:	74 07                	je     0x40cc62
40cc5b:	8b 46 18             	mov    0x18(%esi),%eax
40cc5e:	85 c0                	test   %eax,%eax
40cc60:	75 2e                	jne    0x40cc90
40cc62:	8b 55 08             	mov    0x8(%ebp),%edx
40cc65:	8b 46 08             	mov    0x8(%esi),%eax
40cc68:	89 02                	mov    %eax,(%edx)
40cc6a:	33 c0                	xor    %eax,%eax
40cc6c:	8b 4e 0c             	mov    0xc(%esi),%ecx
40cc6f:	89 4a 04             	mov    %ecx,0x4(%edx)
40cc72:	8b 4e 10             	mov    0x10(%esi),%ecx
40cc75:	89 4a 08             	mov    %ecx,0x8(%edx)
40cc78:	8b 4e 14             	mov    0x14(%esi),%ecx
40cc7b:	89 4a 0c             	mov    %ecx,0xc(%edx)
40cc7e:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40cc81:	8b 16                	mov    (%esi),%edx
40cc83:	5e                   	pop    %esi
40cc84:	89 11                	mov    %edx,(%ecx)
40cc86:	5d                   	pop    %ebp
40cc87:	c2 08 00             	ret    $0x8
40cc8a:	8d 9b 00 00 00 00    	lea    0x0(%ebx),%ebx
40cc90:	8b f0                	mov    %eax,%esi
40cc92:	8b 46 18             	mov    0x18(%esi),%eax
40cc95:	85 c0                	test   %eax,%eax
40cc97:	74 c9                	je     0x40cc62
40cc99:	eb f5                	jmp    0x40cc90
40cc9b:	cc                   	int3
40cc9c:	cc                   	int3
40cc9d:	cc                   	int3
40cc9e:	cc                   	int3
40cc9f:	cc                   	int3
40cca0:	8b ff                	mov    %edi,%edi
40cca2:	55                   	push   %ebp
40cca3:	8b ec                	mov    %esp,%ebp
40cca5:	53                   	push   %ebx
40cca6:	56                   	push   %esi
40cca7:	8b 75 08             	mov    0x8(%ebp),%esi
40ccaa:	83 cb ff             	or     $0xffffffff,%ebx
40ccad:	f0 0f c1 5e 0c       	lock xadd %ebx,0xc(%esi)
40ccb2:	4b                   	dec    %ebx
40ccb3:	75 19                	jne    0x40ccce
40ccb5:	85 f6                	test   %esi,%esi
40ccb7:	74 15                	je     0x40ccce
40ccb9:	8b 0e                	mov    (%esi),%ecx
40ccbb:	57                   	push   %edi
40ccbc:	6a 01                	push   $0x1
40ccbe:	8b 79 0c             	mov    0xc(%ecx),%edi