41025f:	ff 15 58 a1 41 00    	call   *0x41a158
410265:	85 c0                	test   %eax,%eax
410267:	0f 84 93 00 00 00    	je     0x410300
41026d:	8b 45 0c             	mov    0xc(%ebp),%eax
410270:	85 c0                	test   %eax,%eax
410272:	74 13                	je     0x410287
410274:	66 8b 4e 18          	mov    0x18(%esi),%cx
410278:	66 89 08             	mov    %cx,(%eax)
41027b:	66 8b 4e 1c          	mov    0x1c(%esi),%cx
41027f:	66 89 48 02          	mov    %cx,0x2(%eax)
410283:	66 89 78 04          	mov    %di,0x4(%eax)
410287:	8b 5d 10             	mov    0x10(%ebp),%ebx
41028a:	85 db                	test   %ebx,%ebx
41028c:	74 6d                	je     0x4102fb
41028e:	8b 3d 50 a1 41 00    	mov    0x41a150,%edi
410294:	b9 14 08 00 00       	mov    $0x814,%ecx
410299:	66 39 08             	cmp    %cx,(%eax)
41029c:	75 25                	jne    0x4102c3
41029e:	68 18 d5 41 00       	push   $0x41d518
4102a3:	6a 40                	push   $0x40
4102a5:	53                   	push   %ebx
4102a6:	e8 0c 93 ff ff       	call   0x4095b7
4102ab:	83 c4 0c             	add    $0xc,%esp
4102ae:	85 c0                	test   %eax,%eax
4102b0:	74 22                	je     0x4102d4
4102b2:	33 c0                	xor    %eax,%eax
4102b4:	50                   	push   %eax
4102b5:	50                   	push   %eax
4102b6:	50                   	push   %eax
4102b7:	50                   	push   %eax
4102b8:	50                   	push   %eax
4102b9:	e8 3f 4e ff ff       	call   0x4050fd
4102be:	83 c4 14             	add    $0x14,%esp
4102c1:	eb 11                	jmp    0x4102d4
4102c3:	6a 40                	push   $0x40
4102c5:	53                   	push   %ebx
4102c6:	68 01 10 00 00       	push   $0x1001
4102cb:	ff 76 18             	push   0x18(%esi)
4102ce:	ff d7                	call   *%edi
4102d0:	85 c0                	test   %eax,%eax
4102d2:	74 2c                	je     0x410300
4102d4:	6a 40                	push   $0x40
4102d6:	8d 43 40             	lea    0x40(%ebx),%eax
4102d9:	50                   	push   %eax
4102da:	68 02 10 00 00       	push   $0x1002
4102df:	ff 76 1c             	push   0x1c(%esi)
4102e2:	ff d7                	call   *%edi
4102e4:	85 c0                	test   %eax,%eax
4102e6:	74 18                	je     0x410300
4102e8:	6a 0a                	push   $0xa
4102ea:	6a 10                	push   $0x10
4102ec:	83 eb 80             	sub    $0xffffff80,%ebx
4102ef:	53                   	push   %ebx
4102f0:	ff 75 08             	push   0x8(%ebp)
4102f3:	e8 27 77 ff ff       	call   0x407a1f
4102f8:	83 c4 10             	add    $0x10,%esp
4102fb:	33 c0                	xor    %eax,%eax
4102fd:	40                   	inc    %eax
4102fe:	eb 02                	jmp    0x410302
410300:	33 c0                	xor    %eax,%eax
410302:	5f                   	pop    %edi
410303:	5e                   	pop    %esi
410304:	5b                   	pop    %ebx
410305:	5d                   	pop    %ebp
410306:	c3                   	ret
410307:	8b ff                	mov    %edi,%edi
410309:	55                   	push   %ebp
41030a:	8b ec                	mov    %esp,%ebp
41030c:	56                   	push   %esi
41030d:	57                   	push   %edi
41030e:	8b 7d 10             	mov    0x10(%ebp),%edi
410311:	8b c7                	mov    %edi,%eax
410313:	83 e8 00             	sub    $0x0,%eax
410316:	0f 84 e5 15 00 00    	je     0x411901
41031c:	48                   	dec    %eax
41031d:	0f 84 cd 15 00 00    	je     0x4118f0
410323:	48                   	dec    %eax
410324:	0f 84 98 15 00 00    	je     0x4118c2
41032a:	48                   	dec    %eax
41032b:	0f 84 49 15 00 00    	je     0x41187a
410331:	48                   	dec    %eax
410332:	0f 84 b9 14 00 00    	je     0x4117f1
410338:	8b 4d 0c             	mov    0xc(%ebp),%ecx
41033b:	8b 45 08             	mov    0x8(%ebp),%eax
41033e:	53                   	push   %ebx
41033f:	6a 20                	push   $0x20
410341:	5a                   	pop    %edx
410342:	e9 72 04 00 00       	jmp    0x4107b9
410347:	8b 30                	mov    (%eax),%esi
410349:	3b 31                	cmp    (%ecx),%esi
41034b:	74 7c                	je     0x4103c9
41034d:	0f b6 30             	movzbl (%eax),%esi
410350:	0f b6 19             	movzbl (%ecx),%ebx
410353:	2b f3                	sub    %ebx,%esi
410355:	74 15                	je     0x41036c
410357:	33 db                	xor    %ebx,%ebx
410359:	85 f6                	test   %esi,%esi
41035b:	0f 9f c3             	setg   %bl
41035e:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410362:	8b f3                	mov    %ebx,%esi
410364:	85 f6                	test   %esi,%esi
410366:	0f 85 69 04 00 00    	jne    0x4107d5
41036c:	0f b6 70 01          	movzbl 0x1(%eax),%esi
410370:	0f b6 59 01          	movzbl 0x1(%ecx),%ebx
410374:	2b f3                	sub    %ebx,%esi
410376:	74 15                	je     0x41038d
410378:	33 db                	xor    %ebx,%ebx
41037a:	85 f6                	test   %esi,%esi
41037c:	0f 9f c3             	setg   %bl
41037f:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410383:	8b f3                	mov    %ebx,%esi
410385:	85 f6                	test   %esi,%esi
410387:	0f 85 48 04 00 00    	jne    0x4107d5
41038d:	0f b6 70 02          	movzbl 0x2(%eax),%esi
410391:	0f b6 59 02          	movzbl 0x2(%ecx),%ebx
410395:	2b f3                	sub    %ebx,%esi
410397:	74 15                	je     0x4103ae
410399:	33 db                	xor    %ebx,%ebx
41039b:	85 f6                	test   %esi,%esi
41039d:	0f 9f c3             	setg   %bl
4103a0:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4103a4:	8b f3                	mov    %ebx,%esi
4103a6:	85 f6                	test   %esi,%esi
4103a8:	0f 85 27 04 00 00    	jne    0x4107d5
4103ae:	0f b6 70 03          	movzbl 0x3(%eax),%esi
4103b2:	0f b6 59 03          	movzbl 0x3(%ecx),%ebx
4103b6:	2b f3                	sub    %ebx,%esi
4103b8:	74 11                	je     0x4103cb
4103ba:	33 db                	xor    %ebx,%ebx
4103bc:	85 f6                	test   %esi,%esi
4103be:	0f 9f c3             	setg   %bl
4103c1:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4103c5:	8b f3                	mov    %ebx,%esi
4103c7:	eb 02                	jmp    0x4103cb
4103c9:	33 f6                	xor    %esi,%esi
4103cb:	85 f6                	test   %esi,%esi
4103cd:	0f 85 02 04 00 00    	jne    0x4107d5
4103d3:	8b 70 04             	mov    0x4(%eax),%esi
4103d6:	3b 71 04             	cmp    0x4(%ecx),%esi
4103d9:	74 7e                	je     0x410459
4103db:	0f b6 70 04          	movzbl 0x4(%eax),%esi
4103df:	0f b6 59 04          	movzbl 0x4(%ecx),%ebx
4103e3:	2b f3                	sub    %ebx,%esi
4103e5:	74 15                	je     0x4103fc
4103e7:	33 db                	xor    %ebx,%ebx
4103e9:	85 f6                	test   %esi,%esi
4103eb:	0f 9f c3             	setg   %bl
4103ee:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4103f2:	8b f3                	mov    %ebx,%esi
4103f4:	85 f6                	test   %esi,%esi
4103f6:	0f 85 d9 03 00 00    	jne    0x4107d5
4103fc:	0f b6 70 05          	movzbl 0x5(%eax),%esi
410400:	0f b6 59 05          	movzbl 0x5(%ecx),%ebx
410404:	2b f3                	sub    %ebx,%esi
410406:	74 15                	je     0x41041d
410408:	33 db                	xor    %ebx,%ebx
41040a:	85 f6                	test   %esi,%esi
41040c:	0f 9f c3             	setg   %bl
41040f:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410413:	8b f3                	mov    %ebx,%esi
410415:	85 f6                	test   %esi,%esi
410417:	0f 85 b8 03 00 00    	jne    0x4107d5
41041d:	0f b6 70 06          	movzbl 0x6(%eax),%esi
410421:	0f b6 59 06          	movzbl 0x6(%ecx),%ebx
410425:	2b f3                	sub    %ebx,%esi
410427:	74 15                	je     0x41043e
410429:	33 db                	xor    %ebx,%ebx
41042b:	85 f6                	test   %esi,%esi
41042d:	0f 9f c3             	setg   %bl
410430:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410434:	8b f3                	mov    %ebx,%esi
410436:	85 f6                	test   %esi,%esi
410438:	0f 85 97 03 00 00    	jne    0x4107d5
41043e:	0f b6 70 07          	movzbl 0x7(%eax),%esi
410442:	0f b6 59 07          	movzbl 0x7(%ecx),%ebx
410446:	2b f3                	sub    %ebx,%esi
410448:	74 11                	je     0x41045b
41044a:	33 db                	xor    %ebx,%ebx
41044c:	85 f6                	test   %esi,%esi
41044e:	0f 9f c3             	setg   %bl
410451:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410455:	8b f3                	mov    %ebx,%esi
410457:	eb 02                	jmp    0x41045b
410459:	33 f6                	xor    %esi,%esi
41045b:	85 f6                	test   %esi,%esi
41045d:	0f 85 72 03 00 00    	jne    0x4107d5
410463:	8b 70 08             	mov    0x8(%eax),%esi
410466:	3b 71 08             	cmp    0x8(%ecx),%esi
410469:	74 7e                	je     0x4104e9
41046b:	0f b6 70 08          	movzbl 0x8(%eax),%esi
41046f:	0f b6 59 08          	movzbl 0x8(%ecx),%ebx
410473:	2b f3                	sub    %ebx,%esi
410475:	74 15                	je     0x41048c
410477:	33 db                	xor    %ebx,%ebx
410479:	85 f6                	test   %esi,%esi
41047b:	0f 9f c3             	setg   %bl
41047e:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410482:	8b f3                	mov    %ebx,%esi
410484:	85 f6                	test   %esi,%esi
410486:	0f 85 49 03 00 00    	jne    0x4107d5
41048c:	0f b6 70 09          	movzbl 0x9(%eax),%esi
410490:	0f b6 59 09          	movzbl 0x9(%ecx),%ebx
410494:	2b f3                	sub    %ebx,%esi
410496:	74 15                	je     0x4104ad
410498:	33 db                	xor    %ebx,%ebx
41049a:	85 f6                	test   %esi,%esi
41049c:	0f 9f c3             	setg   %bl
41049f:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4104a3:	8b f3                	mov    %ebx,%esi
4104a5:	85 f6                	test   %esi,%esi
4104a7:	0f 85 28 03 00 00    	jne    0x4107d5
4104ad:	0f b6 70 0a          	movzbl 0xa(%eax),%esi
4104b1:	0f b6 59 0a          	movzbl 0xa(%ecx),%ebx
4104b5:	2b f3                	sub    %ebx,%esi
4104b7:	74 15                	je     0x4104ce
4104b9:	33 db                	xor    %ebx,%ebx
4104bb:	85 f6                	test   %esi,%esi
4104bd:	0f 9f c3             	setg   %bl
4104c0:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4104c4:	8b f3                	mov    %ebx,%esi
4104c6:	85 f6                	test   %esi,%esi
4104c8:	0f 85 07 03 00 00    	jne    0x4107d5
4104ce:	0f b6 70 0b          	movzbl 0xb(%eax),%esi
4104d2:	0f b6 59 0b          	movzbl 0xb(%ecx),%ebx
4104d6:	2b f3                	sub    %ebx,%esi
4104d8:	74 11                	je     0x4104eb
4104da:	33 db                	xor    %ebx,%ebx
4104dc:	85 f6                	test   %esi,%esi
4104de:	0f 9f c3             	setg   %bl
4104e1:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4104e5:	8b f3                	mov    %ebx,%esi
4104e7:	eb 02                	jmp    0x4104eb
4104e9:	33 f6                	xor    %esi,%esi
4104eb:	85 f6                	test   %esi,%esi
4104ed:	0f 85 e2 02 00 00    	jne    0x4107d5
4104f3:	8b 70 0c             	mov    0xc(%eax),%esi
4104f6:	3b 71 0c             	cmp    0xc(%ecx),%esi
4104f9:	74 7e                	je     0x410579
4104fb:	0f b6 70 0c          	movzbl 0xc(%eax),%esi
4104ff:	0f b6 59 0c          	movzbl 0xc(%ecx),%ebx
410503:	2b f3                	sub    %ebx,%esi
410505:	74 15                	je     0x41051c
410507:	33 db                	xor    %ebx,%ebx
410509:	85 f6                	test   %esi,%esi
41050b:	0f 9f c3             	setg   %bl
41050e:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410512:	8b f3                	mov    %ebx,%esi
410514:	85 f6                	test   %esi,%esi
410516:	0f 85 b9 02 00 00    	jne    0x4107d5
41051c:	0f b6 70 0d          	movzbl 0xd(%eax),%esi
410520:	0f b6 59 0d          	movzbl 0xd(%ecx),%ebx
410524:	2b f3                	sub    %ebx,%esi
410526:	74 15                	je     0x41053d
410528:	33 db                	xor    %ebx,%ebx
41052a:	85 f6                	test   %esi,%esi
41052c:	0f 9f c3             	setg   %bl
41052f:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410533:	8b f3                	mov    %ebx,%esi
410535:	85 f6                	test   %esi,%esi
410537:	0f 85 98 02 00 00    	jne    0x4107d5
41053d:	0f b6 70 0e          	movzbl 0xe(%eax),%esi
410541:	0f b6 59 0e          	movzbl 0xe(%ecx),%ebx
410545:	2b f3                	sub    %ebx,%esi
410547:	74 15                	je     0x41055e
410549:	33 db                	xor    %ebx,%ebx
41054b:	85 f6                	test   %esi,%esi
41054d:	0f 9f c3             	setg   %bl
410550:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410554:	8b f3                	mov    %ebx,%esi
410556:	85 f6                	test   %esi,%esi
410558:	0f 85 77 02 00 00    	jne    0x4107d5
41055e:	0f b6 70 0f          	movzbl 0xf(%eax),%esi
410562:	0f b6 59 0f          	movzbl 0xf(%ecx),%ebx
410566:	2b f3                	sub    %ebx,%esi
410568:	74 11                	je     0x41057b
41056a:	33 db                	xor    %ebx,%ebx
41056c:	85 f6                	test   %esi,%esi
41056e:	0f 9f c3             	setg   %bl
410571:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410575:	8b f3                	mov    %ebx,%esi
410577:	eb 02                	jmp    0x41057b
410579:	33 f6                	xor    %esi,%esi
41057b:	85 f6                	test   %esi,%esi
41057d:	0f 85 52 02 00 00    	jne    0x4107d5
410583:	8b 70 10             	mov    0x10(%eax),%esi
410586:	3b 71 10             	cmp    0x10(%ecx),%esi
410589:	74 7e                	je     0x410609
41058b:	0f b6 59 10          	movzbl 0x10(%ecx),%ebx
41058f:	0f b6 70 10          	movzbl 0x10(%eax),%esi
410593:	2b f3                	sub    %ebx,%esi
410595:	74 15                	je     0x4105ac
410597:	33 db                	xor    %ebx,%ebx
410599:	85 f6                	test   %esi,%esi
41059b:	0f 9f c3             	setg   %bl
41059e:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4105a2:	8b f3                	mov    %ebx,%esi
4105a4:	85 f6                	test   %esi,%esi
4105a6:	0f 85 29 02 00 00    	jne    0x4107d5
4105ac:	0f b6 70 11          	movzbl 0x11(%eax),%esi
4105b0:	0f b6 59 11          	movzbl 0x11(%ecx),%ebx
4105b4:	2b f3                	sub    %ebx,%esi
4105b6:	74 15                	je     0x4105cd
4105b8:	33 db                	xor    %ebx,%ebx
4105ba:	85 f6                	test   %esi,%esi
4105bc:	0f 9f c3             	setg   %bl
4105bf:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4105c3:	8b f3                	mov    %ebx,%esi
4105c5:	85 f6                	test   %esi,%esi
4105c7:	0f 85 08 02 00 00    	jne    0x4107d5
4105cd:	0f b6 70 12          	movzbl 0x12(%eax),%esi
4105d1:	0f b6 59 12          	movzbl 0x12(%ecx),%ebx
4105d5:	2b f3                	sub    %ebx,%esi
4105d7:	74 15                	je     0x4105ee
4105d9:	33 db                	xor    %ebx,%ebx
4105db:	85 f6                	test   %esi,%esi
4105dd:	0f 9f c3             	setg   %bl
4105e0:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
4105e4:	8b f3                	mov    %ebx,%esi
4105e6:	85 f6                	test   %esi,%esi
4105e8:	0f 85 e7 01 00 00    	jne    0x4107d5
4105ee:	0f b6 70 13          	movzbl 0x13(%eax),%esi
4105f2:	0f b6 59 13          	movzbl 0x13(%ecx),%ebx
4105f6:	2b f3                	sub    %ebx,%esi
4105f8:	74 11                	je     0x41060b
4105fa:	33 db                	xor    %ebx,%ebx
4105fc:	85 f6                	test   %esi,%esi
4105fe:	0f 9f c3             	setg   %bl
410601:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410605:	8b f3                	mov    %ebx,%esi
410607:	eb 02                	jmp    0x41060b
410609:	33 f6                	xor    %esi,%esi
41060b:	85 f6                	test   %esi,%esi
41060d:	0f 85 c2 01 00 00    	jne    0x4107d5
410613:	8b 70 14             	mov    0x14(%eax),%esi
410616:	3b 71 14             	cmp    0x14(%ecx),%esi
410619:	74 7e                	je     0x410699
41061b:	0f b6 70 14          	movzbl 0x14(%eax),%esi
41061f:	0f b6 59 14          	movzbl 0x14(%ecx),%ebx
410623:	2b f3                	sub    %ebx,%esi
410625:	74 15                	je     0x41063c
410627:	33 db                	xor    %ebx,%ebx
410629:	85 f6                	test   %esi,%esi
41062b:	0f 9f c3             	setg   %bl
41062e:	8d 5c 1b ff          	lea    -0x1(%ebx,%ebx,1),%ebx
410632:	8b f3                	mov    %ebx,%esi
410634:	85 f6                	test   %esi,%esi
410636:	0f 85 99 01 00 00    	jne    0x4107d5
41063c:	0f b6 70 15          	movzbl 0x15(%eax),%esi
410640:	0f b6 59 15          	movzbl 0x15(%ecx),%ebx
410644:	2b f3                	sub    %ebx,%esi