405005:	8b 48 0c             	mov    0xc(%eax),%ecx
405008:	3b f9                	cmp    %ecx,%edi
40500a:	72 09                	jb     0x405015
40500c:	8b 58 08             	mov    0x8(%eax),%ebx
40500f:	03 d9                	add    %ecx,%ebx
405011:	3b fb                	cmp    %ebx,%edi
405013:	72 0a                	jb     0x40501f
405015:	42                   	inc    %edx
405016:	83 c0 28             	add    $0x28,%eax
405019:	3b d6                	cmp    %esi,%edx
40501b:	72 e8                	jb     0x405005
40501d:	33 c0                	xor    %eax,%eax
40501f:	5f                   	pop    %edi
405020:	5e                   	pop    %esi
405021:	5b                   	pop    %ebx
405022:	5d                   	pop    %ebp
405023:	c3                   	ret
405024:	cc                   	int3
405025:	cc                   	int3
405026:	cc                   	int3
405027:	cc                   	int3
405028:	cc                   	int3
405029:	cc                   	int3
40502a:	cc                   	int3
40502b:	cc                   	int3
40502c:	cc                   	int3
40502d:	cc                   	int3
40502e:	cc                   	int3
40502f:	cc                   	int3
405030:	8b ff                	mov    %edi,%edi
405032:	55                   	push   %ebp
405033:	8b ec                	mov    %esp,%ebp
405035:	6a fe                	push   $0xfffffffe
405037:	68 18 a6 40 00       	push   $0x40a618
40503c:	68 d0 3c 40 00       	push   $0x403cd0
405041:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
405047:	50                   	push   %eax
405048:	83 ec 08             	sub    $0x8,%esp
40504b:	53                   	push   %ebx
40504c:	56                   	push   %esi
40504d:	57                   	push   %edi
40504e:	a1 04 b0 40 00       	mov    0x40b004,%eax
405053:	31 45 f8             	xor    %eax,-0x8(%ebp)
405056:	33 c5                	xor    %ebp,%eax
405058:	50                   	push   %eax
405059:	8d 45 f0             	lea    -0x10(%ebp),%eax
40505c:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
405062:	89 65 e8             	mov    %esp,-0x18(%ebp)
405065:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
40506c:	68 00 00 40 00       	push   $0x400000
405071:	e8 2a ff ff ff       	call   0x404fa0
405076:	83 c4 04             	add    $0x4,%esp
405079:	85 c0                	test   %eax,%eax
40507b:	74 55                	je     0x4050d2
40507d:	8b 45 08             	mov    0x8(%ebp),%eax
405080:	2d 00 00 40 00       	sub    $0x400000,%eax
405085:	50                   	push   %eax
405086:	68 00 00 40 00       	push   $0x400000
40508b:	e8 50 ff ff ff       	call   0x404fe0
405090:	83 c4 08             	add    $0x8,%esp
405093:	85 c0                	test   %eax,%eax
405095:	74 3b                	je     0x4050d2
405097:	8b 40 24             	mov    0x24(%eax),%eax
40509a:	c1 e8 1f             	shr    $0x1f,%eax
40509d:	f7 d0                	not    %eax
40509f:	83 e0 01             	and    $0x1,%eax
4050a2:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
4050a9:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4050ac:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
4050b3:	59                   	pop    %ecx
4050b4:	5f                   	pop    %edi
4050b5:	5e                   	pop    %esi
4050b6:	5b                   	pop    %ebx
4050b7:	8b e5                	mov    %ebp,%esp
4050b9:	5d                   	pop    %ebp
4050ba:	c3                   	ret
4050bb:	8b 45 ec             	mov    -0x14(%ebp),%eax
4050be:	8b 08                	mov    (%eax),%ecx
4050c0:	8b 01                	mov    (%ecx),%eax
4050c2:	33 d2                	xor    %edx,%edx
4050c4:	3d 05 00 00 c0       	cmp    $0xc0000005,%eax
4050c9:	0f 94 c2             	sete   %dl
4050cc:	8b c2                	mov    %edx,%eax
4050ce:	c3                   	ret
4050cf:	8b 65 e8             	mov    -0x18(%ebp),%esp
4050d2:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
4050d9:	33 c0                	xor    %eax,%eax
4050db:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4050de:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
4050e5:	59                   	pop    %ecx
4050e6:	5f                   	pop    %edi
4050e7:	5e                   	pop    %esi
4050e8:	5b                   	pop    %ebx
4050e9:	8b e5                	mov    %ebp,%esp
4050eb:	5d                   	pop    %ebp
4050ec:	c3                   	ret
4050ed:	8b ff                	mov    %edi,%edi
4050ef:	55                   	push   %ebp
4050f0:	8b ec                	mov    %esp,%ebp
4050f2:	8b 45 08             	mov    0x8(%ebp),%eax
4050f5:	a3 78 cf 45 00       	mov    %eax,0x45cf78
4050fa:	a3 7c cf 45 00       	mov    %eax,0x45cf7c
4050ff:	a3 80 cf 45 00       	mov    %eax,0x45cf80
405104:	a3 84 cf 45 00       	mov    %eax,0x45cf84
405109:	5d                   	pop    %ebp
40510a:	c3                   	ret
40510b:	8b ff                	mov    %edi,%edi
40510d:	55                   	push   %ebp
40510e:	8b ec                	mov    %esp,%ebp
405110:	8b 45 08             	mov    0x8(%ebp),%eax
405113:	8b 0d d4 b0 40 00    	mov    0x40b0d4,%ecx
405119:	56                   	push   %esi
40511a:	39 50 04             	cmp    %edx,0x4(%eax)
40511d:	74 0f                	je     0x40512e
40511f:	8b f1                	mov    %ecx,%esi
405121:	6b f6 0c             	imul   $0xc,%esi,%esi
405124:	03 75 08             	add    0x8(%ebp),%esi
405127:	83 c0 0c             	add    $0xc,%eax
40512a:	3b c6                	cmp    %esi,%eax
40512c:	72 ec                	jb     0x40511a
40512e:	6b c9 0c             	imul   $0xc,%ecx,%ecx
405131:	03 4d 08             	add    0x8(%ebp),%ecx
405134:	5e                   	pop    %esi
405135:	3b c1                	cmp    %ecx,%eax
405137:	73 05                	jae    0x40513e
405139:	39 50 04             	cmp    %edx,0x4(%eax)
40513c:	74 02                	je     0x405140
40513e:	33 c0                	xor    %eax,%eax
405140:	5d                   	pop    %ebp
405141:	c3                   	ret
405142:	ff 35 80 cf 45 00    	push   0x45cf80
405148:	e8 d2 e5 ff ff       	call   0x40371f
40514d:	59                   	pop    %ecx
40514e:	c3                   	ret
40514f:	6a 20                	push   $0x20
405151:	68 38 a6 40 00       	push   $0x40a638
405156:	e8 19 eb ff ff       	call   0x403c74
40515b:	33 ff                	xor    %edi,%edi
40515d:	89 7d e4             	mov    %edi,-0x1c(%ebp)
405160:	89 7d d8             	mov    %edi,-0x28(%ebp)
405163:	8b 5d 08             	mov    0x8(%ebp),%ebx
405166:	83 fb 0b             	cmp    $0xb,%ebx
405169:	7f 4c                	jg     0x4051b7
40516b:	74 15                	je     0x405182
40516d:	8b c3                	mov    %ebx,%eax
40516f:	6a 02                	push   $0x2
405171:	59                   	pop    %ecx
405172:	2b c1                	sub    %ecx,%eax
405174:	74 22                	je     0x405198
405176:	2b c1                	sub    %ecx,%eax
405178:	74 08                	je     0x405182
40517a:	2b c1                	sub    %ecx,%eax
40517c:	74 64                	je     0x4051e2
40517e:	2b c1                	sub    %ecx,%eax
405180:	75 44                	jne    0x4051c6
405182:	e8 6b e7 ff ff       	call   0x4038f2
405187:	8b f8                	mov    %eax,%edi
405189:	89 7d d8             	mov    %edi,-0x28(%ebp)
40518c:	85 ff                	test   %edi,%edi
40518e:	75 14                	jne    0x4051a4
405190:	83 c8 ff             	or     $0xffffffff,%eax
405193:	e9 61 01 00 00       	jmp    0x4052f9
405198:	be 78 cf 45 00       	mov    $0x45cf78,%esi
40519d:	a1 78 cf 45 00       	mov    0x45cf78,%eax
4051a2:	eb 60                	jmp    0x405204
4051a4:	ff 77 5c             	push   0x5c(%edi)
4051a7:	8b d3                	mov    %ebx,%edx
4051a9:	e8 5d ff ff ff       	call   0x40510b
4051ae:	8b f0                	mov    %eax,%esi
4051b0:	83 c6 08             	add    $0x8,%esi
4051b3:	8b 06                	mov    (%esi),%eax
4051b5:	eb 5a                	jmp    0x405211
4051b7:	8b c3                	mov    %ebx,%eax
4051b9:	83 e8 0f             	sub    $0xf,%eax
4051bc:	74 3c                	je     0x4051fa
4051be:	83 e8 06             	sub    $0x6,%eax
4051c1:	74 2b                	je     0x4051ee
4051c3:	48                   	dec    %eax
4051c4:	74 1c                	je     0x4051e2
4051c6:	e8 8e f9 ff ff       	call   0x404b59
4051cb:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4051d1:	33 c0                	xor    %eax,%eax
4051d3:	50                   	push   %eax
4051d4:	50                   	push   %eax
4051d5:	50                   	push   %eax
4051d6:	50                   	push   %eax
4051d7:	50                   	push   %eax
4051d8:	e8 14 f9 ff ff       	call   0x404af1
4051dd:	83 c4 14             	add    $0x14,%esp
4051e0:	eb ae                	jmp    0x405190
4051e2:	be 80 cf 45 00       	mov    $0x45cf80,%esi
4051e7:	a1 80 cf 45 00       	mov    0x45cf80,%eax
4051ec:	eb 16                	jmp    0x405204
4051ee:	be 7c cf 45 00       	mov    $0x45cf7c,%esi
4051f3:	a1 7c cf 45 00       	mov    0x45cf7c,%eax
4051f8:	eb 0a                	jmp    0x405204
4051fa:	be 84 cf 45 00       	mov    $0x45cf84,%esi
4051ff:	a1 84 cf 45 00       	mov    0x45cf84,%eax
405204:	c7 45 e4 01 00 00 00 	movl   $0x1,-0x1c(%ebp)
40520b:	50                   	push   %eax
40520c:	e8 0e e5 ff ff       	call   0x40371f
405211:	89 45 e0             	mov    %eax,-0x20(%ebp)
405214:	59                   	pop    %ecx
405215:	33 c0                	xor    %eax,%eax
405217:	83 7d e0 01          	cmpl   $0x1,-0x20(%ebp)
40521b:	0f 84 d8 00 00 00    	je     0x4052f9
405221:	39 45 e0             	cmp    %eax,-0x20(%ebp)
405224:	75 07                	jne    0x40522d
405226:	6a 03                	push   $0x3
405228:	e8 90 da ff ff       	call   0x402cbd
40522d:	39 45 e4             	cmp    %eax,-0x1c(%ebp)
405230:	74 07                	je     0x405239
405232:	50                   	push   %eax
405233:	e8 d3 fb ff ff       	call   0x404e0b
405238:	59                   	pop    %ecx
405239:	33 c0                	xor    %eax,%eax
40523b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40523e:	83 fb 08             	cmp    $0x8,%ebx
405241:	74 0a                	je     0x40524d
405243:	83 fb 0b             	cmp    $0xb,%ebx
405246:	74 05                	je     0x40524d
405248:	83 fb 04             	cmp    $0x4,%ebx
40524b:	75 1b                	jne    0x405268
40524d:	8b 4f 60             	mov    0x60(%edi),%ecx
405250:	89 4d d4             	mov    %ecx,-0x2c(%ebp)
405253:	89 47 60             	mov    %eax,0x60(%edi)
405256:	83 fb 08             	cmp    $0x8,%ebx
405259:	75 40                	jne    0x40529b
40525b:	8b 4f 64             	mov    0x64(%edi),%ecx
40525e:	89 4d d0             	mov    %ecx,-0x30(%ebp)
405261:	c7 47 64 8c 00 00 00 	movl   $0x8c,0x64(%edi)
405268:	83 fb 08             	cmp    $0x8,%ebx
40526b:	75 2e                	jne    0x40529b
40526d:	8b 0d c8 b0 40 00    	mov    0x40b0c8,%ecx
405273:	89 4d dc             	mov    %ecx,-0x24(%ebp)
405276:	8b 0d cc b0 40 00    	mov    0x40b0cc,%ecx
40527c:	8b 15 c8 b0 40 00    	mov    0x40b0c8,%edx
405282:	03 ca                	add    %edx,%ecx
405284:	39 4d dc             	cmp    %ecx,-0x24(%ebp)
405287:	7d 19                	jge    0x4052a2
405289:	8b 4d dc             	mov    -0x24(%ebp),%ecx
40528c:	6b c9 0c             	imul   $0xc,%ecx,%ecx
40528f:	8b 57 5c             	mov    0x5c(%edi),%edx
405292:	89 44 11 08          	mov    %eax,0x8(%ecx,%edx,1)
405296:	ff 45 dc             	incl   -0x24(%ebp)
405299:	eb db                	jmp    0x405276
40529b:	e8 76 e4 ff ff       	call   0x403716
4052a0:	89 06                	mov    %eax,(%esi)
4052a2:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
4052a9:	e8 15 00 00 00       	call   0x4052c3
4052ae:	83 fb 08             	cmp    $0x8,%ebx
4052b1:	75 1f                	jne    0x4052d2
4052b3:	ff 77 64             	push   0x64(%edi)
4052b6:	53                   	push   %ebx
4052b7:	ff 55 e0             	call   *-0x20(%ebp)
4052ba:	59                   	pop    %ecx
4052bb:	eb 19                	jmp    0x4052d6
4052bd:	8b 5d 08             	mov    0x8(%ebp),%ebx
4052c0:	8b 7d d8             	mov    -0x28(%ebp),%edi
4052c3:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)
4052c7:	74 08                	je     0x4052d1
4052c9:	6a 00                	push   $0x0
4052cb:	e8 61 fa ff ff       	call   0x404d31
4052d0:	59                   	pop    %ecx
4052d1:	c3                   	ret
4052d2:	53                   	push   %ebx
4052d3:	ff 55 e0             	call   *-0x20(%ebp)
4052d6:	59                   	pop    %ecx
4052d7:	83 fb 08             	cmp    $0x8,%ebx
4052da:	74 0a                	je     0x4052e6
4052dc:	83 fb 0b             	cmp    $0xb,%ebx
4052df:	74 05                	je     0x4052e6
4052e1:	83 fb 04             	cmp    $0x4,%ebx
4052e4:	75 11                	jne    0x4052f7
4052e6:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4052e9:	89 47 60             	mov    %eax,0x60(%edi)
4052ec:	83 fb 08             	cmp    $0x8,%ebx
4052ef:	75 06                	jne    0x4052f7
4052f1:	8b 45 d0             	mov    -0x30(%ebp),%eax
4052f4:	89 47 64             	mov    %eax,0x64(%edi)
4052f7:	33 c0                	xor    %eax,%eax
4052f9:	e8 bb e9 ff ff       	call   0x403cb9
4052fe:	c3                   	ret
4052ff:	8b ff                	mov    %edi,%edi
405301:	55                   	push   %ebp
405302:	8b ec                	mov    %esp,%ebp
405304:	8b 45 08             	mov    0x8(%ebp),%eax
405307:	a3 8c cf 45 00       	mov    %eax,0x45cf8c
40530c:	5d                   	pop    %ebp
40530d:	c3                   	ret
40530e:	8b ff                	mov    %edi,%edi
405310:	55                   	push   %ebp
405311:	8b ec                	mov    %esp,%ebp
405313:	8b 45 08             	mov    0x8(%ebp),%eax
405316:	a3 98 cf 45 00       	mov    %eax,0x45cf98
40531b:	5d                   	pop    %ebp
40531c:	c3                   	ret
40531d:	8b ff                	mov    %edi,%edi
40531f:	55                   	push   %ebp
405320:	8b ec                	mov    %esp,%ebp
405322:	8b 45 08             	mov    0x8(%ebp),%eax
405325:	a3 9c cf 45 00       	mov    %eax,0x45cf9c
40532a:	5d                   	pop    %ebp
40532b:	c3                   	ret
40532c:	6a 10                	push   $0x10
40532e:	68 58 a6 40 00       	push   $0x40a658
405333:	e8 3c e9 ff ff       	call   0x403c74
405338:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40533c:	ff 75 0c             	push   0xc(%ebp)
40533f:	ff 75 08             	push   0x8(%ebp)
405342:	ff 15 00 11 40 00    	call   *0x401100
405348:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40534b:	eb 2f                	jmp    0x40537c
40534d:	8b 45 ec             	mov    -0x14(%ebp),%eax
405350:	8b 00                	mov    (%eax),%eax
405352:	8b 00                	mov    (%eax),%eax
405354:	89 45 e0             	mov    %eax,-0x20(%ebp)
405357:	33 c9                	xor    %ecx,%ecx
405359:	3d 17 00 00 c0       	cmp    $0xc0000017,%eax
40535e:	0f 94 c1             	sete   %cl
405361:	8b c1                	mov    %ecx,%eax
405363:	c3                   	ret
405364:	8b 65 e8             	mov    -0x18(%ebp),%esp
405367:	81 7d e0 17 00 00 c0 	cmpl   $0xc0000017,-0x20(%ebp)
40536e:	75 08                	jne    0x405378
405370:	6a 08                	push   $0x8
405372:	ff 15 c0 10 40 00    	call   *0x4010c0
405378:	83 65 e4 00          	andl   $0x0,-0x1c(%ebp)
40537c:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
405383:	8b 45 e4             	mov    -0x1c(%ebp),%eax
405386:	e8 2e e9 ff ff       	call   0x403cb9
40538b:	c3                   	ret
40538c:	8b ff                	mov    %edi,%edi
40538e:	55                   	push   %ebp
40538f:	8b ec                	mov    %esp,%ebp
405391:	8b 45 08             	mov    0x8(%ebp),%eax
405394:	a3 a0 cf 45 00       	mov    %eax,0x45cfa0
405399:	5d                   	pop    %ebp
40539a:	c3                   	ret
40539b:	8b ff                	mov    %edi,%edi
40539d:	55                   	push   %ebp
40539e:	8b ec                	mov    %esp,%ebp
4053a0:	ff 35 a0 cf 45 00    	push   0x45cfa0
4053a6:	e8 74 e3 ff ff       	call   0x40371f
4053ab:	59                   	pop    %ecx
4053ac:	85 c0                	test   %eax,%eax
4053ae:	74 0f                	je     0x4053bf
4053b0:	ff 75 08             	push   0x8(%ebp)
4053b3:	ff d0                	call   *%eax
4053b5:	59                   	pop    %ecx