40312a:	66 83 3e 3d          	cmpw   $0x3d,(%esi)
40312e:	59                   	pop    %ecx
40312f:	74 31                	je     0x403162
403131:	6a 02                	push   $0x2
403133:	57                   	push   %edi
403134:	e8 a7 27 00 00       	call   0x4058e0
403139:	59                   	pop    %ecx
40313a:	59                   	pop    %ecx
40313b:	89 03                	mov    %eax,(%ebx)
40313d:	85 c0                	test   %eax,%eax
40313f:	74 50                	je     0x403191
403141:	56                   	push   %esi
403142:	57                   	push   %edi
403143:	50                   	push   %eax
403144:	e8 e3 26 00 00       	call   0x40582c
403149:	83 c4 0c             	add    $0xc,%esp
40314c:	85 c0                	test   %eax,%eax
40314e:	74 0f                	je     0x40315f
403150:	33 c0                	xor    %eax,%eax
403152:	50                   	push   %eax
403153:	50                   	push   %eax
403154:	50                   	push   %eax
403155:	50                   	push   %eax
403156:	50                   	push   %eax
403157:	e8 6d 18 00 00       	call   0x4049c9
40315c:	83 c4 14             	add    $0x14,%esp
40315f:	83 c3 04             	add    $0x4,%ebx
403162:	8d 34 7e             	lea    (%esi,%edi,2),%esi
403165:	66 83 3e 00          	cmpw   $0x0,(%esi)
403169:	75 b6                	jne    0x403121
40316b:	ff 35 44 c5 45 00    	push   0x45c544
403171:	e8 28 26 00 00       	call   0x40579e
403176:	83 25 44 c5 45 00 00 	andl   $0x0,0x45c544
40317d:	83 23 00             	andl   $0x0,(%ebx)
403180:	c7 05 00 0c 89 00 01 	movl   $0x1,0x890c00
403187:	00 00 00
40318a:	33 c0                	xor    %eax,%eax
40318c:	59                   	pop    %ecx
40318d:	5b                   	pop    %ebx
40318e:	5f                   	pop    %edi
40318f:	5e                   	pop    %esi
403190:	c3                   	ret
403191:	ff 35 8c c8 45 00    	push   0x45c88c
403197:	e8 02 26 00 00       	call   0x40579e
40319c:	83 25 8c c8 45 00 00 	andl   $0x0,0x45c88c
4031a3:	83 c8 ff             	or     $0xffffffff,%eax
4031a6:	eb e4                	jmp    0x40318c
4031a8:	8b ff                	mov    %edi,%edi
4031aa:	55                   	push   %ebp
4031ab:	8b ec                	mov    %esp,%ebp
4031ad:	51                   	push   %ecx
4031ae:	56                   	push   %esi
4031af:	33 d2                	xor    %edx,%edx
4031b1:	57                   	push   %edi
4031b2:	8b 7d 0c             	mov    0xc(%ebp),%edi
4031b5:	89 13                	mov    %edx,(%ebx)
4031b7:	8b f1                	mov    %ecx,%esi
4031b9:	c7 07 01 00 00 00    	movl   $0x1,(%edi)
4031bf:	39 55 08             	cmp    %edx,0x8(%ebp)
4031c2:	74 09                	je     0x4031cd
4031c4:	8b 4d 08             	mov    0x8(%ebp),%ecx
4031c7:	83 45 08 04          	addl   $0x4,0x8(%ebp)
4031cb:	89 31                	mov    %esi,(%ecx)
4031cd:	66 83 38 22          	cmpw   $0x22,(%eax)
4031d1:	75 13                	jne    0x4031e6
4031d3:	8b 7d 0c             	mov    0xc(%ebp),%edi
4031d6:	33 c9                	xor    %ecx,%ecx
4031d8:	85 d2                	test   %edx,%edx
4031da:	0f 94 c1             	sete   %cl
4031dd:	6a 22                	push   $0x22
4031df:	40                   	inc    %eax
4031e0:	40                   	inc    %eax
4031e1:	8b d1                	mov    %ecx,%edx
4031e3:	59                   	pop    %ecx
4031e4:	eb 18                	jmp    0x4031fe
4031e6:	ff 03                	incl   (%ebx)
4031e8:	85 f6                	test   %esi,%esi
4031ea:	74 08                	je     0x4031f4
4031ec:	66 8b 08             	mov    (%eax),%cx
4031ef:	66 89 0e             	mov    %cx,(%esi)
4031f2:	46                   	inc    %esi
4031f3:	46                   	inc    %esi
4031f4:	0f b7 08             	movzwl (%eax),%ecx
4031f7:	40                   	inc    %eax
4031f8:	40                   	inc    %eax
4031f9:	66 85 c9             	test   %cx,%cx
4031fc:	74 3c                	je     0x40323a
4031fe:	85 d2                	test   %edx,%edx
403200:	75 cb                	jne    0x4031cd
403202:	66 83 f9 20          	cmp    $0x20,%cx
403206:	74 06                	je     0x40320e
403208:	66 83 f9 09          	cmp    $0x9,%cx
40320c:	75 bf                	jne    0x4031cd
40320e:	85 f6                	test   %esi,%esi
403210:	74 06                	je     0x403218
403212:	33 c9                	xor    %ecx,%ecx
403214:	66 89 4e fe          	mov    %cx,-0x2(%esi)
403218:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40321c:	33 d2                	xor    %edx,%edx
40321e:	66 39 10             	cmp    %dx,(%eax)
403221:	0f 84 c3 00 00 00    	je     0x4032ea
403227:	0f b7 08             	movzwl (%eax),%ecx
40322a:	66 83 f9 20          	cmp    $0x20,%cx
40322e:	74 06                	je     0x403236
403230:	66 83 f9 09          	cmp    $0x9,%cx
403234:	75 08                	jne    0x40323e
403236:	40                   	inc    %eax
403237:	40                   	inc    %eax
403238:	eb ed                	jmp    0x403227
40323a:	48                   	dec    %eax
40323b:	48                   	dec    %eax
40323c:	eb da                	jmp    0x403218
40323e:	66 39 10             	cmp    %dx,(%eax)
403241:	0f 84 a3 00 00 00    	je     0x4032ea
403247:	39 55 08             	cmp    %edx,0x8(%ebp)
40324a:	74 09                	je     0x403255
40324c:	8b 4d 08             	mov    0x8(%ebp),%ecx
40324f:	83 45 08 04          	addl   $0x4,0x8(%ebp)
403253:	89 31                	mov    %esi,(%ecx)
403255:	ff 07                	incl   (%edi)
403257:	33 ff                	xor    %edi,%edi
403259:	47                   	inc    %edi
40325a:	33 d2                	xor    %edx,%edx
40325c:	eb 03                	jmp    0x403261
40325e:	40                   	inc    %eax
40325f:	40                   	inc    %eax
403260:	42                   	inc    %edx
403261:	66 83 38 5c          	cmpw   $0x5c,(%eax)
403265:	74 f7                	je     0x40325e
403267:	66 83 38 22          	cmpw   $0x22,(%eax)
40326b:	75 38                	jne    0x4032a5
40326d:	f6 c2 01             	test   $0x1,%dl
403270:	75 20                	jne    0x403292
403272:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
403276:	74 0d                	je     0x403285
403278:	8d 48 02             	lea    0x2(%eax),%ecx
40327b:	66 83 39 22          	cmpw   $0x22,(%ecx)
40327f:	75 04                	jne    0x403285
403281:	8b c1                	mov    %ecx,%eax
403283:	eb 0d                	jmp    0x403292
403285:	33 c9                	xor    %ecx,%ecx
403287:	33 ff                	xor    %edi,%edi
403289:	39 4d fc             	cmp    %ecx,-0x4(%ebp)
40328c:	0f 94 c1             	sete   %cl
40328f:	89 4d fc             	mov    %ecx,-0x4(%ebp)
403292:	d1 ea                	shr    $1,%edx
403294:	eb 0f                	jmp    0x4032a5
403296:	4a                   	dec    %edx
403297:	85 f6                	test   %esi,%esi
403299:	74 08                	je     0x4032a3
40329b:	6a 5c                	push   $0x5c
40329d:	59                   	pop    %ecx
40329e:	66 89 0e             	mov    %cx,(%esi)
4032a1:	46                   	inc    %esi
4032a2:	46                   	inc    %esi
4032a3:	ff 03                	incl   (%ebx)
4032a5:	85 d2                	test   %edx,%edx
4032a7:	75 ed                	jne    0x403296
4032a9:	0f b7 08             	movzwl (%eax),%ecx
4032ac:	66 85 c9             	test   %cx,%cx
4032af:	74 24                	je     0x4032d5
4032b1:	39 55 fc             	cmp    %edx,-0x4(%ebp)
4032b4:	75 0c                	jne    0x4032c2
4032b6:	66 83 f9 20          	cmp    $0x20,%cx
4032ba:	74 19                	je     0x4032d5
4032bc:	66 83 f9 09          	cmp    $0x9,%cx
4032c0:	74 13                	je     0x4032d5
4032c2:	85 ff                	test   %edi,%edi
4032c4:	74 0b                	je     0x4032d1
4032c6:	85 f6                	test   %esi,%esi
4032c8:	74 05                	je     0x4032cf
4032ca:	66 89 0e             	mov    %cx,(%esi)
4032cd:	46                   	inc    %esi
4032ce:	46                   	inc    %esi
4032cf:	ff 03                	incl   (%ebx)
4032d1:	40                   	inc    %eax
4032d2:	40                   	inc    %eax
4032d3:	eb 82                	jmp    0x403257
4032d5:	85 f6                	test   %esi,%esi
4032d7:	74 07                	je     0x4032e0
4032d9:	33 c9                	xor    %ecx,%ecx
4032db:	66 89 0e             	mov    %cx,(%esi)
4032de:	46                   	inc    %esi
4032df:	46                   	inc    %esi
4032e0:	ff 03                	incl   (%ebx)
4032e2:	8b 7d 0c             	mov    0xc(%ebp),%edi
4032e5:	e9 32 ff ff ff       	jmp    0x40321c
4032ea:	8b 45 08             	mov    0x8(%ebp),%eax
4032ed:	3b c2                	cmp    %edx,%eax
4032ef:	74 02                	je     0x4032f3
4032f1:	89 10                	mov    %edx,(%eax)
4032f3:	ff 07                	incl   (%edi)
4032f5:	5f                   	pop    %edi
4032f6:	5e                   	pop    %esi
4032f7:	c9                   	leave
4032f8:	c3                   	ret
4032f9:	8b ff                	mov    %edi,%edi
4032fb:	55                   	push   %ebp
4032fc:	8b ec                	mov    %esp,%ebp
4032fe:	51                   	push   %ecx
4032ff:	51                   	push   %ecx
403300:	53                   	push   %ebx
403301:	56                   	push   %esi
403302:	57                   	push   %edi
403303:	68 04 01 00 00       	push   $0x104
403308:	be c0 cb 45 00       	mov    $0x45cbc0,%esi
40330d:	56                   	push   %esi
40330e:	33 c0                	xor    %eax,%eax
403310:	33 db                	xor    %ebx,%ebx
403312:	53                   	push   %ebx
403313:	66 a3 c8 cd 45 00    	mov    %ax,0x45cdc8
403319:	ff 15 90 10 40 00    	call   *0x401090
40331f:	a1 18 0c 89 00       	mov    0x890c18,%eax
403324:	89 35 98 c8 45 00    	mov    %esi,0x45c898
40332a:	3b c3                	cmp    %ebx,%eax
40332c:	74 07                	je     0x403335
40332e:	8b f8                	mov    %eax,%edi
403330:	66 39 18             	cmp    %bx,(%eax)
403333:	75 02                	jne    0x403337
403335:	8b fe                	mov    %esi,%edi
403337:	8d 45 fc             	lea    -0x4(%ebp),%eax
40333a:	50                   	push   %eax
40333b:	53                   	push   %ebx
40333c:	8d 5d f8             	lea    -0x8(%ebp),%ebx
40333f:	33 c9                	xor    %ecx,%ecx
403341:	8b c7                	mov    %edi,%eax
403343:	e8 60 fe ff ff       	call   0x4031a8
403348:	8b 5d fc             	mov    -0x4(%ebp),%ebx
40334b:	59                   	pop    %ecx
40334c:	59                   	pop    %ecx
40334d:	81 fb ff ff ff 3f    	cmp    $0x3fffffff,%ebx
403353:	73 4a                	jae    0x40339f
403355:	8b 4d f8             	mov    -0x8(%ebp),%ecx
403358:	81 f9 ff ff ff 7f    	cmp    $0x7fffffff,%ecx
40335e:	73 3f                	jae    0x40339f
403360:	8d 04 59             	lea    (%ecx,%ebx,2),%eax
403363:	03 c0                	add    %eax,%eax
403365:	03 c9                	add    %ecx,%ecx
403367:	3b c1                	cmp    %ecx,%eax
403369:	72 34                	jb     0x40339f
40336b:	50                   	push   %eax
40336c:	e8 2a 25 00 00       	call   0x40589b
403371:	8b f0                	mov    %eax,%esi
403373:	59                   	pop    %ecx
403374:	85 f6                	test   %esi,%esi
403376:	74 27                	je     0x40339f
403378:	8d 45 fc             	lea    -0x4(%ebp),%eax
40337b:	50                   	push   %eax
40337c:	8d 0c 9e             	lea    (%esi,%ebx,4),%ecx
40337f:	56                   	push   %esi
403380:	8d 5d f8             	lea    -0x8(%ebp),%ebx
403383:	8b c7                	mov    %edi,%eax
403385:	e8 1e fe ff ff       	call   0x4031a8
40338a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40338d:	48                   	dec    %eax
40338e:	59                   	pop    %ecx
40338f:	a3 78 c8 45 00       	mov    %eax,0x45c878
403394:	59                   	pop    %ecx
403395:	89 35 80 c8 45 00    	mov    %esi,0x45c880
40339b:	33 c0                	xor    %eax,%eax
40339d:	eb 03                	jmp    0x4033a2
40339f:	83 c8 ff             	or     $0xffffffff,%eax
4033a2:	5f                   	pop    %edi
4033a3:	5e                   	pop    %esi
4033a4:	5b                   	pop    %ebx
4033a5:	c9                   	leave
4033a6:	c3                   	ret
4033a7:	8b ff                	mov    %edi,%edi
4033a9:	56                   	push   %esi
4033aa:	ff 15 98 10 40 00    	call   *0x401098
4033b0:	8b f0                	mov    %eax,%esi
4033b2:	33 c9                	xor    %ecx,%ecx
4033b4:	3b f1                	cmp    %ecx,%esi
4033b6:	75 04                	jne    0x4033bc
4033b8:	33 c0                	xor    %eax,%eax
4033ba:	5e                   	pop    %esi
4033bb:	c3                   	ret
4033bc:	66 39 0e             	cmp    %cx,(%esi)
4033bf:	74 0e                	je     0x4033cf
4033c1:	40                   	inc    %eax
4033c2:	40                   	inc    %eax
4033c3:	66 39 08             	cmp    %cx,(%eax)
4033c6:	75 f9                	jne    0x4033c1
4033c8:	40                   	inc    %eax
4033c9:	40                   	inc    %eax
4033ca:	66 39 08             	cmp    %cx,(%eax)
4033cd:	75 f2                	jne    0x4033c1
4033cf:	2b c6                	sub    %esi,%eax
4033d1:	40                   	inc    %eax
4033d2:	53                   	push   %ebx
4033d3:	40                   	inc    %eax
4033d4:	8b d8                	mov    %eax,%ebx
4033d6:	57                   	push   %edi
4033d7:	53                   	push   %ebx
4033d8:	e8 be 24 00 00       	call   0x40589b
4033dd:	8b f8                	mov    %eax,%edi
4033df:	59                   	pop    %ecx
4033e0:	85 ff                	test   %edi,%edi
4033e2:	75 0d                	jne    0x4033f1
4033e4:	56                   	push   %esi
4033e5:	ff 15 94 10 40 00    	call   *0x401094
4033eb:	8b c7                	mov    %edi,%eax
4033ed:	5f                   	pop    %edi
4033ee:	5b                   	pop    %ebx
4033ef:	5e                   	pop    %esi
4033f0:	c3                   	ret
4033f1:	53                   	push   %ebx
4033f2:	56                   	push   %esi
4033f3:	57                   	push   %edi
4033f4:	e8 a7 25 00 00       	call   0x4059a0
4033f9:	83 c4 0c             	add    $0xc,%esp
4033fc:	eb e6                	jmp    0x4033e4
4033fe:	ff 25 9c 10 40 00    	jmp    *0x40109c
403404:	6a 54                	push   $0x54
403406:	68 e8 a4 40 00       	push   $0x40a4e8
40340b:	e8 64 08 00 00       	call   0x403c74
403410:	33 ff                	xor    %edi,%edi
403412:	89 7d fc             	mov    %edi,-0x4(%ebp)
403415:	8d 45 9c             	lea    -0x64(%ebp),%eax
403418:	50                   	push   %eax
403419:	ff 15 a8 10 40 00    	call   *0x4010a8
40341f:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
403426:	6a 40                	push   $0x40
403428:	6a 20                	push   $0x20
40342a:	5e                   	pop    %esi
40342b:	56                   	push   %esi
40342c:	e8 af 24 00 00       	call   0x4058e0
403431:	59                   	pop    %ecx
403432:	59                   	pop    %ecx
403433:	3b c7                	cmp    %edi,%eax
403435:	0f 84 14 02 00 00    	je     0x40364f
40343b:	a3 00 0b 89 00       	mov    %eax,0x890b00
403440:	89 35 e8 0a 89 00    	mov    %esi,0x890ae8
403446:	8d 88 00 08 00 00    	lea    0x800(%eax),%ecx
40344c:	eb 30                	jmp    0x40347e
40344e:	c6 40 04 00          	movb   $0x0,0x4(%eax)
403452:	83 08 ff             	orl    $0xffffffff,(%eax)
403455:	c6 40 05 0a          	movb   $0xa,0x5(%eax)
403459:	89 78 08             	mov    %edi,0x8(%eax)
40345c:	c6 40 24 00          	movb   $0x0,0x24(%eax)
403460:	c6 40 25 0a          	movb   $0xa,0x25(%eax)
403464:	c6 40 26 0a          	movb   $0xa,0x26(%eax)
403468:	89 78 38             	mov    %edi,0x38(%eax)
40346b:	c6 40 34 00          	movb   $0x0,0x34(%eax)
40346f:	83 c0 40             	add    $0x40,%eax
403472:	8b 0d 00 0b 89 00    	mov    0x890b00,%ecx
403478:	81 c1 00 08 00 00    	add    $0x800,%ecx
40347e:	3b c1                	cmp    %ecx,%eax
403480:	72 cc                	jb     0x40344e
403482:	66 39 7d ce          	cmp    %di,-0x32(%ebp)