41a140:	8d 44 24 04          	lea    0x4(%esp),%eax
41a144:	8b 57 08             	mov    0x8(%edi),%edx
41a147:	b9 ff 00 00 00       	mov    $0xff,%ecx
41a14c:	e8 bb a6 fe ff       	call   0x40480c
41a151:	8d 54 24 04          	lea    0x4(%esp),%edx
41a155:	8b c6                	mov    %esi,%eax
41a157:	e8 70 99 fe ff       	call   0x403acc
41a15c:	89 04 24             	mov    %eax,(%esp)
41a15f:	83 3c 24 00          	cmpl   $0x0,(%esp)
41a163:	74 12                	je     0x41a177
41a165:	84 db                	test   %bl,%bl
41a167:	74 07                	je     0x41a170
41a169:	8b 04 24             	mov    (%esp),%eax
41a16c:	89 38                	mov    %edi,(%eax)
41a16e:	eb 07                	jmp    0x41a177
41a170:	8b 04 24             	mov    (%esp),%eax
41a173:	33 d2                	xor    %edx,%edx
41a175:	89 10                	mov    %edx,(%eax)
41a177:	81 c4 04 01 00 00    	add    $0x104,%esp
41a17d:	5f                   	pop    %edi
41a17e:	5e                   	pop    %esi
41a17f:	5b                   	pop    %ebx
41a180:	c3                   	ret
41a181:	8d 40 00             	lea    0x0(%eax),%eax
41a184:	53                   	push   %ebx
41a185:	56                   	push   %esi
41a186:	57                   	push   %edi
41a187:	8b fa                	mov    %edx,%edi
41a189:	8b f0                	mov    %eax,%esi
41a18b:	8b d6                	mov    %esi,%edx
41a18d:	8b c7                	mov    %edi,%eax
41a18f:	8b 08                	mov    (%eax),%ecx
41a191:	ff 51 38             	call   *0x38(%ecx)
41a194:	8b d8                	mov    %eax,%ebx
41a196:	84 db                	test   %bl,%bl
41a198:	74 09                	je     0x41a1a3
41a19a:	8b d6                	mov    %esi,%edx
41a19c:	8b c7                	mov    %edi,%eax
41a19e:	8b 08                	mov    (%eax),%ecx
41a1a0:	ff 51 40             	call   *0x40(%ecx)
41a1a3:	8b c3                	mov    %ebx,%eax
41a1a5:	5f                   	pop    %edi
41a1a6:	5e                   	pop    %esi
41a1a7:	5b                   	pop    %ebx
41a1a8:	c3                   	ret
41a1a9:	8d 40 00             	lea    0x0(%eax),%eax
41a1ac:	53                   	push   %ebx
41a1ad:	56                   	push   %esi
41a1ae:	57                   	push   %edi
41a1af:	8b fa                	mov    %edx,%edi
41a1b1:	8b f0                	mov    %eax,%esi
41a1b3:	8b d6                	mov    %esi,%edx
41a1b5:	8b c7                	mov    %edi,%eax
41a1b7:	8b 08                	mov    (%eax),%ecx
41a1b9:	ff 51 38             	call   *0x38(%ecx)
41a1bc:	8b d8                	mov    %eax,%ebx
41a1be:	84 db                	test   %bl,%bl
41a1c0:	74 09                	je     0x41a1cb
41a1c2:	8b d6                	mov    %esi,%edx
41a1c4:	8b c7                	mov    %edi,%eax
41a1c6:	8b 08                	mov    (%eax),%ecx
41a1c8:	ff 51 3c             	call   *0x3c(%ecx)
41a1cb:	8b c3                	mov    %ebx,%eax
41a1cd:	5f                   	pop    %edi
41a1ce:	5e                   	pop    %esi
41a1cf:	5b                   	pop    %ebx
41a1d0:	c3                   	ret
41a1d1:	8d 40 00             	lea    0x0(%eax),%eax
41a1d4:	53                   	push   %ebx
41a1d5:	83 78 20 00          	cmpl   $0x0,0x20(%eax)
41a1d9:	74 0a                	je     0x41a1e5
41a1db:	8b 40 20             	mov    0x20(%eax),%eax
41a1de:	8b 18                	mov    (%eax),%ebx
41a1e0:	ff 53 1c             	call   *0x1c(%ebx)
41a1e3:	5b                   	pop    %ebx
41a1e4:	c3                   	ret
41a1e5:	e8 56 98 fe ff       	call   0x403a40
41a1ea:	5b                   	pop    %ebx
41a1eb:	c3                   	ret
41a1ec:	55                   	push   %ebp
41a1ed:	8b ec                	mov    %esp,%ebp
41a1ef:	5d                   	pop    %ebp
41a1f0:	c2 04 00             	ret    $0x4
41a1f3:	90                   	nop
41a1f4:	55                   	push   %ebp
41a1f5:	8b ec                	mov    %esp,%ebp
41a1f7:	53                   	push   %ebx
41a1f8:	56                   	push   %esi
41a1f9:	57                   	push   %edi
41a1fa:	8b 7d 10             	mov    0x10(%ebp),%edi
41a1fd:	8b 75 0c             	mov    0xc(%ebp),%esi
41a200:	8b 5d 08             	mov    0x8(%ebp),%ebx
41a203:	83 7b 20 00          	cmpl   $0x0,0x20(%ebx)
41a207:	75 1a                	jne    0x41a223
41a209:	8b cf                	mov    %edi,%ecx
41a20b:	8b d6                	mov    %esi,%edx
41a20d:	8b c3                	mov    %ebx,%eax
41a20f:	e8 9c 96 fe ff       	call   0x4038b0
41a214:	84 c0                	test   %al,%al
41a216:	74 04                	je     0x41a21c
41a218:	33 c0                	xor    %eax,%eax
41a21a:	eb 11                	jmp    0x41a22d
41a21c:	b8 02 40 00 80       	mov    $0x80004002,%eax
41a221:	eb 0a                	jmp    0x41a22d
41a223:	57                   	push   %edi
41a224:	56                   	push   %esi
41a225:	8b 43 20             	mov    0x20(%ebx),%eax
41a228:	50                   	push   %eax
41a229:	8b 00                	mov    (%eax),%eax
41a22b:	ff 10                	call   *(%eax)
41a22d:	5f                   	pop    %edi
41a22e:	5e                   	pop    %esi
41a22f:	5b                   	pop    %ebx
41a230:	5d                   	pop    %ebp
41a231:	c2 0c 00             	ret    $0xc
41a234:	55                   	push   %ebp
41a235:	8b ec                	mov    %esp,%ebp
41a237:	8b 45 08             	mov    0x8(%ebp),%eax
41a23a:	83 78 20 00          	cmpl   $0x0,0x20(%eax)
41a23e:	75 05                	jne    0x41a245
41a240:	83 c8 ff             	or     $0xffffffff,%eax
41a243:	eb 09                	jmp    0x41a24e
41a245:	8b 40 20             	mov    0x20(%eax),%eax
41a248:	50                   	push   %eax
41a249:	8b 00                	mov    (%eax),%eax
41a24b:	ff 50 04             	call   *0x4(%eax)
41a24e:	5d                   	pop    %ebp
41a24f:	c2 04 00             	ret    $0x4
41a252:	8b c0                	mov    %eax,%eax
41a254:	55                   	push   %ebp
41a255:	8b ec                	mov    %esp,%ebp
41a257:	8b 45 08             	mov    0x8(%ebp),%eax
41a25a:	83 78 20 00          	cmpl   $0x0,0x20(%eax)
41a25e:	75 05                	jne    0x41a265
41a260:	83 c8 ff             	or     $0xffffffff,%eax
41a263:	eb 09                	jmp    0x41a26e
41a265:	8b 40 20             	mov    0x20(%eax),%eax
41a268:	50                   	push   %eax
41a269:	8b 00                	mov    (%eax),%eax
41a26b:	ff 50 08             	call   *0x8(%eax)
41a26e:	5d                   	pop    %ebp
41a26f:	c2 04 00             	ret    $0x4
41a272:	8b c0                	mov    %eax,%eax
41a274:	c3                   	ret
41a275:	8d 40 00             	lea    0x0(%eax),%eax
41a278:	53                   	push   %ebx
41a279:	56                   	push   %esi
41a27a:	57                   	push   %edi
41a27b:	84 d2                	test   %dl,%dl
41a27d:	74 08                	je     0x41a287
41a27f:	83 c4 f0             	add    $0xfffffff0,%esp
41a282:	e8 95 98 fe ff       	call   0x403b1c
41a287:	8b f1                	mov    %ecx,%esi
41a289:	8b da                	mov    %edx,%ebx
41a28b:	8b f8                	mov    %eax,%edi
41a28d:	33 d2                	xor    %edx,%edx
41a28f:	8b c7                	mov    %edi,%eax
41a291:	e8 36 95 fe ff       	call   0x4037cc
41a296:	8b d6                	mov    %esi,%edx
41a298:	8b c7                	mov    %edi,%eax
41a29a:	8b 08                	mov    (%eax),%ecx
41a29c:	ff 11                	call   *(%ecx)
41a29e:	8b c7                	mov    %edi,%eax
41a2a0:	84 db                	test   %bl,%bl
41a2a2:	74 0f                	je     0x41a2b3
41a2a4:	e8 cb 98 fe ff       	call   0x403b74
41a2a9:	64 8f 05 00 00 00 00 	pop    %fs:0x0
41a2b0:	83 c4 0c             	add    $0xc,%esp
41a2b3:	8b c7                	mov    %edi,%eax
41a2b5:	5f                   	pop    %edi
41a2b6:	5e                   	pop    %esi
41a2b7:	5b                   	pop    %ebx
41a2b8:	c3                   	ret
41a2b9:	8d 40 00             	lea    0x0(%eax),%eax
41a2bc:	c3                   	ret
41a2bd:	8d 40 00             	lea    0x0(%eax),%eax
41a2c0:	53                   	push   %ebx
41a2c1:	56                   	push   %esi
41a2c2:	e8 bd 98 fe ff       	call   0x403b84
41a2c7:	8b da                	mov    %edx,%ebx
41a2c9:	8b f0                	mov    %eax,%esi
41a2cb:	8b 46 10             	mov    0x10(%esi),%eax
41a2ce:	85 c0                	test   %eax,%eax
41a2d0:	74 07                	je     0x41a2d9
41a2d2:	8b d6                	mov    %esi,%edx
41a2d4:	e8 17 02 00 00       	call   0x41a4f0
41a2d9:	8b d3                	mov    %ebx,%edx
41a2db:	80 e2 fc             	and    $0xfc,%dl
41a2de:	8b c6                	mov    %esi,%eax
41a2e0:	e8 07 95 fe ff       	call   0x4037ec
41a2e5:	84 db                	test   %bl,%bl
41a2e7:	7e 07                	jle    0x41a2f0
41a2e9:	8b c6                	mov    %esi,%eax
41a2eb:	e8 7c 98 fe ff       	call   0x403b6c
41a2f0:	5e                   	pop    %esi
41a2f1:	5b                   	pop    %ebx
41a2f2:	c3                   	ret
41a2f3:	90                   	nop
41a2f4:	53                   	push   %ebx
41a2f5:	66 83 78 0a 00       	cmpw   $0x0,0xa(%eax)
41a2fa:	74 0b                	je     0x41a307
41a2fc:	8b d8                	mov    %eax,%ebx
41a2fe:	8b 50 10             	mov    0x10(%eax),%edx
41a301:	8b 43 0c             	mov    0xc(%ebx),%eax
41a304:	ff 53 08             	call   *0x8(%ebx)
41a307:	5b                   	pop    %ebx
41a308:	c3                   	ret
41a309:	8d 40 00             	lea    0x0(%eax),%eax
41a30c:	53                   	push   %ebx
41a30d:	56                   	push   %esi
41a30e:	8b d8                	mov    %eax,%ebx
41a310:	8b 43 10             	mov    0x10(%ebx),%eax
41a313:	e8 18 02 00 00       	call   0x41a530
41a318:	8b 43 10             	mov    0x10(%ebx),%eax
41a31b:	66 be ef ff          	mov    $0xffef,%si
41a31f:	e8 e0 96 fe ff       	call   0x403a04
41a324:	5e                   	pop    %esi
41a325:	5b                   	pop    %ebx
41a326:	c3                   	ret
41a327:	90                   	nop
41a328:	53                   	push   %ebx
41a329:	56                   	push   %esi
41a32a:	8b f2                	mov    %edx,%esi
41a32c:	8b d8                	mov    %eax,%ebx
41a32e:	8b 43 10             	mov    0x10(%ebx),%eax
41a331:	3b f0                	cmp    %eax,%esi
41a333:	74 1b                	je     0x41a350
41a335:	85 c0                	test   %eax,%eax
41a337:	74 07                	je     0x41a340
41a339:	8b d3                	mov    %ebx,%edx
41a33b:	e8 b0 01 00 00       	call   0x41a4f0
41a340:	89 73 10             	mov    %esi,0x10(%ebx)
41a343:	85 f6                	test   %esi,%esi
41a345:	74 09                	je     0x41a350
41a347:	8b d3                	mov    %ebx,%edx
41a349:	8b c6                	mov    %esi,%eax
41a34b:	e8 94 01 00 00       	call   0x41a4e4
41a350:	5e                   	pop    %esi
41a351:	5b                   	pop    %ebx
41a352:	c3                   	ret
41a353:	90                   	nop
41a354:	b0 01                	mov    $0x1,%al
41a356:	c3                   	ret
41a357:	90                   	nop
41a358:	55                   	push   %ebp
41a359:	8b ec                	mov    %esp,%ebp
41a35b:	5d                   	pop    %ebp
41a35c:	c2 08 00             	ret    $0x8
41a35f:	90                   	nop
41a360:	8b 40 10             	mov    0x10(%eax),%eax
41a363:	8b 10                	mov    (%eax),%edx
41a365:	ff 52 44             	call   *0x44(%edx)
41a368:	c3                   	ret
41a369:	8d 40 00             	lea    0x0(%eax),%eax
41a36c:	53                   	push   %ebx
41a36d:	56                   	push   %esi
41a36e:	84 d2                	test   %dl,%dl
41a370:	74 08                	je     0x41a37a
41a372:	83 c4 f0             	add    $0xfffffff0,%esp
41a375:	e8 a2 97 fe ff       	call   0x403b1c
41a37a:	8b da                	mov    %edx,%ebx
41a37c:	8b f0                	mov    %eax,%esi
41a37e:	33 d2                	xor    %edx,%edx
41a380:	8b c6                	mov    %esi,%eax
41a382:	e8 cd f6 ff ff       	call   0x419a54
41a387:	b2 01                	mov    $0x1,%dl
41a389:	a1 6c 1c 41 00       	mov    0x411c6c,%eax
41a38e:	e8 39 94 fe ff       	call   0x4037cc
41a393:	89 46 50             	mov    %eax,0x50(%esi)
41a396:	8b c6                	mov    %esi,%eax
41a398:	84 db                	test   %bl,%bl
41a39a:	74 0f                	je     0x41a3ab
41a39c:	e8 d3 97 fe ff       	call   0x403b74
41a3a1:	64 8f 05 00 00 00 00 	pop    %fs:0x0
41a3a8:	83 c4 0c             	add    $0xc,%esp
41a3ab:	8b c6                	mov    %esi,%eax
41a3ad:	5e                   	pop    %esi
41a3ae:	5b                   	pop    %ebx
41a3af:	c3                   	ret
41a3b0:	53                   	push   %ebx
41a3b1:	56                   	push   %esi
41a3b2:	57                   	push   %edi
41a3b3:	e8 cc 97 fe ff       	call   0x403b84
41a3b8:	8b da                	mov    %edx,%ebx
41a3ba:	8b f8                	mov    %eax,%edi
41a3bc:	8b d3                	mov    %ebx,%edx
41a3be:	80 e2 fc             	and    $0xfc,%dl
41a3c1:	8b c7                	mov    %edi,%eax
41a3c3:	e8 d8 f6 ff ff       	call   0x419aa0
41a3c8:	8b 47 30             	mov    0x30(%edi),%eax
41a3cb:	85 c0                	test   %eax,%eax
41a3cd:	74 19                	je     0x41a3e8
41a3cf:	8b d7                	mov    %edi,%edx
41a3d1:	e8 7e f9 ff ff       	call   0x419d54
41a3d6:	eb 10                	jmp    0x41a3e8
41a3d8:	8b c6                	mov    %esi,%eax
41a3da:	e8 f9 9c ff ff       	call   0x4140d8
41a3df:	8b d0                	mov    %eax,%edx
41a3e1:	8b c7                	mov    %edi,%eax
41a3e3:	e8 08 01 00 00       	call   0x41a4f0
41a3e8:	8b 77 50             	mov    0x50(%edi),%esi
41a3eb:	83 7e 08 00          	cmpl   $0x0,0x8(%esi)
41a3ef:	7f e7                	jg     0x41a3d8
41a3f1:	8d 47 50             	lea    0x50(%edi),%eax
41a3f4:	e8 df 2f ff ff       	call   0x40d3d8
41a3f9:	84 db                	test   %bl,%bl
41a3fb:	7e 07                	jle    0x41a404
41a3fd:	8b c7                	mov    %edi,%eax
41a3ff:	e8 68 97 fe ff       	call   0x403b6c
41a404:	5f                   	pop    %edi
41a405:	5e                   	pop    %esi
41a406:	5b                   	pop    %ebx
41a407:	c3                   	ret
41a408:	33 c0                	xor    %eax,%eax
41a40a:	c3                   	ret
41a40b:	90                   	nop
41a40c:	c3                   	ret
41a40d:	8d 40 00             	lea    0x0(%eax),%eax
41a410:	53                   	push   %ebx
41a411:	56                   	push   %esi
41a412:	57                   	push   %edi
41a413:	8b d9                	mov    %ecx,%ebx
41a415:	8b f2                	mov    %edx,%esi
41a417:	8b f8                	mov    %eax,%edi
41a419:	8b cb                	mov    %ebx,%ecx
41a41b:	8b d6                	mov    %esi,%edx
41a41d:	8b c7                	mov    %edi,%eax
41a41f:	e8 4c f9 ff ff       	call   0x419d70
41a424:	80 fb 01             	cmp    $0x1,%bl
41a427:	75 0a                	jne    0x41a433
41a429:	3b 77 30             	cmp    0x30(%edi),%esi
41a42c:	75 05                	jne    0x41a433
41a42e:	33 c0                	xor    %eax,%eax
41a430:	89 47 30             	mov    %eax,0x30(%edi)
41a433:	5f                   	pop    %edi
41a434:	5e                   	pop    %esi
41a435:	5b                   	pop    %ebx
41a436:	c3                   	ret
41a437:	90                   	nop
41a438:	c3                   	ret
41a439:	8d 40 00             	lea    0x0(%eax),%eax
41a43c:	53                   	push   %ebx
41a43d:	66 83 78 42 00       	cmpw   $0x0,0x42(%eax)
41a442:	74 0e                	je     0x41a452
41a444:	8b d8                	mov    %eax,%ebx
41a446:	8b d0                	mov    %eax,%edx
41a448:	8b 43 44             	mov    0x44(%ebx),%eax
41a44b:	ff 53 40             	call   *0x40(%ebx)
41a44e:	b0 01                	mov    $0x1,%al
41a450:	5b                   	pop    %ebx