4040c8:	e8 eb e7 ff ff       	call   0x4028b8
4040cd:	89 d8                	mov    %ebx,%eax
4040cf:	e8 e8 fe ff ff       	call   0x403fbc
4040d4:	89 3b                	mov    %edi,(%ebx)
4040d6:	5f                   	pop    %edi
4040d7:	5e                   	pop    %esi
4040d8:	5b                   	pop    %ebx
4040d9:	c3                   	ret
4040da:	8b c0                	mov    %eax,%eax
4040dc:	55                   	push   %ebp
4040dd:	8b ec                	mov    %esp,%ebp
4040df:	6a 00                	push   $0x0
4040e1:	6a 00                	push   $0x0
4040e3:	52                   	push   %edx
4040e4:	50                   	push   %eax
4040e5:	8b 45 08             	mov    0x8(%ebp),%eax
4040e8:	50                   	push   %eax
4040e9:	51                   	push   %ecx
4040ea:	6a 00                	push   $0x0
4040ec:	a1 bc 95 46 00       	mov    0x4695bc,%eax
4040f1:	50                   	push   %eax
4040f2:	e8 cd d1 ff ff       	call   0x4012c4
4040f7:	5d                   	pop    %ebp
4040f8:	c2 04 00             	ret    $0x4
4040fb:	90                   	nop
4040fc:	55                   	push   %ebp
4040fd:	8b ec                	mov    %esp,%ebp
4040ff:	52                   	push   %edx
404100:	50                   	push   %eax
404101:	8b 45 08             	mov    0x8(%ebp),%eax
404104:	50                   	push   %eax
404105:	51                   	push   %ecx
404106:	6a 00                	push   $0x0
404108:	a1 bc 95 46 00       	mov    0x4695bc,%eax
40410d:	50                   	push   %eax
40410e:	e8 91 d1 ff ff       	call   0x4012a4
404113:	5d                   	pop    %ebp
404114:	c2 04 00             	ret    $0x4
404117:	90                   	nop
404118:	53                   	push   %ebx
404119:	56                   	push   %esi
40411a:	57                   	push   %edi
40411b:	55                   	push   %ebp
40411c:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
404122:	50                   	push   %eax
404123:	83 c4 fc             	add    $0xfffffffc,%esp
404126:	8b f1                	mov    %ecx,%esi
404128:	89 14 24             	mov    %edx,(%esp)
40412b:	8b f8                	mov    %eax,%edi
40412d:	85 f6                	test   %esi,%esi
40412f:	7f 09                	jg     0x40413a
404131:	8b c7                	mov    %edi,%eax
404133:	e8 84 fe ff ff       	call   0x403fbc
404138:	eb 5f                	jmp    0x404199
40413a:	8d 6e 01             	lea    0x1(%esi),%ebp
40413d:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
404143:	7d 28                	jge    0x40416d
404145:	56                   	push   %esi
404146:	8d 44 24 08          	lea    0x8(%esp),%eax
40414a:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40414e:	ba ff 0f 00 00       	mov    $0xfff,%edx
404153:	e8 84 ff ff ff       	call   0x4040dc
404158:	8b d8                	mov    %eax,%ebx
40415a:	85 db                	test   %ebx,%ebx
40415c:	7c 0f                	jl     0x40416d
40415e:	8d 54 24 04          	lea    0x4(%esp),%edx
404162:	8b c7                	mov    %edi,%eax
404164:	8b cb                	mov    %ebx,%ecx
404166:	e8 41 ff ff ff       	call   0x4040ac
40416b:	eb 2c                	jmp    0x404199
40416d:	8b dd                	mov    %ebp,%ebx
40416f:	03 db                	add    %ebx,%ebx
404171:	8b c7                	mov    %edi,%eax
404173:	8b d3                	mov    %ebx,%edx
404175:	e8 8e 04 00 00       	call   0x404608
40417a:	56                   	push   %esi
40417b:	8b 07                	mov    (%edi),%eax
40417d:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404181:	8b d3                	mov    %ebx,%edx
404183:	e8 54 ff ff ff       	call   0x4040dc
404188:	8b d8                	mov    %eax,%ebx
40418a:	85 db                	test   %ebx,%ebx
40418c:	7d 02                	jge    0x404190
40418e:	33 db                	xor    %ebx,%ebx
404190:	8b c7                	mov    %edi,%eax
404192:	8b d3                	mov    %ebx,%edx
404194:	e8 6f 04 00 00       	call   0x404608
404199:	81 c4 04 10 00 00    	add    $0x1004,%esp
40419f:	5d                   	pop    %ebp
4041a0:	5f                   	pop    %edi
4041a1:	5e                   	pop    %esi
4041a2:	5b                   	pop    %ebx
4041a3:	c3                   	ret
4041a4:	52                   	push   %edx
4041a5:	89 e2                	mov    %esp,%edx
4041a7:	b9 01 00 00 00       	mov    $0x1,%ecx
4041ac:	e8 fb fe ff ff       	call   0x4040ac
4041b1:	5a                   	pop    %edx
4041b2:	c3                   	ret
4041b3:	90                   	nop
4041b4:	31 c9                	xor    %ecx,%ecx
4041b6:	85 d2                	test   %edx,%edx
4041b8:	74 21                	je     0x4041db
4041ba:	52                   	push   %edx
4041bb:	3a 0a                	cmp    (%edx),%cl
4041bd:	74 17                	je     0x4041d6
4041bf:	3a 4a 01             	cmp    0x1(%edx),%cl
4041c2:	74 11                	je     0x4041d5
4041c4:	3a 4a 02             	cmp    0x2(%edx),%cl
4041c7:	74 0b                	je     0x4041d4
4041c9:	3a 4a 03             	cmp    0x3(%edx),%cl
4041cc:	74 05                	je     0x4041d3
4041ce:	83 c2 04             	add    $0x4,%edx
4041d1:	eb e8                	jmp    0x4041bb
4041d3:	42                   	inc    %edx
4041d4:	42                   	inc    %edx
4041d5:	42                   	inc    %edx
4041d6:	89 d1                	mov    %edx,%ecx
4041d8:	5a                   	pop    %edx
4041d9:	29 d1                	sub    %edx,%ecx
4041db:	e9 cc fe ff ff       	jmp    0x4040ac
4041e0:	c3                   	ret
4041e1:	8d 40 00             	lea    0x0(%eax),%eax
4041e4:	31 c9                	xor    %ecx,%ecx
4041e6:	85 d2                	test   %edx,%edx
4041e8:	74 2d                	je     0x404217
4041ea:	52                   	push   %edx
4041eb:	66 3b 0a             	cmp    (%edx),%cx
4041ee:	74 20                	je     0x404210
4041f0:	66 3b 4a 02          	cmp    0x2(%edx),%cx
4041f4:	74 17                	je     0x40420d
4041f6:	66 3b 4a 04          	cmp    0x4(%edx),%cx
4041fa:	74 0e                	je     0x40420a
4041fc:	66 3b 4a 06          	cmp    0x6(%edx),%cx
404200:	74 05                	je     0x404207
404202:	83 c2 08             	add    $0x8,%edx
404205:	eb e4                	jmp    0x4041eb
404207:	83 c2 02             	add    $0x2,%edx
40420a:	83 c2 02             	add    $0x2,%edx
40420d:	83 c2 02             	add    $0x2,%edx
404210:	89 d1                	mov    %edx,%ecx
404212:	5a                   	pop    %edx
404213:	29 d1                	sub    %edx,%ecx
404215:	d1 e9                	shr    $1,%ecx
404217:	e9 fc fe ff ff       	jmp    0x404118
40421c:	c3                   	ret
40421d:	8d 40 00             	lea    0x0(%eax),%eax
404220:	31 c9                	xor    %ecx,%ecx
404222:	8a 0a                	mov    (%edx),%cl
404224:	42                   	inc    %edx
404225:	e9 82 fe ff ff       	jmp    0x4040ac
40422a:	c3                   	ret
40422b:	90                   	nop
40422c:	57                   	push   %edi
40422d:	50                   	push   %eax
40422e:	51                   	push   %ecx
40422f:	89 d7                	mov    %edx,%edi
404231:	31 c0                	xor    %eax,%eax
404233:	f2 ae                	repnz scas %es:(%edi),%al
404235:	75 02                	jne    0x404239
404237:	f7 d1                	not    %ecx
404239:	58                   	pop    %eax
40423a:	01 c1                	add    %eax,%ecx
40423c:	58                   	pop    %eax
40423d:	5f                   	pop    %edi
40423e:	e9 69 fe ff ff       	jmp    0x4040ac
404243:	c3                   	ret
404244:	31 c9                	xor    %ecx,%ecx
404246:	85 d2                	test   %edx,%edx
404248:	74 05                	je     0x40424f
40424a:	8b 4a fc             	mov    -0x4(%edx),%ecx
40424d:	d1 e9                	shr    $1,%ecx
40424f:	e9 c4 fe ff ff       	jmp    0x404118
404254:	c3                   	ret
404255:	8d 40 00             	lea    0x0(%eax),%eax
404258:	53                   	push   %ebx
404259:	85 d2                	test   %edx,%edx
40425b:	74 18                	je     0x404275
40425d:	8b 5a fc             	mov    -0x4(%edx),%ebx
404260:	85 db                	test   %ebx,%ebx
404262:	74 11                	je     0x404275
404264:	39 d9                	cmp    %ebx,%ecx
404266:	7c 02                	jl     0x40426a
404268:	89 d9                	mov    %ebx,%ecx
40426a:	88 08                	mov    %cl,(%eax)
40426c:	40                   	inc    %eax
40426d:	92                   	xchg   %eax,%edx
40426e:	e8 45 e6 ff ff       	call   0x4028b8
404273:	5b                   	pop    %ebx
404274:	c3                   	ret
404275:	c6 00 00             	movb   $0x0,(%eax)
404278:	5b                   	pop    %ebx
404279:	c3                   	ret
40427a:	8b c0                	mov    %eax,%eax
40427c:	85 c0                	test   %eax,%eax
40427e:	74 03                	je     0x404283
404280:	8b 40 fc             	mov    -0x4(%eax),%eax
404283:	c3                   	ret
404284:	85 d2                	test   %edx,%edx
404286:	74 3f                	je     0x4042c7
404288:	8b 08                	mov    (%eax),%ecx
40428a:	85 c9                	test   %ecx,%ecx
40428c:	0f 84 7e fd ff ff    	je     0x404010
404292:	53                   	push   %ebx
404293:	56                   	push   %esi
404294:	57                   	push   %edi
404295:	89 c3                	mov    %eax,%ebx
404297:	89 d6                	mov    %edx,%esi
404299:	8b 79 fc             	mov    -0x4(%ecx),%edi
40429c:	8b 56 fc             	mov    -0x4(%esi),%edx
40429f:	01 fa                	add    %edi,%edx
4042a1:	39 ce                	cmp    %ecx,%esi
4042a3:	74 17                	je     0x4042bc
4042a5:	e8 5e 03 00 00       	call   0x404608
4042aa:	89 f0                	mov    %esi,%eax
4042ac:	8b 4e fc             	mov    -0x4(%esi),%ecx
4042af:	8b 13                	mov    (%ebx),%edx
4042b1:	01 fa                	add    %edi,%edx
4042b3:	e8 00 e6 ff ff       	call   0x4028b8
4042b8:	5f                   	pop    %edi
4042b9:	5e                   	pop    %esi
4042ba:	5b                   	pop    %ebx
4042bb:	c3                   	ret
4042bc:	e8 47 03 00 00       	call   0x404608
4042c1:	8b 03                	mov    (%ebx),%eax
4042c3:	89 f9                	mov    %edi,%ecx
4042c5:	eb e8                	jmp    0x4042af
4042c7:	c3                   	ret
4042c8:	85 d2                	test   %edx,%edx
4042ca:	74 61                	je     0x40432d
4042cc:	85 c9                	test   %ecx,%ecx
4042ce:	0f 84 3c fd ff ff    	je     0x404010
4042d4:	3b 10                	cmp    (%eax),%edx
4042d6:	74 5c                	je     0x404334
4042d8:	3b 08                	cmp    (%eax),%ecx
4042da:	74 0e                	je     0x4042ea
4042dc:	50                   	push   %eax
4042dd:	51                   	push   %ecx
4042de:	e8 2d fd ff ff       	call   0x404010
4042e3:	5a                   	pop    %edx
4042e4:	58                   	pop    %eax
4042e5:	e9 9a ff ff ff       	jmp    0x404284
4042ea:	53                   	push   %ebx
4042eb:	56                   	push   %esi
4042ec:	57                   	push   %edi
4042ed:	89 d3                	mov    %edx,%ebx
4042ef:	89 ce                	mov    %ecx,%esi
4042f1:	50                   	push   %eax
4042f2:	8b 43 fc             	mov    -0x4(%ebx),%eax
4042f5:	03 46 fc             	add    -0x4(%esi),%eax
4042f8:	e8 83 fd ff ff       	call   0x404080
4042fd:	89 c7                	mov    %eax,%edi
4042ff:	89 c2                	mov    %eax,%edx
404301:	89 d8                	mov    %ebx,%eax
404303:	8b 4b fc             	mov    -0x4(%ebx),%ecx
404306:	e8 ad e5 ff ff       	call   0x4028b8
40430b:	89 fa                	mov    %edi,%edx
40430d:	89 f0                	mov    %esi,%eax
40430f:	8b 4e fc             	mov    -0x4(%esi),%ecx
404312:	03 53 fc             	add    -0x4(%ebx),%edx
404315:	e8 9e e5 ff ff       	call   0x4028b8
40431a:	58                   	pop    %eax
40431b:	89 fa                	mov    %edi,%edx
40431d:	85 ff                	test   %edi,%edi
40431f:	74 03                	je     0x404324
404321:	ff 4f f8             	decl   -0x8(%edi)
404324:	e8 e7 fc ff ff       	call   0x404010
404329:	5f                   	pop    %edi
40432a:	5e                   	pop    %esi
40432b:	5b                   	pop    %ebx
40432c:	c3                   	ret
40432d:	89 ca                	mov    %ecx,%edx
40432f:	e9 dc fc ff ff       	jmp    0x404010
404334:	89 ca                	mov    %ecx,%edx
404336:	e9 49 ff ff ff       	jmp    0x404284
40433b:	c3                   	ret
40433c:	53                   	push   %ebx
40433d:	56                   	push   %esi
40433e:	57                   	push   %edi
40433f:	52                   	push   %edx
404340:	50                   	push   %eax
404341:	89 d3                	mov    %edx,%ebx
404343:	31 ff                	xor    %edi,%edi
404345:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
404349:	85 c9                	test   %ecx,%ecx
40434b:	74 0c                	je     0x404359
40434d:	39 08                	cmp    %ecx,(%eax)
40434f:	75 08                	jne    0x404359
404351:	89 cf                	mov    %ecx,%edi
404353:	8b 41 fc             	mov    -0x4(%ecx),%eax
404356:	4a                   	dec    %edx
404357:	eb 02                	jmp    0x40435b
404359:	31 c0                	xor    %eax,%eax
40435b:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
40435f:	85 c9                	test   %ecx,%ecx
404361:	74 09                	je     0x40436c
404363:	03 41 fc             	add    -0x4(%ecx),%eax
404366:	39 cf                	cmp    %ecx,%edi
404368:	75 02                	jne    0x40436c
40436a:	31 ff                	xor    %edi,%edi
40436c:	4a                   	dec    %edx
40436d:	75 ec                	jne    0x40435b
40436f:	85 ff                	test   %edi,%edi
404371:	74 17                	je     0x40438a
404373:	89 c2                	mov    %eax,%edx
404375:	8b 04 24             	mov    (%esp),%eax
404378:	8b 77 fc             	mov    -0x4(%edi),%esi
40437b:	e8 88 02 00 00       	call   0x404608
404380:	8b 3c 24             	mov    (%esp),%edi
404383:	ff 37                	push   (%edi)
404385:	03 37                	add    (%edi),%esi
404387:	4b                   	dec    %ebx
404388:	eb 08                	jmp    0x404392
40438a:	e8 f1 fc ff ff       	call   0x404080
40438f:	50                   	push   %eax
404390:	89 c6                	mov    %eax,%esi
404392:	8b 44 9c 18          	mov    0x18(%esp,%ebx,4),%eax
404396:	89 f2                	mov    %esi,%edx
404398:	85 c0                	test   %eax,%eax
40439a:	74 0a                	je     0x4043a6
40439c:	8b 48 fc             	mov    -0x4(%eax),%ecx
40439f:	01 ce                	add    %ecx,%esi
4043a1:	e8 12 e5 ff ff       	call   0x4028b8
4043a6:	4b                   	dec    %ebx
4043a7:	75 e9                	jne    0x404392
4043a9:	5a                   	pop    %edx
4043aa:	58                   	pop    %eax
4043ab:	85 ff                	test   %edi,%edi
4043ad:	75 0c                	jne    0x4043bb
4043af:	85 d2                	test   %edx,%edx
4043b1:	74 03                	je     0x4043b6
4043b3:	ff 4a f8             	decl   -0x8(%edx)
4043b6:	e8 55 fc ff ff       	call   0x404010
4043bb:	5a                   	pop    %edx
4043bc:	5f                   	pop    %edi
4043bd:	5e                   	pop    %esi
4043be:	5b                   	pop    %ebx
4043bf:	58                   	pop    %eax
4043c0:	8d 24 94             	lea    (%esp,%edx,4),%esp
4043c3:	ff e0                	jmp    *%eax
4043c5:	c3                   	ret
4043c6:	8b c0                	mov    %eax,%eax
4043c8:	53                   	push   %ebx
4043c9:	56                   	push   %esi
4043ca:	57                   	push   %edi
4043cb:	89 c6                	mov    %eax,%esi
4043cd:	89 d7                	mov    %edx,%edi
4043cf:	39 d0                	cmp    %edx,%eax
4043d1:	0f 84 8f 00 00 00    	je     0x404466
4043d7:	85 f6                	test   %esi,%esi