403131:	50                   	push   %eax
403132:	8b 08                	mov    (%eax),%ecx
403134:	8b 71 08             	mov    0x8(%ecx),%esi
403137:	8b ce                	mov    %esi,%ecx
403139:	ff 15 90 61 40 00    	call   *0x406190
40313f:	ff d6                	call   *%esi
403141:	8b 4d fc             	mov    -0x4(%ebp),%ecx
403144:	33 c0                	xor    %eax,%eax
403146:	5f                   	pop    %edi
403147:	5e                   	pop    %esi
403148:	33 cd                	xor    %ebp,%ecx
40314a:	5b                   	pop    %ebx
40314b:	e8 50 11 00 00       	call   0x4042a0
403150:	c9                   	leave
403151:	c2 04 00             	ret    $0x4
403154:	cc                   	int3
403155:	cc                   	int3
403156:	cc                   	int3
403157:	cc                   	int3
403158:	cc                   	int3
403159:	cc                   	int3
40315a:	cc                   	int3
40315b:	cc                   	int3
40315c:	cc                   	int3
40315d:	cc                   	int3
40315e:	cc                   	int3
40315f:	cc                   	int3
403160:	8b ff                	mov    %edi,%edi
403162:	55                   	push   %ebp
403163:	8b ec                	mov    %esp,%ebp
403165:	56                   	push   %esi
403166:	57                   	push   %edi
403167:	8b 7d 08             	mov    0x8(%ebp),%edi
40316a:	83 7f 30 00          	cmpl   $0x0,0x30(%edi)
40316e:	7c 33                	jl     0x4031a3
403170:	53                   	push   %ebx
403171:	8b 5f 34             	mov    0x34(%edi),%ebx
403174:	85 db                	test   %ebx,%ebx
403176:	74 2a                	je     0x4031a2
403178:	8b 03                	mov    (%ebx),%eax
40317a:	53                   	push   %ebx
40317b:	8b 70 04             	mov    0x4(%eax),%esi
40317e:	8b ce                	mov    %esi,%ecx
403180:	ff 15 90 61 40 00    	call   *0x406190
403186:	ff d6                	call   *%esi
403188:	8b 57 28             	mov    0x28(%edi),%edx
40318b:	8b cb                	mov    %ebx,%ecx
40318d:	e8 33 fe ff ff       	call   0x402fc5
403192:	8b 03                	mov    (%ebx),%eax
403194:	53                   	push   %ebx
403195:	8b 70 08             	mov    0x8(%eax),%esi
403198:	8b ce                	mov    %esi,%ecx
40319a:	ff 15 90 61 40 00    	call   *0x406190
4031a0:	ff d6                	call   *%esi
4031a2:	5b                   	pop    %ebx
4031a3:	8b 07                	mov    (%edi),%eax
4031a5:	57                   	push   %edi
4031a6:	8b 70 08             	mov    0x8(%eax),%esi
4031a9:	8b ce                	mov    %esi,%ecx
4031ab:	ff 15 90 61 40 00    	call   *0x406190
4031b1:	ff d6                	call   *%esi
4031b3:	5f                   	pop    %edi
4031b4:	33 c0                	xor    %eax,%eax
4031b6:	5e                   	pop    %esi
4031b7:	5d                   	pop    %ebp
4031b8:	c2 04 00             	ret    $0x4
4031bb:	cc                   	int3
4031bc:	cc                   	int3
4031bd:	cc                   	int3
4031be:	cc                   	int3
4031bf:	cc                   	int3
4031c0:	8b ff                	mov    %edi,%edi
4031c2:	55                   	push   %ebp
4031c3:	8b ec                	mov    %esp,%ebp
4031c5:	83 ec 2c             	sub    $0x2c,%esp
4031c8:	8b 45 08             	mov    0x8(%ebp),%eax
4031cb:	53                   	push   %ebx
4031cc:	8b 5d 10             	mov    0x10(%ebp),%ebx
4031cf:	56                   	push   %esi
4031d0:	8b 75 14             	mov    0x14(%ebp),%esi
4031d3:	89 45 d4             	mov    %eax,-0x2c(%ebp)
4031d6:	89 5d dc             	mov    %ebx,-0x24(%ebp)
4031d9:	89 75 d8             	mov    %esi,-0x28(%ebp)
4031dc:	57                   	push   %edi
4031dd:	bf 57 00 07 80       	mov    $0x80070057,%edi
4031e2:	85 f6                	test   %esi,%esi
4031e4:	0f 84 14 01 00 00    	je     0x4032fe
4031ea:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
4031ee:	0f 85 0a 01 00 00    	jne    0x4032fe
4031f4:	83 26 00             	andl   $0x0,(%esi)
4031f7:	8d 50 0c             	lea    0xc(%eax),%edx
4031fa:	33 c9                	xor    %ecx,%ecx
4031fc:	8b 04 8a             	mov    (%edx,%ecx,4),%eax
4031ff:	bb ec 14 40 00       	mov    $0x4014ec,%ebx
403204:	3b 04 8b             	cmp    (%ebx,%ecx,4),%eax
403207:	8b 5d dc             	mov    -0x24(%ebp),%ebx
40320a:	75 1a                	jne    0x403226
40320c:	41                   	inc    %ecx
40320d:	83 f9 04             	cmp    $0x4,%ecx
403210:	75 ea                	jne    0x4031fc
403212:	56                   	push   %esi
403213:	53                   	push   %ebx
403214:	6a 01                	push   $0x1
403216:	6a 00                	push   $0x0
403218:	52                   	push   %edx
403219:	ff 15 d8 60 40 00    	call   *0x4060d8
40321f:	8b f8                	mov    %eax,%edi
403221:	e9 d8 00 00 00       	jmp    0x4032fe
403226:	6a 3c                	push   $0x3c
403228:	e8 0e 0d 00 00       	call   0x403f3b
40322d:	8b d8                	mov    %eax,%ebx
40322f:	59                   	pop    %ecx
403230:	85 db                	test   %ebx,%ebx
403232:	74 5b                	je     0x40328f
403234:	8b 75 dc             	mov    -0x24(%ebp),%esi
403237:	8d 7d e0             	lea    -0x20(%ebp),%edi
40323a:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40323d:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40323e:	8b 48 1c             	mov    0x1c(%eax),%ecx
403241:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403242:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403243:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403244:	8d 70 0c             	lea    0xc(%eax),%esi
403247:	8d 7d f0             	lea    -0x10(%ebp),%edi
40324a:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40324b:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40324c:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40324d:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40324e:	8d 7b 08             	lea    0x8(%ebx),%edi
403251:	83 63 2c 00          	andl   $0x0,0x2c(%ebx)
403255:	8d 75 f0             	lea    -0x10(%ebp),%esi
403258:	83 63 34 00          	andl   $0x0,0x34(%ebx)
40325c:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40325d:	c7 03 1c 10 40 00    	movl   $0x40101c,(%ebx)
403263:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)
40326a:	89 4b 28             	mov    %ecx,0x28(%ebx)
40326d:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40326e:	c7 43 30 ff ff 00 80 	movl   $0x8000ffff,0x30(%ebx)
403275:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403276:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403277:	8d 7b 18             	lea    0x18(%ebx),%edi
40327a:	8d 75 e0             	lea    -0x20(%ebp),%esi
40327d:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40327e:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40327f:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403280:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403281:	83 63 38 00          	andl   $0x0,0x38(%ebx)
403285:	bf 57 00 07 80       	mov    $0x80070057,%edi
40328a:	8b 75 d8             	mov    -0x28(%ebp),%esi
40328d:	eb 02                	jmp    0x403291
40328f:	33 db                	xor    %ebx,%ebx
403291:	85 db                	test   %ebx,%ebx
403293:	74 64                	je     0x4032f9
403295:	68 d0 30 40 00       	push   $0x4030d0
40329a:	6a 0c                	push   $0xc
40329c:	53                   	push   %ebx
40329d:	68 60 31 40 00       	push   $0x403160
4032a2:	ff 15 8c 60 40 00    	call   *0x40608c
4032a8:	85 c0                	test   %eax,%eax
4032aa:	74 3b                	je     0x4032e7
4032ac:	8b 7b 30             	mov    0x30(%ebx),%edi
4032af:	85 ff                	test   %edi,%edi
4032b1:	78 34                	js     0x4032e7
4032b3:	33 c0                	xor    %eax,%eax
4032b5:	bf 05 40 00 80       	mov    $0x80004005,%edi
4032ba:	39 43 2c             	cmp    %eax,0x2c(%ebx)
4032bd:	74 28                	je     0x4032e7
4032bf:	39 43 38             	cmp    %eax,0x38(%ebx)
4032c2:	74 23                	je     0x4032e7
4032c4:	89 06                	mov    %eax,(%esi)
4032c6:	39 43 38             	cmp    %eax,0x38(%ebx)
4032c9:	74 1c                	je     0x4032e7
4032cb:	8b 4b 38             	mov    0x38(%ebx),%ecx
4032ce:	56                   	push   %esi
4032cf:	ff 75 dc             	push   -0x24(%ebp)
4032d2:	89 43 38             	mov    %eax,0x38(%ebx)
4032d5:	89 4d d8             	mov    %ecx,-0x28(%ebp)
4032d8:	e8 cd f9 ff ff       	call   0x402caa
4032dd:	8d 4d d8             	lea    -0x28(%ebp),%ecx
4032e0:	8b f8                	mov    %eax,%edi
4032e2:	e8 0a 04 00 00       	call   0x4036f1
4032e7:	8b 03                	mov    (%ebx),%eax
4032e9:	53                   	push   %ebx
4032ea:	8b 70 08             	mov    0x8(%eax),%esi
4032ed:	8b ce                	mov    %esi,%ecx
4032ef:	ff 15 90 61 40 00    	call   *0x406190
4032f5:	ff d6                	call   *%esi
4032f7:	eb 05                	jmp    0x4032fe
4032f9:	bf 0e 00 07 80       	mov    $0x8007000e,%edi
4032fe:	8b c7                	mov    %edi,%eax
403300:	5f                   	pop    %edi
403301:	5e                   	pop    %esi
403302:	5b                   	pop    %ebx
403303:	c9                   	leave
403304:	c2 10 00             	ret    $0x10
403307:	cc                   	int3
403308:	cc                   	int3
403309:	cc                   	int3
40330a:	cc                   	int3
40330b:	cc                   	int3
40330c:	cc                   	int3
40330d:	cc                   	int3
40330e:	cc                   	int3
40330f:	cc                   	int3
403310:	8b ff                	mov    %edi,%edi
403312:	55                   	push   %ebp
403313:	8b ec                	mov    %esp,%ebp
403315:	56                   	push   %esi
403316:	8b 75 08             	mov    0x8(%ebp),%esi
403319:	ff 76 04             	push   0x4(%esi)
40331c:	ff 15 b8 60 40 00    	call   *0x4060b8
403322:	8b 06                	mov    (%esi),%eax
403324:	56                   	push   %esi
403325:	8b 70 08             	mov    0x8(%eax),%esi
403328:	8b ce                	mov    %esi,%ecx
40332a:	ff 15 90 61 40 00    	call   *0x406190
403330:	ff d6                	call   *%esi
403332:	33 c0                	xor    %eax,%eax
403334:	40                   	inc    %eax
403335:	5e                   	pop    %esi
403336:	5d                   	pop    %ebp
403337:	c2 08 00             	ret    $0x8
40333a:	cc                   	int3
40333b:	cc                   	int3
40333c:	cc                   	int3
40333d:	cc                   	int3
40333e:	cc                   	int3
40333f:	cc                   	int3
403340:	8b ff                	mov    %edi,%edi
403342:	55                   	push   %ebp
403343:	8b ec                	mov    %esp,%ebp
403345:	8b 4d 08             	mov    0x8(%ebp),%ecx
403348:	33 c0                	xor    %eax,%eax
40334a:	40                   	inc    %eax
40334b:	f0 0f c1 41 10       	lock xadd %eax,0x10(%ecx)
403350:	40                   	inc    %eax
403351:	5d                   	pop    %ebp
403352:	c2 04 00             	ret    $0x4
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:	8b ff                	mov    %edi,%edi
403362:	55                   	push   %ebp
403363:	8b ec                	mov    %esp,%ebp
403365:	56                   	push   %esi
403366:	8b 75 08             	mov    0x8(%ebp),%esi
403369:	57                   	push   %edi
40336a:	83 cf ff             	or     $0xffffffff,%edi
40336d:	f0 0f c1 7e 10       	lock xadd %edi,0x10(%esi)
403372:	4f                   	dec    %edi
403373:	75 13                	jne    0x403388
403375:	85 f6                	test   %esi,%esi
403377:	74 0f                	je     0x403388
403379:	8d 4e 0c             	lea    0xc(%esi),%ecx
40337c:	e8 3b 03 00 00       	call   0x4036bc
403381:	56                   	push   %esi
403382:	e8 dd 0b 00 00       	call   0x403f64
403387:	59                   	pop    %ecx
403388:	8b c7                	mov    %edi,%eax
40338a:	5f                   	pop    %edi
40338b:	5e                   	pop    %esi
40338c:	5d                   	pop    %ebp
40338d:	c2 04 00             	ret    $0x4
403390:	8b ff                	mov    %edi,%edi
403392:	55                   	push   %ebp
403393:	8b ec                	mov    %esp,%ebp
403395:	ff 75 10             	push   0x10(%ebp)
403398:	ff 75 0c             	push   0xc(%ebp)
40339b:	68 7c 10 40 00       	push   $0x40107c
4033a0:	ff 75 08             	push   0x8(%ebp)
4033a3:	ff 15 88 60 40 00    	call   *0x406088
4033a9:	5d                   	pop    %ebp
4033aa:	c2 0c 00             	ret    $0xc
4033ad:	cc                   	int3
4033ae:	cc                   	int3
4033af:	cc                   	int3
4033b0:	8b ff                	mov    %edi,%edi
4033b2:	55                   	push   %ebp
4033b3:	8b ec                	mov    %esp,%ebp
4033b5:	56                   	push   %esi
4033b6:	8b 75 08             	mov    0x8(%ebp),%esi
4033b9:	57                   	push   %edi
4033ba:	83 7e 0c 00          	cmpl   $0x0,0xc(%esi)
4033be:	75 16                	jne    0x4033d6
4033c0:	6a 08                	push   $0x8
4033c2:	ff 15 00 60 40 00    	call   *0x406000
4033c8:	89 46 0c             	mov    %eax,0xc(%esi)
4033cb:	85 c0                	test   %eax,%eax
4033cd:	75 07                	jne    0x4033d6
4033cf:	bf 0e 00 07 80       	mov    $0x8007000e,%edi
4033d4:	eb 77                	jmp    0x40344d
4033d6:	53                   	push   %ebx
4033d7:	6a 20                	push   $0x20
4033d9:	e8 5d 0b 00 00       	call   0x403f3b
4033de:	8b d8                	mov    %eax,%ebx
4033e0:	59                   	pop    %ecx
4033e1:	85 db                	test   %ebx,%ebx
4033e3:	74 22                	je     0x403407
4033e5:	8b 4e 04             	mov    0x4(%esi),%ecx
4033e8:	8d 7b 0c             	lea    0xc(%ebx),%edi
4033eb:	8b 75 0c             	mov    0xc(%ebp),%esi
4033ee:	c7 03 54 10 40 00    	movl   $0x401054,(%ebx)
4033f4:	c7 43 08 01 00 00 00 	movl   $0x1,0x8(%ebx)
4033fb:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4033fc:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4033fd:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4033fe:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4033ff:	8b 75 08             	mov    0x8(%ebp),%esi
403402:	89 4b 1c             	mov    %ecx,0x1c(%ebx)
403405:	eb 02                	jmp    0x403409
403407:	33 db                	xor    %ebx,%ebx
403409:	85 db                	test   %ebx,%ebx
40340b:	74 3a                	je     0x403447
40340d:	8d 43 04             	lea    0x4(%ebx),%eax
403410:	50                   	push   %eax
403411:	6a 08                	push   $0x8
403413:	6a 04                	push   $0x4
403415:	53                   	push   %ebx
403416:	ff 75 0c             	push   0xc(%ebp)
403419:	ff 15 d4 60 40 00    	call   *0x4060d4
40341f:	8b f8                	mov    %eax,%edi
403421:	53                   	push   %ebx
403422:	85 ff                	test   %edi,%edi
403424:	78 10                	js     0x403436
403426:	68 ff ff ff 7f       	push   $0x7fffffff
40342b:	ff 76 0c             	push   0xc(%esi)
40342e:	ff 15 0c 60 40 00    	call   *0x40600c
403434:	eb 16                	jmp    0x40344c
403436:	8b 03                	mov    (%ebx),%eax
403438:	8b 70 08             	mov    0x8(%eax),%esi
40343b:	8b ce                	mov    %esi,%ecx
40343d:	ff 15 90 61 40 00    	call   *0x406190
403443:	ff d6                	call   *%esi
403445:	eb 05                	jmp    0x40344c
403447:	bf 0e 00 07 80       	mov    $0x8007000e,%edi
40344c:	5b                   	pop    %ebx
40344d:	ff 15 c0 60 40 00    	call   *0x4060c0
403453:	8b c7                	mov    %edi,%eax
403455:	5f                   	pop    %edi
403456:	5e                   	pop    %esi
403457:	5d                   	pop    %ebp
403458:	c2 08 00             	ret    $0x8