403101:	33 c0                	xor    %eax,%eax
403103:	c7 06 08 10 40 00    	movl   $0x401008,(%esi)
403109:	c7 46 04 01 00 00 00 	movl   $0x1,0x4(%esi)
403110:	66 89 46 0c          	mov    %ax,0xc(%esi)
403114:	66 39 05 a0 16 41 00 	cmp    %ax,0x4116a0
40311b:	75 30                	jne    0x40314d
40311d:	6a 50                	push   $0x50
40311f:	8d 85 5c ff ff ff    	lea    -0xa4(%ebp),%eax
403125:	50                   	push   %eax
403126:	6a 71                	push   $0x71
403128:	ff 35 0c 19 41 00    	push   0x41190c
40312e:	ff 15 20 33 43 00    	call   *0x433320
403134:	8d 85 5c ff ff ff    	lea    -0xa4(%ebp),%eax
40313a:	50                   	push   %eax
40313b:	ff 15 1c 33 43 00    	call   *0x43331c
403141:	66 a3 a0 16 41 00    	mov    %ax,0x4116a0
403147:	66 a3 6c 10 41 00    	mov    %ax,0x41106c
40314d:	8b 4d fc             	mov    -0x4(%ebp),%ecx
403150:	8b c6                	mov    %esi,%eax
403152:	33 cd                	xor    %ebp,%ecx
403154:	5e                   	pop    %esi
403155:	e8 d6 d2 00 00       	call   0x410430
40315a:	c9                   	leave
40315b:	c2 04 00             	ret    $0x4
40315e:	cc                   	int3
40315f:	cc                   	int3
403160:	8b ff                	mov    %edi,%edi
403162:	55                   	push   %ebp
403163:	8b ec                	mov    %esp,%ebp
403165:	53                   	push   %ebx
403166:	56                   	push   %esi
403167:	8b 75 10             	mov    0x10(%ebp),%esi
40316a:	33 c9                	xor    %ecx,%ecx
40316c:	57                   	push   %edi
40316d:	8b 7d 0c             	mov    0xc(%ebp),%edi
403170:	bb 40 12 40 00       	mov    $0x401240,%ebx
403175:	8b d1                	mov    %ecx,%edx
403177:	89 0e                	mov    %ecx,(%esi)
403179:	8b 04 97             	mov    (%edi,%edx,4),%eax
40317c:	3b 04 93             	cmp    (%ebx,%edx,4),%eax
40317f:	75 08                	jne    0x403189
403181:	42                   	inc    %edx
403182:	83 fa 04             	cmp    $0x4,%edx
403185:	75 f2                	jne    0x403179
403187:	eb 13                	jmp    0x40319c
403189:	ba 60 12 40 00       	mov    $0x401260,%edx
40318e:	8b 04 8f             	mov    (%edi,%ecx,4),%eax
403191:	3b 04 8a             	cmp    (%edx,%ecx,4),%eax
403194:	75 23                	jne    0x4031b9
403196:	41                   	inc    %ecx
403197:	83 f9 04             	cmp    $0x4,%ecx
40319a:	75 f2                	jne    0x40318e
40319c:	8b 4d 08             	mov    0x8(%ebp),%ecx
40319f:	89 0e                	mov    %ecx,(%esi)
4031a1:	85 c9                	test   %ecx,%ecx
4031a3:	74 14                	je     0x4031b9
4031a5:	8b 01                	mov    (%ecx),%eax
4031a7:	51                   	push   %ecx
4031a8:	8b 70 04             	mov    0x4(%eax),%esi
4031ab:	8b ce                	mov    %esi,%ecx
4031ad:	ff 15 18 34 43 00    	call   *0x433418
4031b3:	ff d6                	call   *%esi
4031b5:	33 c0                	xor    %eax,%eax
4031b7:	eb 05                	jmp    0x4031be
4031b9:	b8 02 40 00 80       	mov    $0x80004002,%eax
4031be:	5f                   	pop    %edi
4031bf:	5e                   	pop    %esi
4031c0:	5b                   	pop    %ebx
4031c1:	5d                   	pop    %ebp
4031c2:	c2 0c 00             	ret    $0xc
4031c5:	cc                   	int3
4031c6:	cc                   	int3
4031c7:	cc                   	int3
4031c8:	cc                   	int3
4031c9:	cc                   	int3
4031ca:	cc                   	int3
4031cb:	cc                   	int3
4031cc:	cc                   	int3
4031cd:	cc                   	int3
4031ce:	cc                   	int3
4031cf:	cc                   	int3
4031d0:	8b ff                	mov    %edi,%edi
4031d2:	55                   	push   %ebp
4031d3:	8b ec                	mov    %esp,%ebp
4031d5:	8b 4d 08             	mov    0x8(%ebp),%ecx
4031d8:	33 c0                	xor    %eax,%eax
4031da:	40                   	inc    %eax
4031db:	f0 0f c1 41 04       	lock xadd %eax,0x4(%ecx)
4031e0:	40                   	inc    %eax
4031e1:	5d                   	pop    %ebp
4031e2:	c2 04 00             	ret    $0x4
4031e5:	cc                   	int3
4031e6:	cc                   	int3
4031e7:	cc                   	int3
4031e8:	cc                   	int3
4031e9:	cc                   	int3
4031ea:	cc                   	int3
4031eb:	cc                   	int3
4031ec:	cc                   	int3
4031ed:	cc                   	int3
4031ee:	cc                   	int3
4031ef:	cc                   	int3
4031f0:	8b ff                	mov    %edi,%edi
4031f2:	55                   	push   %ebp
4031f3:	8b ec                	mov    %esp,%ebp
4031f5:	8b 45 08             	mov    0x8(%ebp),%eax
4031f8:	56                   	push   %esi
4031f9:	83 ce ff             	or     $0xffffffff,%esi
4031fc:	f0 0f c1 70 04       	lock xadd %esi,0x4(%eax)
403201:	4e                   	dec    %esi
403202:	75 07                	jne    0x40320b
403204:	50                   	push   %eax
403205:	e8 c0 ce 00 00       	call   0x4100ca
40320a:	59                   	pop    %ecx
40320b:	8b c6                	mov    %esi,%eax
40320d:	5e                   	pop    %esi
40320e:	5d                   	pop    %ebp
40320f:	c2 04 00             	ret    $0x4
403212:	cc                   	int3
403213:	cc                   	int3
403214:	cc                   	int3
403215:	cc                   	int3
403216:	cc                   	int3
403217:	cc                   	int3
403218:	cc                   	int3
403219:	cc                   	int3
40321a:	cc                   	int3
40321b:	cc                   	int3
40321c:	cc                   	int3
40321d:	cc                   	int3
40321e:	cc                   	int3
40321f:	cc                   	int3
403220:	8b ff                	mov    %edi,%edi
403222:	55                   	push   %ebp
403223:	8b ec                	mov    %esp,%ebp
403225:	53                   	push   %ebx
403226:	56                   	push   %esi
403227:	8b 75 0c             	mov    0xc(%ebp),%esi
40322a:	33 c0                	xor    %eax,%eax
40322c:	57                   	push   %edi
40322d:	8b 7d 10             	mov    0x10(%ebp),%edi
403230:	33 d2                	xor    %edx,%edx
403232:	42                   	inc    %edx
403233:	bb 64 00 04 80       	mov    $0x80040064,%ebx
403238:	89 07                	mov    %eax,(%edi)
40323a:	89 47 08             	mov    %eax,0x8(%edi)
40323d:	89 47 04             	mov    %eax,0x4(%edi)
403240:	0f b7 06             	movzwl (%esi),%eax
403243:	8b c8                	mov    %eax,%ecx
403245:	66 3b c2             	cmp    %dx,%ax
403248:	75 1a                	jne    0x403264
40324a:	8b ca                	mov    %edx,%ecx
40324c:	39 56 08             	cmp    %edx,0x8(%esi)
40324f:	75 13                	jne    0x403264
403251:	39 56 10             	cmp    %edx,0x10(%esi)
403254:	75 0e                	jne    0x403264
403256:	8b 4d 08             	mov    0x8(%ebp),%ecx
403259:	57                   	push   %edi
40325a:	e8 b5 05 00 00       	call   0x403814
40325f:	0f b7 0e             	movzwl (%esi),%ecx
403262:	8b d8                	mov    %eax,%ebx
403264:	6a 0d                	push   $0xd
403266:	58                   	pop    %eax
403267:	0f b7 d1             	movzwl %cx,%edx
40326a:	66 3b c8             	cmp    %ax,%cx
40326d:	75 1c                	jne    0x40328b
40326f:	83 7e 08 01          	cmpl   $0x1,0x8(%esi)
403273:	8b d0                	mov    %eax,%edx
403275:	75 14                	jne    0x40328b
403277:	83 7e 10 01          	cmpl   $0x1,0x10(%esi)
40327b:	75 0e                	jne    0x40328b
40327d:	8b 4d 08             	mov    0x8(%ebp),%ecx
403280:	57                   	push   %edi
403281:	e8 2a 06 00 00       	call   0x4038b0
403286:	0f b7 16             	movzwl (%esi),%edx
403289:	8b d8                	mov    %eax,%ebx
40328b:	66 3b 15 a0 16 41 00 	cmp    0x4116a0,%dx
403292:	75 17                	jne    0x4032ab
403294:	83 7e 08 01          	cmpl   $0x1,0x8(%esi)
403298:	75 11                	jne    0x4032ab
40329a:	83 7e 10 01          	cmpl   $0x1,0x10(%esi)
40329e:	75 0b                	jne    0x4032ab
4032a0:	8b 4d 08             	mov    0x8(%ebp),%ecx
4032a3:	57                   	push   %edi
4032a4:	e8 2f 01 00 00       	call   0x4033d8
4032a9:	8b d8                	mov    %eax,%ebx
4032ab:	5f                   	pop    %edi
4032ac:	5e                   	pop    %esi
4032ad:	8b c3                	mov    %ebx,%eax
4032af:	5b                   	pop    %ebx
4032b0:	5d                   	pop    %ebp
4032b1:	c2 0c 00             	ret    $0xc
4032b4:	cc                   	int3
4032b5:	cc                   	int3
4032b6:	cc                   	int3
4032b7:	cc                   	int3
4032b8:	cc                   	int3
4032b9:	cc                   	int3
4032ba:	cc                   	int3
4032bb:	cc                   	int3
4032bc:	cc                   	int3
4032bd:	cc                   	int3
4032be:	cc                   	int3
4032bf:	cc                   	int3
4032c0:	b8 64 00 04 80       	mov    $0x80040064,%eax
4032c5:	c2 0c 00             	ret    $0xc
4032c8:	cc                   	int3
4032c9:	cc                   	int3
4032ca:	cc                   	int3
4032cb:	cc                   	int3
4032cc:	cc                   	int3
4032cd:	cc                   	int3
4032ce:	cc                   	int3
4032cf:	cc                   	int3
4032d0:	8b ff                	mov    %edi,%edi
4032d2:	55                   	push   %ebp
4032d3:	8b ec                	mov    %esp,%ebp
4032d5:	8b 45 0c             	mov    0xc(%ebp),%eax
4032d8:	b9 64 00 04 80       	mov    $0x80040064,%ecx
4032dd:	56                   	push   %esi
4032de:	33 f6                	xor    %esi,%esi
4032e0:	46                   	inc    %esi
4032e1:	0f b7 10             	movzwl (%eax),%edx
4032e4:	66 3b d6             	cmp    %si,%dx
4032e7:	74 05                	je     0x4032ee
4032e9:	83 fa 0d             	cmp    $0xd,%edx
4032ec:	75 0f                	jne    0x4032fd
4032ee:	39 70 08             	cmp    %esi,0x8(%eax)
4032f1:	75 0a                	jne    0x4032fd
4032f3:	f6 40 10 01          	testb  $0x1,0x10(%eax)
4032f7:	74 04                	je     0x4032fd
4032f9:	33 c9                	xor    %ecx,%ecx
4032fb:	eb 1e                	jmp    0x40331b
4032fd:	66 3b 15 a0 16 41 00 	cmp    0x4116a0,%dx
403304:	75 15                	jne    0x40331b
403306:	39 70 08             	cmp    %esi,0x8(%eax)
403309:	75 10                	jne    0x40331b
40330b:	8a 40 10             	mov    0x10(%eax),%al
40330e:	24 01                	and    $0x1,%al
403310:	0f b6 c0             	movzbl %al,%eax
403313:	f7 d8                	neg    %eax
403315:	1b c0                	sbb    %eax,%eax
403317:	f7 d0                	not    %eax
403319:	23 c8                	and    %eax,%ecx
40331b:	8b c1                	mov    %ecx,%eax
40331d:	5e                   	pop    %esi
40331e:	5d                   	pop    %ebp
40331f:	c2 08 00             	ret    $0x8
403322:	cc                   	int3
403323:	cc                   	int3
403324:	cc                   	int3
403325:	cc                   	int3
403326:	cc                   	int3
403327:	cc                   	int3
403328:	cc                   	int3
403329:	cc                   	int3
40332a:	cc                   	int3
40332b:	cc                   	int3
40332c:	cc                   	int3
40332d:	cc                   	int3
40332e:	cc                   	int3
40332f:	cc                   	int3
403330:	8b ff                	mov    %edi,%edi
403332:	55                   	push   %ebp
403333:	8b ec                	mov    %esp,%ebp
403335:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
403339:	75 07                	jne    0x403342
40333b:	b8 57 00 07 80       	mov    $0x80070057,%eax
403340:	eb 0c                	jmp    0x40334e
403342:	8b 45 10             	mov    0x10(%ebp),%eax
403345:	83 60 04 00          	andl   $0x0,0x4(%eax)
403349:	b8 01 40 00 80       	mov    $0x80004001,%eax
40334e:	5d                   	pop    %ebp
40334f:	c2 0c 00             	ret    $0xc
403352:	cc                   	int3
403353:	cc                   	int3
403354:	cc                   	int3
403355:	cc                   	int3
403356:	cc                   	int3
403357:	cc                   	int3
403358:	cc                   	int3
403359:	cc                   	int3
40335a:	cc                   	int3
40335b:	cc                   	int3
40335c:	cc                   	int3
40335d:	cc                   	int3
40335e:	cc                   	int3
40335f:	cc                   	int3
403360:	b8 01 40 00 80       	mov    $0x80004001,%eax
403365:	c2 10 00             	ret    $0x10
403368:	cc                   	int3
403369:	cc                   	int3
40336a:	cc                   	int3
40336b:	cc                   	int3
40336c:	cc                   	int3
40336d:	cc                   	int3
40336e:	cc                   	int3
40336f:	cc                   	int3
403370:	8b ff                	mov    %edi,%edi
403372:	55                   	push   %ebp
403373:	8b ec                	mov    %esp,%ebp
403375:	56                   	push   %esi
403376:	8b 75 10             	mov    0x10(%ebp),%esi
403379:	83 26 00             	andl   $0x0,(%esi)
40337c:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)
403380:	75 1f                	jne    0x4033a1
403382:	6a 03                	push   $0x3
403384:	ba 6c 10 41 00       	mov    $0x41106c,%edx
403389:	59                   	pop    %ecx
40338a:	e8 51 f9 ff ff       	call   0x402ce0
40338f:	89 06                	mov    %eax,(%esi)
403391:	f7 d8                	neg    %eax
403393:	1b c0                	sbb    %eax,%eax
403395:	25 f2 ff f8 7f       	and    $0x7ff8fff2,%eax
40339a:	05 0e 00 07 80       	add    $0x8007000e,%eax
40339f:	eb 14                	jmp    0x4033b5
4033a1:	33 c0                	xor    %eax,%eax
4033a3:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)
4033a7:	0f 95 c0             	setne  %al
4033aa:	48                   	dec    %eax
4033ab:	25 aa 3f f9 ff       	and    $0xfff93faa,%eax
4033b0:	05 57 00 07 80       	add    $0x80070057,%eax
4033b5:	5e                   	pop    %esi
4033b6:	5d                   	pop    %ebp
4033b7:	c2 0c 00             	ret    $0xc
4033ba:	cc                   	int3
4033bb:	cc                   	int3
4033bc:	cc                   	int3
4033bd:	cc                   	int3
4033be:	cc                   	int3
4033bf:	cc                   	int3
4033c0:	b8 03 00 04 80       	mov    $0x80040003,%eax
4033c5:	c2 14 00             	ret    $0x14
4033c8:	cc                   	int3
4033c9:	cc                   	int3
4033ca:	cc                   	int3
4033cb:	cc                   	int3
4033cc:	cc                   	int3
4033cd:	cc                   	int3
4033ce:	cc                   	int3
4033cf:	cc                   	int3
4033d0:	b8 03 00 04 80       	mov    $0x80040003,%eax
4033d5:	c2 08 00             	ret    $0x8
4033d8:	8b ff                	mov    %edi,%edi
4033da:	55                   	push   %ebp
4033db:	8b ec                	mov    %esp,%ebp
4033dd:	81 ec 58 03 00 00    	sub    $0x358,%esp
4033e3:	a1 64 10 41 00       	mov    0x411064,%eax
4033e8:	33 c5                	xor    %ebp,%eax
4033ea:	89 45 fc             	mov    %eax,-0x4(%ebp)