4051c6:	04 00 c0
4051c9:	c7 85 dc fc ff ff 01 	movl   $0x1,-0x324(%ebp)
4051d0:	00 00 00
4051d3:	89 85 e4 fc ff ff    	mov    %eax,-0x31c(%ebp)
4051d9:	ff 15 b0 a0 41 00    	call   *0x41a0b0
4051df:	6a 00                	push   $0x0
4051e1:	8b d8                	mov    %eax,%ebx
4051e3:	ff 15 ac a0 41 00    	call   *0x41a0ac
4051e9:	8d 85 28 fd ff ff    	lea    -0x2d8(%ebp),%eax
4051ef:	50                   	push   %eax
4051f0:	ff 15 a8 a0 41 00    	call   *0x41a0a8
4051f6:	85 c0                	test   %eax,%eax
4051f8:	75 0c                	jne    0x405206
4051fa:	85 db                	test   %ebx,%ebx
4051fc:	75 08                	jne    0x405206
4051fe:	6a 02                	push   $0x2
405200:	e8 e5 54 00 00       	call   0x40a6ea
405205:	59                   	pop    %ecx
405206:	68 17 04 00 c0       	push   $0xc0000417
40520b:	ff 15 a4 a0 41 00    	call   *0x41a0a4
405211:	50                   	push   %eax
405212:	ff 15 a0 a0 41 00    	call   *0x41a0a0
405218:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40521b:	33 cd                	xor    %ebp,%ecx
40521d:	5b                   	pop    %ebx
40521e:	e8 03 14 00 00       	call   0x406626
405223:	c9                   	leave
405224:	c3                   	ret
405225:	8b ff                	mov    %edi,%edi
405227:	55                   	push   %ebp
405228:	8b ec                	mov    %esp,%ebp
40522a:	ff 35 dc 07 43 00    	push   0x4307dc
405230:	e8 c0 55 00 00       	call   0x40a7f5
405235:	59                   	pop    %ecx
405236:	85 c0                	test   %eax,%eax
405238:	74 03                	je     0x40523d
40523a:	5d                   	pop    %ebp
40523b:	ff e0                	jmp    *%eax
40523d:	6a 02                	push   $0x2
40523f:	e8 a6 54 00 00       	call   0x40a6ea
405244:	59                   	pop    %ecx
405245:	5d                   	pop    %ebp
405246:	e9 b2 fe ff ff       	jmp    0x4050fd
40524b:	33 c0                	xor    %eax,%eax
40524d:	50                   	push   %eax
40524e:	50                   	push   %eax
40524f:	50                   	push   %eax
405250:	50                   	push   %eax
405251:	50                   	push   %eax
405252:	e8 ce ff ff ff       	call   0x405225
405257:	83 c4 14             	add    $0x14,%esp
40525a:	c3                   	ret
40525b:	6a 0c                	push   $0xc
40525d:	68 10 95 42 00       	push   $0x429510
405262:	e8 75 51 00 00       	call   0x40a3dc
405267:	33 db                	xor    %ebx,%ebx
405269:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40526c:	33 c0                	xor    %eax,%eax
40526e:	8b 7d 08             	mov    0x8(%ebp),%edi
405271:	3b fb                	cmp    %ebx,%edi
405273:	0f 95 c0             	setne  %al
405276:	3b c3                	cmp    %ebx,%eax
405278:	75 1c                	jne    0x405296
40527a:	e8 56 08 00 00       	call   0x405ad5
40527f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
405285:	53                   	push   %ebx
405286:	53                   	push   %ebx
405287:	53                   	push   %ebx
405288:	53                   	push   %ebx
405289:	53                   	push   %ebx
40528a:	e8 96 ff ff ff       	call   0x405225
40528f:	83 c4 14             	add    $0x14,%esp
405292:	33 c0                	xor    %eax,%eax
405294:	eb 79                	jmp    0x40530f
405296:	33 c0                	xor    %eax,%eax
405298:	8b 75 0c             	mov    0xc(%ebp),%esi
40529b:	3b f3                	cmp    %ebx,%esi
40529d:	0f 95 c0             	setne  %al
4052a0:	3b c3                	cmp    %ebx,%eax
4052a2:	74 d6                	je     0x40527a
4052a4:	33 c0                	xor    %eax,%eax
4052a6:	38 1e                	cmp    %bl,(%esi)
4052a8:	0f 95 c0             	setne  %al
4052ab:	3b c3                	cmp    %ebx,%eax
4052ad:	74 cb                	je     0x40527a
4052af:	e8 e1 5e 00 00       	call   0x40b195
4052b4:	89 45 08             	mov    %eax,0x8(%ebp)
4052b7:	3b c3                	cmp    %ebx,%eax
4052b9:	75 0d                	jne    0x4052c8
4052bb:	e8 15 08 00 00       	call   0x405ad5
4052c0:	c7 00 18 00 00 00    	movl   $0x18,(%eax)
4052c6:	eb ca                	jmp    0x405292
4052c8:	89 5d fc             	mov    %ebx,-0x4(%ebp)
4052cb:	38 1f                	cmp    %bl,(%edi)
4052cd:	75 20                	jne    0x4052ef
4052cf:	e8 01 08 00 00       	call   0x405ad5
4052d4:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4052da:	6a fe                	push   $0xfffffffe
4052dc:	8d 45 f0             	lea    -0x10(%ebp),%eax
4052df:	50                   	push   %eax
4052e0:	68 68 b2 42 00       	push   $0x42b268
4052e5:	e8 e6 5f 00 00       	call   0x40b2d0
4052ea:	83 c4 0c             	add    $0xc,%esp
4052ed:	eb a3                	jmp    0x405292
4052ef:	50                   	push   %eax
4052f0:	ff 75 10             	push   0x10(%ebp)
4052f3:	56                   	push   %esi
4052f4:	57                   	push   %edi
4052f5:	e8 d2 5b 00 00       	call   0x40aecc
4052fa:	83 c4 10             	add    $0x10,%esp
4052fd:	89 45 e4             	mov    %eax,-0x1c(%ebp)
405300:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
405307:	e8 09 00 00 00       	call   0x405315
40530c:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40530f:	e8 0d 51 00 00       	call   0x40a421
405314:	c3                   	ret
405315:	ff 75 08             	push   0x8(%ebp)
405318:	e8 44 5b 00 00       	call   0x40ae61
40531d:	59                   	pop    %ecx
40531e:	c3                   	ret
40531f:	8b ff                	mov    %edi,%edi
405321:	55                   	push   %ebp
405322:	8b ec                	mov    %esp,%ebp
405324:	6a 40                	push   $0x40
405326:	ff 75 0c             	push   0xc(%ebp)
405329:	ff 75 08             	push   0x8(%ebp)
40532c:	e8 2a ff ff ff       	call   0x40525b
405331:	83 c4 0c             	add    $0xc,%esp
405334:	5d                   	pop    %ebp
405335:	c3                   	ret
405336:	8b ff                	mov    %edi,%edi
405338:	55                   	push   %ebp
405339:	8b ec                	mov    %esp,%ebp
40533b:	5d                   	pop    %ebp
40533c:	e9 df fc ff ff       	jmp    0x405020
405341:	cc                   	int3
405342:	cc                   	int3
405343:	cc                   	int3
405344:	cc                   	int3
405345:	cc                   	int3
405346:	cc                   	int3
405347:	cc                   	int3
405348:	cc                   	int3
405349:	cc                   	int3
40534a:	cc                   	int3
40534b:	cc                   	int3
40534c:	cc                   	int3
40534d:	cc                   	int3
40534e:	cc                   	int3
40534f:	cc                   	int3
405350:	83 3d 60 13 c7 00 00 	cmpl   $0x0,0xc71360
405357:	0f 84 82 00 00 00    	je     0x4053df
40535d:	83 ec 08             	sub    $0x8,%esp
405360:	0f ae 5c 24 04       	stmxcsr 0x4(%esp)
405365:	8b 44 24 04          	mov    0x4(%esp),%eax
405369:	25 80 1f 00 00       	and    $0x1f80,%eax
40536e:	3d 80 1f 00 00       	cmp    $0x1f80,%eax
405373:	75 0f                	jne    0x405384
405375:	d9 3c 24             	fnstcw (%esp)
405378:	66 8b 04 24          	mov    (%esp),%ax
40537c:	66 83 e0 7f          	and    $0x7f,%ax
405380:	66 83 f8 7f          	cmp    $0x7f,%ax
405384:	8d 64 24 08          	lea    0x8(%esp),%esp
405388:	75 55                	jne    0x4053df
40538a:	e9 c9 60 00 00       	jmp    0x40b458
40538f:	90                   	nop
405390:	83 3d 60 13 c7 00 00 	cmpl   $0x0,0xc71360
405397:	74 32                	je     0x4053cb
405399:	83 ec 08             	sub    $0x8,%esp
40539c:	0f ae 5c 24 04       	stmxcsr 0x4(%esp)
4053a1:	8b 44 24 04          	mov    0x4(%esp),%eax
4053a5:	25 80 1f 00 00       	and    $0x1f80,%eax
4053aa:	3d 80 1f 00 00       	cmp    $0x1f80,%eax
4053af:	75 0f                	jne    0x4053c0
4053b1:	d9 3c 24             	fnstcw (%esp)
4053b4:	66 8b 04 24          	mov    (%esp),%ax
4053b8:	66 83 e0 7f          	and    $0x7f,%ax
4053bc:	66 83 f8 7f          	cmp    $0x7f,%ax
4053c0:	8d 64 24 08          	lea    0x8(%esp),%esp
4053c4:	75 05                	jne    0x4053cb
4053c6:	e9 75 60 00 00       	jmp    0x40b440
4053cb:	83 ec 0c             	sub    $0xc,%esp
4053ce:	dd 14 24             	fstl   (%esp)
4053d1:	e8 02 69 00 00       	call   0x40bcd8
4053d6:	e8 0d 00 00 00       	call   0x4053e8
4053db:	83 c4 0c             	add    $0xc,%esp
4053de:	c3                   	ret
4053df:	8d 54 24 04          	lea    0x4(%esp),%edx
4053e3:	e8 ad 68 00 00       	call   0x40bc95
4053e8:	52                   	push   %edx
4053e9:	9b d9 3c 24          	fstcw  (%esp)
4053ed:	74 6d                	je     0x40545c
4053ef:	66 81 3c 24 7f 02    	cmpw   $0x27f,(%esp)
4053f5:	74 05                	je     0x4053fc
4053f7:	e8 69 68 00 00       	call   0x40bc65
4053fc:	3d 00 00 f0 3f       	cmp    $0x3ff00000,%eax
405401:	73 2d                	jae    0x405430
405403:	d9 e8                	fld1
405405:	d8 c1                	fadd   %st(1),%st
405407:	d9 e8                	fld1
405409:	d8 e2                	fsub   %st(2),%st
40540b:	de c9                	fmulp  %st,%st(1)
40540d:	d9 fa                	fsqrt
40540f:	d9 c9                	fxch   %st(1)
405411:	d9 f3                	fpatan
405413:	83 3d 78 09 43 00 00 	cmpl   $0x0,0x430978
40541a:	0f 85 ce 68 00 00    	jne    0x40bcee
405420:	ba 0d 00 00 00       	mov    $0xd,%edx
405425:	8d 0d c0 b0 42 00    	lea    0x42b0c0,%ecx
40542b:	e9 cb 68 00 00       	jmp    0x40bcfb
405430:	77 38                	ja     0x40546a
405432:	8b 44 24 0c          	mov    0xc(%esp),%eax
405436:	8b c8                	mov    %eax,%ecx
405438:	25 ff ff 0f 00       	and    $0xfffff,%eax
40543d:	0b 44 24 08          	or     0x8(%esp),%eax
405441:	75 27                	jne    0x40546a
405443:	81 e1 00 00 00 80    	and    $0x80000000,%ecx
405449:	dd d8                	fstp   %st(0)
40544b:	74 04                	je     0x405451
40544d:	d9 eb                	fldpi
40544f:	eb c2                	jmp    0x405413
405451:	d9 ee                	fldz
405453:	eb be                	jmp    0x405413
405455:	e8 22 68 00 00       	call   0x40bc7c
40545a:	eb 1b                	jmp    0x405477
40545c:	a9 ff ff 0f 00       	test   $0xfffff,%eax
405461:	75 f2                	jne    0x405455
405463:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
405468:	75 eb                	jne    0x405455
40546a:	dd d8                	fstp   %st(0)
40546c:	db 2d 40 b6 42 00    	fldt   0x42b640
405472:	b8 01 00 00 00       	mov    $0x1,%eax
405477:	83 3d 78 09 43 00 00 	cmpl   $0x0,0x430978
40547e:	0f 85 6a 68 00 00    	jne    0x40bcee
405484:	ba 0d 00 00 00       	mov    $0xd,%edx
405489:	8d 0d c0 b0 42 00    	lea    0x42b0c0,%ecx
40548f:	e8 73 67 00 00       	call   0x40bc07
405494:	5a                   	pop    %edx
405495:	c3                   	ret
405496:	8b ff                	mov    %edi,%edi
405498:	55                   	push   %ebp
405499:	8b ec                	mov    %esp,%ebp
40549b:	56                   	push   %esi
40549c:	8b 75 14             	mov    0x14(%ebp),%esi
40549f:	57                   	push   %edi
4054a0:	33 ff                	xor    %edi,%edi
4054a2:	3b f7                	cmp    %edi,%esi
4054a4:	75 04                	jne    0x4054aa
4054a6:	33 c0                	xor    %eax,%eax
4054a8:	eb 65                	jmp    0x40550f
4054aa:	39 7d 08             	cmp    %edi,0x8(%ebp)
4054ad:	75 1b                	jne    0x4054ca
4054af:	e8 21 06 00 00       	call   0x405ad5
4054b4:	6a 16                	push   $0x16
4054b6:	5e                   	pop    %esi
4054b7:	89 30                	mov    %esi,(%eax)
4054b9:	57                   	push   %edi
4054ba:	57                   	push   %edi
4054bb:	57                   	push   %edi
4054bc:	57                   	push   %edi
4054bd:	57                   	push   %edi
4054be:	e8 62 fd ff ff       	call   0x405225
4054c3:	83 c4 14             	add    $0x14,%esp
4054c6:	8b c6                	mov    %esi,%eax
4054c8:	eb 45                	jmp    0x40550f
4054ca:	39 7d 10             	cmp    %edi,0x10(%ebp)
4054cd:	74 16                	je     0x4054e5
4054cf:	39 75 0c             	cmp    %esi,0xc(%ebp)
4054d2:	72 11                	jb     0x4054e5
4054d4:	56                   	push   %esi
4054d5:	ff 75 10             	push   0x10(%ebp)
4054d8:	ff 75 08             	push   0x8(%ebp)
4054db:	e8 20 2c 00 00       	call   0x408100
4054e0:	83 c4 0c             	add    $0xc,%esp
4054e3:	eb c1                	jmp    0x4054a6
4054e5:	ff 75 0c             	push   0xc(%ebp)
4054e8:	57                   	push   %edi
4054e9:	ff 75 08             	push   0x8(%ebp)
4054ec:	e8 0f 52 00 00       	call   0x40a700
4054f1:	83 c4 0c             	add    $0xc,%esp
4054f4:	39 7d 10             	cmp    %edi,0x10(%ebp)
4054f7:	74 b6                	je     0x4054af
4054f9:	39 75 0c             	cmp    %esi,0xc(%ebp)
4054fc:	73 0e                	jae    0x40550c
4054fe:	e8 d2 05 00 00       	call   0x405ad5
405503:	6a 22                	push   $0x22
405505:	59                   	pop    %ecx
405506:	89 08                	mov    %ecx,(%eax)
405508:	8b f1                	mov    %ecx,%esi
40550a:	eb ad                	jmp    0x4054b9
40550c:	6a 16                	push   $0x16
40550e:	58                   	pop    %eax
40550f:	5f                   	pop    %edi
405510:	5e                   	pop    %esi
405511:	5d                   	pop    %ebp
405512:	c3                   	ret
405513:	8b ff                	mov    %edi,%edi
405515:	55                   	push   %ebp
405516:	8b ec                	mov    %esp,%ebp
405518:	83 ec 0c             	sub    $0xc,%esp
40551b:	53                   	push   %ebx
40551c:	57                   	push   %edi
40551d:	8b 7d 08             	mov    0x8(%ebp),%edi
405520:	33 db                	xor    %ebx,%ebx
405522:	3b fb                	cmp    %ebx,%edi
405524:	75 20                	jne    0x405546
405526:	e8 aa 05 00 00       	call   0x405ad5
40552b:	53                   	push   %ebx
40552c:	53                   	push   %ebx
40552d:	53                   	push   %ebx
40552e:	53                   	push   %ebx
40552f:	53                   	push   %ebx
405530:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
405536:	e8 ea fc ff ff       	call   0x405225
40553b:	83 c4 14             	add    $0x14,%esp
40553e:	83 c8 ff             	or     $0xffffffff,%eax
405541:	e9 66 01 00 00       	jmp    0x4056ac
405546:	57                   	push   %edi
405547:	e8 35 6c 00 00       	call   0x40c181
40554c:	39 5f 04             	cmp    %ebx,0x4(%edi)
40554f:	59                   	pop    %ecx
405550:	89 45 fc             	mov    %eax,-0x4(%ebp)
405553:	7d 03                	jge    0x405558
405555:	89 5f 04             	mov    %ebx,0x4(%edi)
405558:	6a 01                	push   $0x1
40555a:	53                   	push   %ebx
40555b:	50                   	push   %eax
40555c:	e8 44 6b 00 00       	call   0x40c0a5
405561:	83 c4 0c             	add    $0xc,%esp
405564:	3b c3                	cmp    %ebx,%eax
405566:	89 45 f8             	mov    %eax,-0x8(%ebp)
405569:	7c d3                	jl     0x40553e
40556b:	8b 57 0c             	mov    0xc(%edi),%edx
40556e:	f7 c2 08 01 00 00    	test   $0x108,%edx
405574:	75 08                	jne    0x40557e
405576:	2b 47 04             	sub    0x4(%edi),%eax
405579:	e9 2e 01 00 00       	jmp    0x4056ac
40557e:	8b 07                	mov    (%edi),%eax
405580:	8b 4f 08             	mov    0x8(%edi),%ecx
405583:	56                   	push   %esi
405584:	8b f0                	mov    %eax,%esi
405586:	2b f1                	sub    %ecx,%esi
405588:	89 75 f4             	mov    %esi,-0xc(%ebp)
40558b:	f6 c2 03             	test   $0x3,%dl
40558e:	74 41                	je     0x4055d1
405590:	8b 55 fc             	mov    -0x4(%ebp),%edx
405593:	8b 75 fc             	mov    -0x4(%ebp),%esi
405596:	c1 fa 05             	sar    $0x5,%edx
405599:	8b 14 95 60 12 c7 00 	mov    0xc71260(,%edx,4),%edx
4055a0:	83 e6 1f             	and    $0x1f,%esi