402f82:	50                   	push   %eax
402f83:	e8 98 ef ff ff       	call   0x401f20
402f88:	8b f0                	mov    %eax,%esi
402f8a:	83 c4 30             	add    $0x30,%esp
402f8d:	85 f6                	test   %esi,%esi
402f8f:	0f 88 91 00 00 00    	js     0x403026
402f95:	33 c0                	xor    %eax,%eax
402f97:	50                   	push   %eax
402f98:	68 80 00 00 00       	push   $0x80
402f9d:	6a 01                	push   $0x1
402f9f:	50                   	push   %eax
402fa0:	6a 01                	push   $0x1
402fa2:	68 00 00 00 40       	push   $0x40000000
402fa7:	ff b5 dc fd ff ff    	push   -0x224(%ebp)
402fad:	ff 15 d8 b0 44 00    	call   *0x44b0d8
402fb3:	8b f8                	mov    %eax,%edi
402fb5:	83 ff ff             	cmp    $0xffffffff,%edi
402fb8:	75 3f                	jne    0x402ff9
402fba:	ff 15 e8 b0 44 00    	call   *0x44b0e8
402fc0:	83 f8 50             	cmp    $0x50,%eax
402fc3:	74 05                	je     0x402fca
402fc5:	83 f8 05             	cmp    $0x5,%eax
402fc8:	75 0f                	jne    0x402fd9
402fca:	6a 64                	push   $0x64
402fcc:	ff 15 08 b1 44 00    	call   *0x44b108
402fd2:	33 c9                	xor    %ecx,%ecx
402fd4:	33 c0                	xor    %eax,%eax
402fd6:	41                   	inc    %ecx
402fd7:	eb 06                	jmp    0x402fdf
402fd9:	8b 8d d4 fd ff ff    	mov    -0x22c(%ebp),%ecx
402fdf:	0f b7 f0             	movzwl %ax,%esi
402fe2:	81 ce 00 00 07 80    	or     $0x80070000,%esi
402fe8:	85 c0                	test   %eax,%eax
402fea:	0f 4e f0             	cmovle %eax,%esi
402fed:	85 f6                	test   %esi,%esi
402fef:	78 41                	js     0x403032
402ff1:	85 c9                	test   %ecx,%ecx
402ff3:	0f 85 18 ff ff ff    	jne    0x402f11
402ff9:	8b 85 cc fd ff ff    	mov    -0x234(%ebp),%eax
402fff:	85 c0                	test   %eax,%eax
403001:	74 14                	je     0x403017
403003:	6a 00                	push   $0x0
403005:	ff b5 dc fd ff ff    	push   -0x224(%ebp)
40300b:	50                   	push   %eax
40300c:	e8 94 f1 ff ff       	call   0x4021a5
403011:	8b f0                	mov    %eax,%esi
403013:	85 f6                	test   %esi,%esi
403015:	78 0f                	js     0x403026
403017:	8b 85 c8 fd ff ff    	mov    -0x238(%ebp),%eax
40301d:	85 c0                	test   %eax,%eax
40301f:	74 05                	je     0x403026
403021:	89 38                	mov    %edi,(%eax)
403023:	83 cf ff             	or     $0xffffffff,%edi
403026:	83 ff ff             	cmp    $0xffffffff,%edi
403029:	74 07                	je     0x403032
40302b:	57                   	push   %edi
40302c:	ff 15 d4 b0 44 00    	call   *0x44b0d4
403032:	83 bd dc fd ff ff 00 	cmpl   $0x0,-0x224(%ebp)
403039:	74 0b                	je     0x403046
40303b:	ff b5 dc fd ff ff    	push   -0x224(%ebp)
403041:	e8 a9 24 04 00       	call   0x4454ef
403046:	83 bd d8 fd ff ff 00 	cmpl   $0x0,-0x228(%ebp)
40304d:	74 0b                	je     0x40305a
40304f:	ff b5 d8 fd ff ff    	push   -0x228(%ebp)
403055:	e8 95 24 04 00       	call   0x4454ef
40305a:	83 bd e0 fd ff ff 00 	cmpl   $0x0,-0x220(%ebp)
403061:	74 0b                	je     0x40306e
403063:	ff b5 e0 fd ff ff    	push   -0x220(%ebp)
403069:	e8 81 24 04 00       	call   0x4454ef
40306e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
403071:	8b c6                	mov    %esi,%eax
403073:	5f                   	pop    %edi
403074:	5e                   	pop    %esi
403075:	33 cd                	xor    %ebp,%ecx
403077:	5b                   	pop    %ebx
403078:	e8 b9 ad 02 00       	call   0x42de36
40307d:	8b e5                	mov    %ebp,%esp
40307f:	5d                   	pop    %ebp
403080:	c2 18 00             	ret    $0x18
403083:	55                   	push   %ebp
403084:	8b ec                	mov    %esp,%ebp
403086:	83 ec 0c             	sub    $0xc,%esp
403089:	53                   	push   %ebx
40308a:	8b 5d 0c             	mov    0xc(%ebp),%ebx
40308d:	33 c0                	xor    %eax,%eax
40308f:	21 45 f8             	and    %eax,-0x8(%ebp)
403092:	33 c9                	xor    %ecx,%ecx
403094:	f6 45 10 01          	testb  $0x1,0x10(%ebp)
403098:	56                   	push   %esi
403099:	57                   	push   %edi
40309a:	6a 40                	push   $0x40
40309c:	89 45 fc             	mov    %eax,-0x4(%ebp)
40309f:	89 4d f4             	mov    %ecx,-0xc(%ebp)
4030a2:	5f                   	pop    %edi
4030a3:	0f 84 07 01 00 00    	je     0x4031b0
4030a9:	57                   	push   %edi
4030aa:	8d 45 fc             	lea    -0x4(%ebp),%eax
4030ad:	89 7d f4             	mov    %edi,-0xc(%ebp)
4030b0:	50                   	push   %eax
4030b1:	e8 28 ee ff ff       	call   0x401ede
4030b6:	8b f0                	mov    %eax,%esi
4030b8:	85 f6                	test   %esi,%esi
4030ba:	0f 88 0a 02 00 00    	js     0x4032ca
4030c0:	ff 75 f4             	push   -0xc(%ebp)
4030c3:	ff 75 fc             	push   -0x4(%ebp)
4030c6:	53                   	push   %ebx
4030c7:	ff 15 14 b1 44 00    	call   *0x44b114
4030cd:	85 c0                	test   %eax,%eax
4030cf:	75 33                	jne    0x403104
4030d1:	ff 15 e8 b0 44 00    	call   *0x44b0e8
4030d7:	0f b7 f0             	movzwl %ax,%esi
4030da:	81 ce 00 00 07 80    	or     $0x80070000,%esi
4030e0:	85 c0                	test   %eax,%eax
4030e2:	0f 4e f0             	cmovle %eax,%esi
4030e5:	b8 05 40 00 80       	mov    $0x80004005,%eax
4030ea:	85 f6                	test   %esi,%esi
4030ec:	0f 49 f0             	cmovns %eax,%esi
4030ef:	56                   	push   %esi
4030f0:	68 08 01 00 00       	push   $0x108
4030f5:	68 64 b7 44 00       	push   $0x44b764
4030fa:	e8 d4 06 00 00       	call   0x4037d3
4030ff:	e9 c6 01 00 00       	jmp    0x4032ca
403104:	8b 4d f4             	mov    -0xc(%ebp),%ecx
403107:	3b c8                	cmp    %eax,%ecx
403109:	73 64                	jae    0x40316f
40310b:	50                   	push   %eax
40310c:	89 45 f4             	mov    %eax,-0xc(%ebp)
40310f:	8d 45 fc             	lea    -0x4(%ebp),%eax
403112:	50                   	push   %eax
403113:	e8 c6 ed ff ff       	call   0x401ede
403118:	8b f0                	mov    %eax,%esi
40311a:	85 f6                	test   %esi,%esi
40311c:	0f 88 a8 01 00 00    	js     0x4032ca
403122:	ff 75 f4             	push   -0xc(%ebp)
403125:	ff 75 fc             	push   -0x4(%ebp)
403128:	53                   	push   %ebx
403129:	ff 15 14 b1 44 00    	call   *0x44b114
40312f:	85 c0                	test   %eax,%eax
403131:	75 26                	jne    0x403159
403133:	ff 15 e8 b0 44 00    	call   *0x44b0e8
403139:	0f b7 f0             	movzwl %ax,%esi
40313c:	81 ce 00 00 07 80    	or     $0x80070000,%esi
403142:	85 c0                	test   %eax,%eax
403144:	0f 4e f0             	cmovle %eax,%esi
403147:	b8 05 40 00 80       	mov    $0x80004005,%eax
40314c:	85 f6                	test   %esi,%esi
40314e:	0f 49 f0             	cmovns %eax,%esi
403151:	56                   	push   %esi
403152:	68 13 01 00 00       	push   $0x113
403157:	eb 9c                	jmp    0x4030f5
403159:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40315c:	3b c8                	cmp    %eax,%ecx
40315e:	73 0f                	jae    0x40316f
403160:	b8 7a 00 07 80       	mov    $0x8007007a,%eax
403165:	50                   	push   %eax
403166:	8b f0                	mov    %eax,%esi
403168:	68 18 01 00 00       	push   $0x118
40316d:	eb 86                	jmp    0x4030f5
40316f:	3d 04 01 00 00       	cmp    $0x104,%eax
403174:	76 37                	jbe    0x4031ad
403176:	8d 45 fc             	lea    -0x4(%ebp),%eax
403179:	50                   	push   %eax
40317a:	e8 14 04 00 00       	call   0x403593
40317f:	8b f0                	mov    %eax,%esi
403181:	33 c0                	xor    %eax,%eax
403183:	81 fe 57 00 07 80    	cmp    $0x80070057,%esi
403189:	0f 44 f0             	cmove  %eax,%esi
40318c:	85 f6                	test   %esi,%esi
40318e:	0f 88 36 01 00 00    	js     0x4032ca
403194:	8d 45 f4             	lea    -0xc(%ebp),%eax
403197:	50                   	push   %eax
403198:	ff 75 fc             	push   -0x4(%ebp)
40319b:	e8 bd f5 ff ff       	call   0x40275d
4031a0:	8b f0                	mov    %eax,%esi
4031a2:	85 f6                	test   %esi,%esi
4031a4:	0f 88 20 01 00 00    	js     0x4032ca
4031aa:	8b 4d f4             	mov    -0xc(%ebp),%ecx
4031ad:	8b 45 fc             	mov    -0x4(%ebp),%eax
4031b0:	f6 45 10 02          	testb  $0x2,0x10(%ebp)
4031b4:	0f 84 f7 00 00 00    	je     0x4032b1
4031ba:	83 65 10 00          	andl   $0x0,0x10(%ebp)
4031be:	8b d3                	mov    %ebx,%edx
4031c0:	85 c0                	test   %eax,%eax
4031c2:	0f 45 d0             	cmovne %eax,%edx
4031c5:	3b cf                	cmp    %edi,%ecx
4031c7:	8d 45 f8             	lea    -0x8(%ebp),%eax
4031ca:	89 55 0c             	mov    %edx,0xc(%ebp)
4031cd:	0f 47 f9             	cmova  %ecx,%edi
4031d0:	57                   	push   %edi
4031d1:	50                   	push   %eax
4031d2:	e8 07 ed ff ff       	call   0x401ede
4031d7:	8b f0                	mov    %eax,%esi
4031d9:	85 f6                	test   %esi,%esi
4031db:	0f 88 e9 00 00 00    	js     0x4032ca
4031e1:	8d 45 10             	lea    0x10(%ebp),%eax
4031e4:	50                   	push   %eax
4031e5:	ff 75 f8             	push   -0x8(%ebp)
4031e8:	57                   	push   %edi
4031e9:	ff 75 0c             	push   0xc(%ebp)
4031ec:	ff 15 24 b1 44 00    	call   *0x44b124
4031f2:	85 c0                	test   %eax,%eax
4031f4:	75 29                	jne    0x40321f
4031f6:	ff 15 e8 b0 44 00    	call   *0x44b0e8
4031fc:	0f b7 f0             	movzwl %ax,%esi
4031ff:	81 ce 00 00 07 80    	or     $0x80070000,%esi
403205:	85 c0                	test   %eax,%eax
403207:	0f 4e f0             	cmovle %eax,%esi
40320a:	b8 05 40 00 80       	mov    $0x80004005,%eax
40320f:	85 f6                	test   %esi,%esi
403211:	0f 49 f0             	cmovns %eax,%esi
403214:	56                   	push   %esi
403215:	68 39 01 00 00       	push   $0x139
40321a:	e9 d6 fe ff ff       	jmp    0x4030f5
40321f:	3b f8                	cmp    %eax,%edi
403221:	73 73                	jae    0x403296
403223:	3d 04 01 00 00       	cmp    $0x104,%eax
403228:	8d 78 07             	lea    0x7(%eax),%edi
40322b:	0f 42 f8             	cmovb  %eax,%edi
40322e:	8d 45 f8             	lea    -0x8(%ebp),%eax
403231:	57                   	push   %edi
403232:	50                   	push   %eax
403233:	e8 a6 ec ff ff       	call   0x401ede
403238:	8b f0                	mov    %eax,%esi
40323a:	85 f6                	test   %esi,%esi
40323c:	0f 88 88 00 00 00    	js     0x4032ca
403242:	8d 45 10             	lea    0x10(%ebp),%eax
403245:	50                   	push   %eax
403246:	ff 75 f8             	push   -0x8(%ebp)
403249:	57                   	push   %edi
40324a:	ff 75 0c             	push   0xc(%ebp)
40324d:	ff 15 24 b1 44 00    	call   *0x44b124
403253:	85 c0                	test   %eax,%eax
403255:	75 29                	jne    0x403280
403257:	ff 15 e8 b0 44 00    	call   *0x44b0e8
40325d:	0f b7 f0             	movzwl %ax,%esi
403260:	81 ce 00 00 07 80    	or     $0x80070000,%esi
403266:	85 c0                	test   %eax,%eax
403268:	0f 4e f0             	cmovle %eax,%esi
40326b:	b8 05 40 00 80       	mov    $0x80004005,%eax
403270:	85 f6                	test   %esi,%esi
403272:	0f 49 f0             	cmovns %eax,%esi
403275:	56                   	push   %esi
403276:	68 44 01 00 00       	push   $0x144
40327b:	e9 75 fe ff ff       	jmp    0x4030f5
403280:	3b f8                	cmp    %eax,%edi
403282:	73 12                	jae    0x403296
403284:	b8 7a 00 07 80       	mov    $0x8007007a,%eax
403289:	50                   	push   %eax
40328a:	8b f0                	mov    %eax,%esi
40328c:	68 49 01 00 00       	push   $0x149
403291:	e9 5f fe ff ff       	jmp    0x4030f5
403296:	3d 04 01 00 00       	cmp    $0x104,%eax
40329b:	76 0f                	jbe    0x4032ac
40329d:	8d 45 f8             	lea    -0x8(%ebp),%eax
4032a0:	50                   	push   %eax
4032a1:	e8 ed 02 00 00       	call   0x403593
4032a6:	8b f0                	mov    %eax,%esi
4032a8:	85 f6                	test   %esi,%esi
4032aa:	78 1e                	js     0x4032ca
4032ac:	8b 45 f8             	mov    -0x8(%ebp),%eax
4032af:	eb 07                	jmp    0x4032b8
4032b1:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
4032b5:	89 45 f8             	mov    %eax,-0x8(%ebp)
4032b8:	85 c0                	test   %eax,%eax
4032ba:	6a 00                	push   $0x0
4032bc:	0f 45 d8             	cmovne %eax,%ebx
4032bf:	53                   	push   %ebx
4032c0:	ff 75 08             	push   0x8(%ebp)
4032c3:	e8 dd ee ff ff       	call   0x4021a5
4032c8:	8b f0                	mov    %eax,%esi
4032ca:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
4032ce:	74 08                	je     0x4032d8
4032d0:	ff 75 f8             	push   -0x8(%ebp)
4032d3:	e8 17 22 04 00       	call   0x4454ef
4032d8:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
4032dc:	74 08                	je     0x4032e6
4032de:	ff 75 fc             	push   -0x4(%ebp)
4032e1:	e8 09 22 04 00       	call   0x4454ef
4032e6:	5f                   	pop    %edi
4032e7:	8b c6                	mov    %esi,%eax
4032e9:	5e                   	pop    %esi
4032ea:	5b                   	pop    %ebx
4032eb:	8b e5                	mov    %ebp,%esp
4032ed:	5d                   	pop    %ebp
4032ee:	c2 0c 00             	ret    $0xc
4032f1:	55                   	push   %ebp
4032f2:	8b ec                	mov    %esp,%ebp
4032f4:	8b 45 08             	mov    0x8(%ebp),%eax
4032f7:	85 c0                	test   %eax,%eax
4032f9:	74 3f                	je     0x40333a
4032fb:	0f b7 08             	movzwl (%eax),%ecx
4032fe:	33 d2                	xor    %edx,%edx
403300:	66 85 c9             	test   %cx,%cx
403303:	74 33                	je     0x403338
403305:	56                   	push   %esi
403306:	6a 5c                	push   $0x5c
403308:	5e                   	pop    %esi
403309:	66 3b f1             	cmp    %cx,%si
40330c:	74 1c                	je     0x40332a
40330e:	6a 2f                	push   $0x2f
403310:	5e                   	pop    %esi
403311:	66 3b f1             	cmp    %cx,%si
403314:	74 14                	je     0x40332a
403316:	6a 3a                	push   $0x3a
403318:	5e                   	pop    %esi
403319:	66 3b f1             	cmp    %cx,%si
40331c:	74 0c                	je     0x40332a
40331e:	6a 2e                	push   $0x2e
403320:	5e                   	pop    %esi
403321:	66 3b f1             	cmp    %cx,%si
403324:	75 06                	jne    0x40332c
403326:	8b d0                	mov    %eax,%edx
403328:	eb 02                	jmp    0x40332c
40332a:	33 d2                	xor    %edx,%edx
40332c:	83 c0 02             	add    $0x2,%eax
40332f:	0f b7 08             	movzwl (%eax),%ecx
403332:	66 85 c9             	test   %cx,%cx
403335:	75 cf                	jne    0x403306
403337:	5e                   	pop    %esi
403338:	8b c2                	mov    %edx,%eax
40333a:	5d                   	pop    %ebp
40333b:	c2 04 00             	ret    $0x4
40333e:	55                   	push   %ebp
40333f:	8b ec                	mov    %esp,%ebp
403341:	8b 4d 08             	mov    0x8(%ebp),%ecx
403344:	85 c9                	test   %ecx,%ecx
403346:	75 04                	jne    0x40334c
403348:	33 c0                	xor    %eax,%eax
40334a:	eb 3f                	jmp    0x40338b
40334c:	0f b7 01             	movzwl (%ecx),%eax
40334f:	8b d1                	mov    %ecx,%edx
403351:	56                   	push   %esi
403352:	8b f1                	mov    %ecx,%esi
403354:	66 85 c0             	test   %ax,%ax
403357:	74 2f                	je     0x403388
403359:	57                   	push   %edi
40335a:	6a 5c                	push   $0x5c
40335c:	5f                   	pop    %edi
40335d:	66 3b f8             	cmp    %ax,%di
403360:	74 17                	je     0x403379
403362:	6a 2f                	push   $0x2f
403364:	5f                   	pop    %edi
403365:	66 3b f8             	cmp    %ax,%di
403368:	74 0f                	je     0x403379
40336a:	6a 3a                	push   $0x3a
40336c:	5f                   	pop    %edi
40336d:	66 3b f8             	cmp    %ax,%di
403370:	75 0a                	jne    0x40337c
403372:	8d 41 02             	lea    0x2(%ecx),%eax
403375:	3b d0                	cmp    %eax,%edx