4041f5:	e8 9e e5 ff ff       	call   0x402798
4041fa:	c3                   	ret
4041fb:	90                   	nop
4041fc:	85 d2                	test   %edx,%edx
4041fe:	74 0a                	je     0x40420a
404200:	8b 4a f8             	mov    -0x8(%edx),%ecx
404203:	41                   	inc    %ecx
404204:	7e 04                	jle    0x40420a
404206:	f0 ff 42 f8          	lock incl -0x8(%edx)
40420a:	87 10                	xchg   %edx,(%eax)
40420c:	85 d2                	test   %edx,%edx
40420e:	74 14                	je     0x404224
404210:	8b 4a f8             	mov    -0x8(%edx),%ecx
404213:	49                   	dec    %ecx
404214:	7c 0e                	jl     0x404224
404216:	f0 ff 4a f8          	lock decl -0x8(%edx)
40421a:	75 08                	jne    0x404224
40421c:	8d 42 f8             	lea    -0x8(%edx),%eax
40421f:	e8 74 e5 ff ff       	call   0x402798
404224:	c3                   	ret
404225:	8d 40 00             	lea    0x0(%eax),%eax
404228:	85 c0                	test   %eax,%eax
40422a:	7e 24                	jle    0x404250
40422c:	50                   	push   %eax
40422d:	83 c0 0a             	add    $0xa,%eax
404230:	83 e0 fe             	and    $0xfffffffe,%eax
404233:	50                   	push   %eax
404234:	e8 3f e5 ff ff       	call   0x402778
404239:	5a                   	pop    %edx
40423a:	66 c7 44 02 fe 00 00 	movw   $0x0,-0x2(%edx,%eax,1)
404241:	83 c0 08             	add    $0x8,%eax
404244:	5a                   	pop    %edx
404245:	89 50 fc             	mov    %edx,-0x4(%eax)
404248:	c7 40 f8 01 00 00 00 	movl   $0x1,-0x8(%eax)
40424f:	c3                   	ret
404250:	31 c0                	xor    %eax,%eax
404252:	c3                   	ret
404253:	90                   	nop
404254:	53                   	push   %ebx
404255:	56                   	push   %esi
404256:	57                   	push   %edi
404257:	89 c3                	mov    %eax,%ebx
404259:	89 d6                	mov    %edx,%esi
40425b:	89 cf                	mov    %ecx,%edi
40425d:	89 f8                	mov    %edi,%eax
40425f:	e8 c4 ff ff ff       	call   0x404228
404264:	89 f9                	mov    %edi,%ecx
404266:	89 c7                	mov    %eax,%edi
404268:	85 f6                	test   %esi,%esi
40426a:	74 09                	je     0x404275
40426c:	89 c2                	mov    %eax,%edx
40426e:	89 f0                	mov    %esi,%eax
404270:	e8 ff e6 ff ff       	call   0x402974
404275:	89 d8                	mov    %ebx,%eax
404277:	e8 e8 fe ff ff       	call   0x404164
40427c:	89 3b                	mov    %edi,(%ebx)
40427e:	5f                   	pop    %edi
40427f:	5e                   	pop    %esi
404280:	5b                   	pop    %ebx
404281:	c3                   	ret
404282:	8b c0                	mov    %eax,%eax
404284:	55                   	push   %ebp
404285:	8b ec                	mov    %esp,%ebp
404287:	6a 00                	push   $0x0
404289:	6a 00                	push   $0x0
40428b:	52                   	push   %edx
40428c:	50                   	push   %eax
40428d:	8b 45 08             	mov    0x8(%ebp),%eax
404290:	50                   	push   %eax
404291:	51                   	push   %ecx
404292:	6a 00                	push   $0x0
404294:	a1 c0 c5 49 00       	mov    0x49c5c0,%eax
404299:	50                   	push   %eax
40429a:	e8 e1 d0 ff ff       	call   0x401380
40429f:	5d                   	pop    %ebp
4042a0:	c2 04 00             	ret    $0x4
4042a3:	90                   	nop
4042a4:	55                   	push   %ebp
4042a5:	8b ec                	mov    %esp,%ebp
4042a7:	52                   	push   %edx
4042a8:	50                   	push   %eax
4042a9:	8b 45 08             	mov    0x8(%ebp),%eax
4042ac:	50                   	push   %eax
4042ad:	51                   	push   %ecx
4042ae:	6a 00                	push   $0x0
4042b0:	a1 c0 c5 49 00       	mov    0x49c5c0,%eax
4042b5:	50                   	push   %eax
4042b6:	e8 a5 d0 ff ff       	call   0x401360
4042bb:	5d                   	pop    %ebp
4042bc:	c2 04 00             	ret    $0x4
4042bf:	90                   	nop
4042c0:	53                   	push   %ebx
4042c1:	56                   	push   %esi
4042c2:	57                   	push   %edi
4042c3:	55                   	push   %ebp
4042c4:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
4042ca:	50                   	push   %eax
4042cb:	83 c4 fc             	add    $0xfffffffc,%esp
4042ce:	8b f1                	mov    %ecx,%esi
4042d0:	89 14 24             	mov    %edx,(%esp)
4042d3:	8b f8                	mov    %eax,%edi
4042d5:	85 f6                	test   %esi,%esi
4042d7:	7f 09                	jg     0x4042e2
4042d9:	8b c7                	mov    %edi,%eax
4042db:	e8 84 fe ff ff       	call   0x404164
4042e0:	eb 5f                	jmp    0x404341
4042e2:	8d 6e 01             	lea    0x1(%esi),%ebp
4042e5:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
4042eb:	7d 28                	jge    0x404315
4042ed:	56                   	push   %esi
4042ee:	8d 44 24 08          	lea    0x8(%esp),%eax
4042f2:	8b 4c 24 04          	mov    0x4(%esp),%ecx
4042f6:	ba ff 0f 00 00       	mov    $0xfff,%edx
4042fb:	e8 84 ff ff ff       	call   0x404284
404300:	8b d8                	mov    %eax,%ebx
404302:	85 db                	test   %ebx,%ebx
404304:	7c 0f                	jl     0x404315
404306:	8d 54 24 04          	lea    0x4(%esp),%edx
40430a:	8b c7                	mov    %edi,%eax
40430c:	8b cb                	mov    %ebx,%ecx
40430e:	e8 41 ff ff ff       	call   0x404254
404313:	eb 2c                	jmp    0x404341
404315:	8b dd                	mov    %ebp,%ebx
404317:	03 db                	add    %ebx,%ebx
404319:	8b c7                	mov    %edi,%eax
40431b:	8b d3                	mov    %ebx,%edx
40431d:	e8 8e 04 00 00       	call   0x4047b0
404322:	56                   	push   %esi
404323:	8b 07                	mov    (%edi),%eax
404325:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404329:	8b d3                	mov    %ebx,%edx
40432b:	e8 54 ff ff ff       	call   0x404284
404330:	8b d8                	mov    %eax,%ebx
404332:	85 db                	test   %ebx,%ebx
404334:	7d 02                	jge    0x404338
404336:	33 db                	xor    %ebx,%ebx
404338:	8b c7                	mov    %edi,%eax
40433a:	8b d3                	mov    %ebx,%edx
40433c:	e8 6f 04 00 00       	call   0x4047b0
404341:	81 c4 04 10 00 00    	add    $0x1004,%esp
404347:	5d                   	pop    %ebp
404348:	5f                   	pop    %edi
404349:	5e                   	pop    %esi
40434a:	5b                   	pop    %ebx
40434b:	c3                   	ret
40434c:	52                   	push   %edx
40434d:	89 e2                	mov    %esp,%edx
40434f:	b9 01 00 00 00       	mov    $0x1,%ecx
404354:	e8 fb fe ff ff       	call   0x404254
404359:	5a                   	pop    %edx
40435a:	c3                   	ret
40435b:	90                   	nop
40435c:	31 c9                	xor    %ecx,%ecx
40435e:	85 d2                	test   %edx,%edx
404360:	74 21                	je     0x404383
404362:	52                   	push   %edx
404363:	3a 0a                	cmp    (%edx),%cl
404365:	74 17                	je     0x40437e
404367:	3a 4a 01             	cmp    0x1(%edx),%cl
40436a:	74 11                	je     0x40437d
40436c:	3a 4a 02             	cmp    0x2(%edx),%cl
40436f:	74 0b                	je     0x40437c
404371:	3a 4a 03             	cmp    0x3(%edx),%cl
404374:	74 05                	je     0x40437b
404376:	83 c2 04             	add    $0x4,%edx
404379:	eb e8                	jmp    0x404363
40437b:	42                   	inc    %edx
40437c:	42                   	inc    %edx
40437d:	42                   	inc    %edx
40437e:	89 d1                	mov    %edx,%ecx
404380:	5a                   	pop    %edx
404381:	29 d1                	sub    %edx,%ecx
404383:	e9 cc fe ff ff       	jmp    0x404254
404388:	c3                   	ret
404389:	8d 40 00             	lea    0x0(%eax),%eax
40438c:	31 c9                	xor    %ecx,%ecx
40438e:	85 d2                	test   %edx,%edx
404390:	74 2d                	je     0x4043bf
404392:	52                   	push   %edx
404393:	66 3b 0a             	cmp    (%edx),%cx
404396:	74 20                	je     0x4043b8
404398:	66 3b 4a 02          	cmp    0x2(%edx),%cx
40439c:	74 17                	je     0x4043b5
40439e:	66 3b 4a 04          	cmp    0x4(%edx),%cx
4043a2:	74 0e                	je     0x4043b2
4043a4:	66 3b 4a 06          	cmp    0x6(%edx),%cx
4043a8:	74 05                	je     0x4043af
4043aa:	83 c2 08             	add    $0x8,%edx
4043ad:	eb e4                	jmp    0x404393
4043af:	83 c2 02             	add    $0x2,%edx
4043b2:	83 c2 02             	add    $0x2,%edx
4043b5:	83 c2 02             	add    $0x2,%edx
4043b8:	89 d1                	mov    %edx,%ecx
4043ba:	5a                   	pop    %edx
4043bb:	29 d1                	sub    %edx,%ecx
4043bd:	d1 e9                	shr    $1,%ecx
4043bf:	e9 fc fe ff ff       	jmp    0x4042c0
4043c4:	c3                   	ret
4043c5:	8d 40 00             	lea    0x0(%eax),%eax
4043c8:	31 c9                	xor    %ecx,%ecx
4043ca:	8a 0a                	mov    (%edx),%cl
4043cc:	42                   	inc    %edx
4043cd:	e9 82 fe ff ff       	jmp    0x404254
4043d2:	c3                   	ret
4043d3:	90                   	nop
4043d4:	57                   	push   %edi
4043d5:	50                   	push   %eax
4043d6:	51                   	push   %ecx
4043d7:	89 d7                	mov    %edx,%edi
4043d9:	31 c0                	xor    %eax,%eax
4043db:	f2 ae                	repnz scas %es:(%edi),%al
4043dd:	75 02                	jne    0x4043e1
4043df:	f7 d1                	not    %ecx
4043e1:	58                   	pop    %eax
4043e2:	01 c1                	add    %eax,%ecx
4043e4:	58                   	pop    %eax
4043e5:	5f                   	pop    %edi
4043e6:	e9 69 fe ff ff       	jmp    0x404254
4043eb:	c3                   	ret
4043ec:	31 c9                	xor    %ecx,%ecx
4043ee:	85 d2                	test   %edx,%edx
4043f0:	74 05                	je     0x4043f7
4043f2:	8b 4a fc             	mov    -0x4(%edx),%ecx
4043f5:	d1 e9                	shr    $1,%ecx
4043f7:	e9 c4 fe ff ff       	jmp    0x4042c0
4043fc:	c3                   	ret
4043fd:	8d 40 00             	lea    0x0(%eax),%eax
404400:	53                   	push   %ebx
404401:	85 d2                	test   %edx,%edx
404403:	74 18                	je     0x40441d
404405:	8b 5a fc             	mov    -0x4(%edx),%ebx
404408:	85 db                	test   %ebx,%ebx
40440a:	74 11                	je     0x40441d
40440c:	39 d9                	cmp    %ebx,%ecx
40440e:	7c 02                	jl     0x404412
404410:	89 d9                	mov    %ebx,%ecx
404412:	88 08                	mov    %cl,(%eax)
404414:	40                   	inc    %eax
404415:	92                   	xchg   %eax,%edx
404416:	e8 59 e5 ff ff       	call   0x402974
40441b:	5b                   	pop    %ebx
40441c:	c3                   	ret
40441d:	c6 00 00             	movb   $0x0,(%eax)
404420:	5b                   	pop    %ebx
404421:	c3                   	ret
404422:	8b c0                	mov    %eax,%eax
404424:	85 c0                	test   %eax,%eax
404426:	74 03                	je     0x40442b
404428:	8b 40 fc             	mov    -0x4(%eax),%eax
40442b:	c3                   	ret
40442c:	85 d2                	test   %edx,%edx
40442e:	74 3f                	je     0x40446f
404430:	8b 08                	mov    (%eax),%ecx
404432:	85 c9                	test   %ecx,%ecx
404434:	0f 84 7e fd ff ff    	je     0x4041b8
40443a:	53                   	push   %ebx
40443b:	56                   	push   %esi
40443c:	57                   	push   %edi
40443d:	89 c3                	mov    %eax,%ebx
40443f:	89 d6                	mov    %edx,%esi
404441:	8b 79 fc             	mov    -0x4(%ecx),%edi
404444:	8b 56 fc             	mov    -0x4(%esi),%edx
404447:	01 fa                	add    %edi,%edx
404449:	39 ce                	cmp    %ecx,%esi
40444b:	74 17                	je     0x404464
40444d:	e8 5e 03 00 00       	call   0x4047b0
404452:	89 f0                	mov    %esi,%eax
404454:	8b 4e fc             	mov    -0x4(%esi),%ecx
404457:	8b 13                	mov    (%ebx),%edx
404459:	01 fa                	add    %edi,%edx
40445b:	e8 14 e5 ff ff       	call   0x402974
404460:	5f                   	pop    %edi
404461:	5e                   	pop    %esi
404462:	5b                   	pop    %ebx
404463:	c3                   	ret
404464:	e8 47 03 00 00       	call   0x4047b0
404469:	8b 03                	mov    (%ebx),%eax
40446b:	89 f9                	mov    %edi,%ecx
40446d:	eb e8                	jmp    0x404457
40446f:	c3                   	ret
404470:	85 d2                	test   %edx,%edx
404472:	74 61                	je     0x4044d5
404474:	85 c9                	test   %ecx,%ecx
404476:	0f 84 3c fd ff ff    	je     0x4041b8
40447c:	3b 10                	cmp    (%eax),%edx
40447e:	74 5c                	je     0x4044dc
404480:	3b 08                	cmp    (%eax),%ecx
404482:	74 0e                	je     0x404492
404484:	50                   	push   %eax
404485:	51                   	push   %ecx
404486:	e8 2d fd ff ff       	call   0x4041b8
40448b:	5a                   	pop    %edx
40448c:	58                   	pop    %eax
40448d:	e9 9a ff ff ff       	jmp    0x40442c
404492:	53                   	push   %ebx
404493:	56                   	push   %esi
404494:	57                   	push   %edi
404495:	89 d3                	mov    %edx,%ebx
404497:	89 ce                	mov    %ecx,%esi
404499:	50                   	push   %eax
40449a:	8b 43 fc             	mov    -0x4(%ebx),%eax
40449d:	03 46 fc             	add    -0x4(%esi),%eax
4044a0:	e8 83 fd ff ff       	call   0x404228
4044a5:	89 c7                	mov    %eax,%edi
4044a7:	89 c2                	mov    %eax,%edx
4044a9:	89 d8                	mov    %ebx,%eax
4044ab:	8b 4b fc             	mov    -0x4(%ebx),%ecx
4044ae:	e8 c1 e4 ff ff       	call   0x402974
4044b3:	89 fa                	mov    %edi,%edx
4044b5:	89 f0                	mov    %esi,%eax
4044b7:	8b 4e fc             	mov    -0x4(%esi),%ecx
4044ba:	03 53 fc             	add    -0x4(%ebx),%edx
4044bd:	e8 b2 e4 ff ff       	call   0x402974
4044c2:	58                   	pop    %eax
4044c3:	89 fa                	mov    %edi,%edx
4044c5:	85 ff                	test   %edi,%edi
4044c7:	74 03                	je     0x4044cc
4044c9:	ff 4f f8             	decl   -0x8(%edi)
4044cc:	e8 e7 fc ff ff       	call   0x4041b8
4044d1:	5f                   	pop    %edi
4044d2:	5e                   	pop    %esi
4044d3:	5b                   	pop    %ebx
4044d4:	c3                   	ret
4044d5:	89 ca                	mov    %ecx,%edx
4044d7:	e9 dc fc ff ff       	jmp    0x4041b8
4044dc:	89 ca                	mov    %ecx,%edx
4044de:	e9 49 ff ff ff       	jmp    0x40442c
4044e3:	c3                   	ret
4044e4:	53                   	push   %ebx
4044e5:	56                   	push   %esi
4044e6:	57                   	push   %edi
4044e7:	52                   	push   %edx
4044e8:	50                   	push   %eax
4044e9:	89 d3                	mov    %edx,%ebx
4044eb:	31 ff                	xor    %edi,%edi
4044ed:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
4044f1:	85 c9                	test   %ecx,%ecx
4044f3:	74 0c                	je     0x404501
4044f5:	39 08                	cmp    %ecx,(%eax)
4044f7:	75 08                	jne    0x404501
4044f9:	89 cf                	mov    %ecx,%edi
4044fb:	8b 41 fc             	mov    -0x4(%ecx),%eax
4044fe:	4a                   	dec    %edx
4044ff:	eb 02                	jmp    0x404503
404501:	31 c0                	xor    %eax,%eax
404503:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
404507:	85 c9                	test   %ecx,%ecx
404509:	74 09                	je     0x404514
40450b:	03 41 fc             	add    -0x4(%ecx),%eax
40450e:	39 cf                	cmp    %ecx,%edi