40ffc8:	03 9c c6 00 fd ff ff 	add    -0x300(%esi,%eax,8),%ebx
40ffcf:	8b 75 08             	mov    0x8(%ebp),%esi
40ffd2:	3b 9c 86 00 ff ff ff 	cmp    -0x100(%esi,%eax,4),%ebx
40ffd9:	7f 22                	jg     0x40fffd
40ffdb:	85 c0                	test   %eax,%eax
40ffdd:	75 04                	jne    0x40ffe3
40ffdf:	33 d2                	xor    %edx,%edx
40ffe1:	eb 1a                	jmp    0x40fffd
40ffe3:	8b 55 08             	mov    0x8(%ebp),%edx
40ffe6:	8b 55 08             	mov    0x8(%ebp),%edx
40ffe9:	89 8c 82 00 ff ff ff 	mov    %ecx,-0x100(%edx,%eax,4)
40fff0:	8b 55 08             	mov    0x8(%ebp),%edx
40fff3:	52                   	push   %edx
40fff4:	48                   	dec    %eax
40fff5:	e8 ae ff ff ff       	call   0x40ffa8
40fffa:	59                   	pop    %ecx
40fffb:	8b d0                	mov    %eax,%edx
40fffd:	8b c2                	mov    %edx,%eax
40ffff:	5e                   	pop    %esi
410000:	5b                   	pop    %ebx
410001:	5d                   	pop    %ebp
410002:	c3                   	ret
410003:	90                   	nop
410004:	55                   	push   %ebp
410005:	8b ec                	mov    %esp,%ebp
410007:	81 c4 e0 fc ff ff    	add    $0xfffffce0,%esp
41000d:	53                   	push   %ebx
41000e:	56                   	push   %esi
41000f:	57                   	push   %edi
410010:	89 8d f8 fc ff ff    	mov    %ecx,-0x308(%ebp)
410016:	8b da                	mov    %edx,%ebx
410018:	89 85 fc fc ff ff    	mov    %eax,-0x304(%ebp)
41001e:	f6 43 01 20          	testb  $0x20,0x1(%ebx)
410022:	75 0a                	jne    0x41002e
410024:	b8 57 00 07 80       	mov    $0x80070057,%eax
410029:	e8 7e fb ff ff       	call   0x40fbac
41002e:	66 8b 03             	mov    (%ebx),%ax
410031:	8b d0                	mov    %eax,%edx
410033:	66 81 e2 ff 0f       	and    $0xfff,%dx
410038:	66 83 fa 0c          	cmp    $0xc,%dx
41003c:	0f 85 73 01 00 00    	jne    0x4101b5
410042:	f6 c4 40             	test   $0x40,%ah
410045:	74 0d                	je     0x410054
410047:	8b 43 08             	mov    0x8(%ebx),%eax
41004a:	8b 00                	mov    (%eax),%eax
41004c:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
410052:	eb 09                	jmp    0x41005d
410054:	8b 43 08             	mov    0x8(%ebx),%eax
410057:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
41005d:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
410063:	0f b7 00             	movzwl (%eax),%eax
410066:	89 85 f0 fc ff ff    	mov    %eax,-0x310(%ebp)
41006c:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
410072:	4b                   	dec    %ebx
410073:	85 db                	test   %ebx,%ebx
410075:	7c 6b                	jl     0x4100e2
410077:	43                   	inc    %ebx
410078:	33 ff                	xor    %edi,%edi
41007a:	8d b5 00 fd ff ff    	lea    -0x300(%ebp),%esi
410080:	8b c6                	mov    %esi,%eax
410082:	89 85 e0 fc ff ff    	mov    %eax,-0x320(%ebp)
410088:	8b 85 e0 fc ff ff    	mov    -0x320(%ebp),%eax
41008e:	83 c0 04             	add    $0x4,%eax
410091:	50                   	push   %eax
410092:	8d 47 01             	lea    0x1(%edi),%eax
410095:	50                   	push   %eax
410096:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
41009c:	50                   	push   %eax
41009d:	e8 ca ea ff ff       	call   0x40eb6c
4100a2:	e8 05 fb ff ff       	call   0x40fbac
4100a7:	8d 85 f4 fc ff ff    	lea    -0x30c(%ebp),%eax
4100ad:	50                   	push   %eax
4100ae:	8d 47 01             	lea    0x1(%edi),%eax
4100b1:	50                   	push   %eax
4100b2:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
4100b8:	50                   	push   %eax
4100b9:	e8 b6 ea ff ff       	call   0x40eb74
4100be:	e8 e9 fa ff ff       	call   0x40fbac
4100c3:	8b 85 e0 fc ff ff    	mov    -0x320(%ebp),%eax
4100c9:	8b 95 f4 fc ff ff    	mov    -0x30c(%ebp),%edx
4100cf:	2b 50 04             	sub    0x4(%eax),%edx
4100d2:	42                   	inc    %edx
4100d3:	8b 85 e0 fc ff ff    	mov    -0x320(%ebp),%eax
4100d9:	89 10                	mov    %edx,(%eax)
4100db:	47                   	inc    %edi
4100dc:	83 c6 08             	add    $0x8,%esi
4100df:	4b                   	dec    %ebx
4100e0:	75 9e                	jne    0x410080
4100e2:	8d 85 00 fd ff ff    	lea    -0x300(%ebp),%eax
4100e8:	50                   	push   %eax
4100e9:	8b 85 f0 fc ff ff    	mov    -0x310(%ebp),%eax
4100ef:	50                   	push   %eax
4100f0:	6a 0c                	push   $0xc
4100f2:	e8 6d ea ff ff       	call   0x40eb64
4100f7:	8b f0                	mov    %eax,%esi
4100f9:	85 f6                	test   %esi,%esi
4100fb:	75 05                	jne    0x410102
4100fd:	e8 02 f8 ff ff       	call   0x40f904
410102:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
410108:	e8 4f fe ff ff       	call   0x40ff5c
41010d:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
410113:	66 c7 00 0c 20       	movw   $0x200c,(%eax)
410118:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
41011e:	89 70 08             	mov    %esi,0x8(%eax)
410121:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
410127:	4b                   	dec    %ebx
410128:	85 db                	test   %ebx,%ebx
41012a:	7c 1a                	jl     0x410146
41012c:	43                   	inc    %ebx
41012d:	8d 85 04 fd ff ff    	lea    -0x2fc(%ebp),%eax
410133:	8d 95 00 ff ff ff    	lea    -0x100(%ebp),%edx
410139:	8b 08                	mov    (%eax),%ecx
41013b:	89 0a                	mov    %ecx,(%edx)
41013d:	83 c2 04             	add    $0x4,%edx
410140:	83 c0 08             	add    $0x8,%eax
410143:	4b                   	dec    %ebx
410144:	75 f3                	jne    0x410139
410146:	55                   	push   %ebp
410147:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
41014d:	4b                   	dec    %ebx
41014e:	8b c3                	mov    %ebx,%eax
410150:	e8 23 fe ff ff       	call   0x40ff78
410155:	59                   	pop    %ecx
410156:	84 c0                	test   %al,%al
410158:	74 4c                	je     0x4101a6
41015a:	8d 85 e8 fc ff ff    	lea    -0x318(%ebp),%eax
410160:	50                   	push   %eax
410161:	8d 85 00 ff ff ff    	lea    -0x100(%ebp),%eax
410167:	50                   	push   %eax
410168:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
41016e:	50                   	push   %eax
41016f:	e8 28 ea ff ff       	call   0x40eb9c
410174:	e8 33 fa ff ff       	call   0x40fbac
410179:	8d 85 e4 fc ff ff    	lea    -0x31c(%ebp),%eax
41017f:	50                   	push   %eax
410180:	8d 85 00 ff ff ff    	lea    -0x100(%ebp),%eax
410186:	50                   	push   %eax
410187:	56                   	push   %esi
410188:	e8 0f ea ff ff       	call   0x40eb9c
41018d:	e8 1a fa ff ff       	call   0x40fbac
410192:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
410198:	8b d0                	mov    %eax,%edx
41019a:	8b 85 e4 fc ff ff    	mov    -0x31c(%ebp),%eax
4101a0:	ff 95 f8 fc ff ff    	call   *-0x308(%ebp)
4101a6:	55                   	push   %ebp
4101a7:	8b c3                	mov    %ebx,%eax
4101a9:	e8 fa fd ff ff       	call   0x40ffa8
4101ae:	59                   	pop    %ecx
4101af:	84 c0                	test   %al,%al
4101b1:	75 93                	jne    0x410146
4101b3:	eb 12                	jmp    0x4101c7
4101b5:	53                   	push   %ebx
4101b6:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
4101bc:	50                   	push   %eax
4101bd:	e8 46 e5 ff ff       	call   0x40e708
4101c2:	e8 e5 f9 ff ff       	call   0x40fbac
4101c7:	5f                   	pop    %edi
4101c8:	5e                   	pop    %esi
4101c9:	5b                   	pop    %ebx
4101ca:	8b e5                	mov    %ebp,%esp
4101cc:	5d                   	pop    %ebp
4101cd:	c3                   	ret
4101ce:	8b c0                	mov    %eax,%eax
4101d0:	e8 af 00 00 00       	call   0x410284
4101d5:	c3                   	ret
4101d6:	8b c0                	mov    %eax,%eax
4101d8:	53                   	push   %ebx
4101d9:	56                   	push   %esi
4101da:	57                   	push   %edi
4101db:	51                   	push   %ecx
4101dc:	8b f2                	mov    %edx,%esi
4101de:	8b d8                	mov    %eax,%ebx
4101e0:	66 f7 03 e8 bf       	testw  $0xbfe8,(%ebx)
4101e5:	74 07                	je     0x4101ee
4101e7:	8b c3                	mov    %ebx,%eax
4101e9:	e8 f2 fc ff ff       	call   0x40fee0
4101ee:	66 8b 3e             	mov    (%esi),%di
4101f1:	66 83 ff 14          	cmp    $0x14,%di
4101f5:	73 0e                	jae    0x410205
4101f7:	56                   	push   %esi
4101f8:	53                   	push   %ebx
4101f9:	e8 0a e5 ff ff       	call   0x40e708
4101fe:	e8 a9 f9 ff ff       	call   0x40fbac
410203:	eb 79                	jmp    0x41027e
410205:	66 81 ff 00 01       	cmp    $0x100,%di
41020a:	75 17                	jne    0x410223
41020c:	66 c7 03 00 01       	movw   $0x100,(%ebx)
410211:	33 c0                	xor    %eax,%eax
410213:	89 43 08             	mov    %eax,0x8(%ebx)
410216:	8d 43 08             	lea    0x8(%ebx),%eax
410219:	8b 56 08             	mov    0x8(%esi),%edx
41021c:	e8 97 3f ff ff       	call   0x4041b8
410221:	eb 5b                	jmp    0x41027e
410223:	66 81 ff 01 01       	cmp    $0x101,%di
410228:	75 13                	jne    0x41023d
41022a:	66 89 3b             	mov    %di,(%ebx)
41022d:	8b 46 08             	mov    0x8(%esi),%eax
410230:	89 43 08             	mov    %eax,0x8(%ebx)
410233:	8b c3                	mov    %ebx,%eax
410235:	ff 15 1c c8 49 00    	call   *0x49c81c
41023b:	eb 41                	jmp    0x41027e
41023d:	66 f7 c7 00 20       	test   $0x2000,%di
410242:	74 10                	je     0x410254
410244:	b9 d0 01 41 00       	mov    $0x4101d0,%ecx
410249:	8b d6                	mov    %esi,%edx
41024b:	8b c3                	mov    %ebx,%eax
41024d:	e8 b2 fd ff ff       	call   0x410004
410252:	eb 2a                	jmp    0x41027e
410254:	8b d4                	mov    %esp,%edx
410256:	8b c7                	mov    %edi,%eax
410258:	e8 3f 6e 00 00       	call   0x41709c
41025d:	84 c0                	test   %al,%al
41025f:	74 11                	je     0x410272
410261:	6a 00                	push   $0x0
410263:	8b ce                	mov    %esi,%ecx
410265:	8b d3                	mov    %ebx,%edx
410267:	8b 44 24 04          	mov    0x4(%esp),%eax
41026b:	8b 18                	mov    (%eax),%ebx
41026d:	ff 53 28             	call   *0x28(%ebx)
410270:	eb 0c                	jmp    0x41027e
410272:	56                   	push   %esi
410273:	53                   	push   %ebx
410274:	e8 8f e4 ff ff       	call   0x40e708
410279:	e8 2e f9 ff ff       	call   0x40fbac
41027e:	5a                   	pop    %edx
41027f:	5f                   	pop    %edi
410280:	5e                   	pop    %esi
410281:	5b                   	pop    %ebx
410282:	c3                   	ret
410283:	90                   	nop
410284:	53                   	push   %ebx
410285:	56                   	push   %esi
410286:	8b da                	mov    %edx,%ebx
410288:	8b f0                	mov    %eax,%esi
41028a:	3b f3                	cmp    %ebx,%esi
41028c:	74 36                	je     0x4102c4
41028e:	66 f7 03 e8 bf       	testw  $0xbfe8,(%ebx)
410293:	75 26                	jne    0x4102bb
410295:	66 f7 06 e8 bf       	testw  $0xbfe8,(%esi)
41029a:	74 07                	je     0x4102a3
41029c:	8b c6                	mov    %esi,%eax
41029e:	e8 3d fc ff ff       	call   0x40fee0
4102a3:	8b 03                	mov    (%ebx),%eax
4102a5:	89 06                	mov    %eax,(%esi)
4102a7:	8b 43 04             	mov    0x4(%ebx),%eax
4102aa:	89 46 04             	mov    %eax,0x4(%esi)
4102ad:	8b 43 08             	mov    0x8(%ebx),%eax
4102b0:	89 46 08             	mov    %eax,0x8(%esi)
4102b3:	8b 43 0c             	mov    0xc(%ebx),%eax
4102b6:	89 46 0c             	mov    %eax,0xc(%esi)
4102b9:	eb 09                	jmp    0x4102c4
4102bb:	8b d3                	mov    %ebx,%edx
4102bd:	8b c6                	mov    %esi,%eax
4102bf:	e8 14 ff ff ff       	call   0x4101d8
4102c4:	5e                   	pop    %esi
4102c5:	5b                   	pop    %ebx
4102c6:	c3                   	ret
4102c7:	90                   	nop
4102c8:	53                   	push   %ebx
4102c9:	56                   	push   %esi
4102ca:	8b f2                	mov    %edx,%esi
4102cc:	8b d8                	mov    %eax,%ebx
4102ce:	3b de                	cmp    %esi,%ebx
4102d0:	74 07                	je     0x4102d9
4102d2:	8b c3                	mov    %ebx,%eax
4102d4:	e8 83 fc ff ff       	call   0x40ff5c
4102d9:	56                   	push   %esi
4102da:	53                   	push   %ebx
4102db:	e8 30 e4 ff ff       	call   0x40e710
4102e0:	e8 c7 f8 ff ff       	call   0x40fbac
4102e5:	5e                   	pop    %esi
4102e6:	5b                   	pop    %ebx
4102e7:	c3                   	ret
4102e8:	92                   	xchg   %eax,%edx
4102e9:	e8 26 39 00 00       	call   0x413c14
4102ee:	c3                   	ret
4102ef:	90                   	nop
4102f0:	e8 0f 02 00 00       	call   0x410504
4102f5:	c3                   	ret
4102f6:	8b c0                	mov    %eax,%eax
4102f8:	53                   	push   %ebx
4102f9:	56                   	push   %esi
4102fa:	51                   	push   %ecx
4102fb:	8b da                	mov    %edx,%ebx
4102fd:	8b f0                	mov    %eax,%esi
4102ff:	8b d4                	mov    %esp,%edx
410301:	66 8b 03             	mov    (%ebx),%ax
410304:	e8 93 6d 00 00       	call   0x41709c
410309:	84 c0                	test   %al,%al
41030b:	74 11                	je     0x41031e
41030d:	6a 01                	push   $0x1
41030f:	8b cb                	mov    %ebx,%ecx
410311:	8b d6                	mov    %esi,%edx
410313:	8b 44 24 04          	mov    0x4(%esp),%eax
410317:	8b 18                	mov    (%eax),%ebx
410319:	ff 53 28             	call   *0x28(%ebx)
41031c:	eb 09                	jmp    0x410327
41031e:	8b d3                	mov    %ebx,%edx
410320:	8b c6                	mov    %esi,%eax
410322:	e8 a1 ff ff ff       	call   0x4102c8
410327:	5a                   	pop    %edx
410328:	5e                   	pop    %esi
410329:	5b                   	pop    %ebx
41032a:	c3                   	ret
41032b:	90                   	nop
41032c:	55                   	push   %ebp
41032d:	8b ec                	mov    %esp,%ebp
41032f:	6a 00                	push   $0x0
410331:	53                   	push   %ebx
410332:	56                   	push   %esi
410333:	8b da                	mov    %edx,%ebx
410335:	8b f0                	mov    %eax,%esi
410337:	33 c0                	xor    %eax,%eax
410339:	55                   	push   %ebp
41033a:	68 f5 04 41 00       	push   $0x4104f5
41033f:	64 ff 30             	push   %fs:(%eax)
410342:	64 89 20             	mov    %esp,%fs:(%eax)
410345:	66 8b 03             	mov    (%ebx),%ax
410348:	0f b7 d0             	movzwl %ax,%edx
41034b:	81 e2 ff bf ff ff    	and    $0xffffbfff,%edx
410351:	83 fa 14             	cmp    $0x14,%edx
410354:	0f 87 67 01 00 00    	ja     0x4104c1
41035a:	ff 24 95 61 03 41 00 	jmp    *0x410361(,%edx,4)
410361:	c1 04 41 00          	roll   $0x0,(%ecx,%eax,2)
410365:	c1 04 41 00          	roll   $0x0,(%ecx,%eax,2)
410369:	b5 03                	mov    $0x3,%ch
41036b:	41                   	inc    %ecx
41036c:	00 c9                	add    %cl,%cl
41036e:	03 41 00             	add    0x0(%ecx),%eax
410371:	dc 03                	faddl  (%ebx)
410373:	41                   	inc    %ecx
410374:	00 ed                	add    %ch,%ch
410376:	03 41 00             	add    0x0(%ecx),%eax
410379:	fe 03                	incb   (%ebx)
41037b:	41                   	inc    %ecx
41037c:	00 0f                	add    %cl,(%edi)
41037e:	04 41                	add    $0x41,%al
410380:	00 20                	add    %ah,(%eax)
410382:	04 41                	add    $0x41,%al
410384:	00 b6 04 41 00 c1    	add    %dh,-0x3effbefc(%esi)
41038a:	04 41                	add    $0x41,%al
41038c:	00 39                	add    %bh,(%ecx)
41038e:	04 41                	add    $0x41,%al
410390:	00 a8 04 41 00 b6    	add    %ch,-0x49ffbefc(%eax)
410396:	04 41                	add    $0x41,%al
410398:	00 c1                	add    %al,%cl
41039a:	04 41                	add    $0x41,%al
41039c:	00 c1                	add    %al,%cl
41039e:	04 41                	add    $0x41,%al
4103a0:	00 52 04             	add    %dl,0x4(%edx)