404f23:	89 07                	mov    %eax,(%edi)
404f25:	89 f2                	mov    %esi,%edx
404f27:	88 d9                	mov    %bl,%cl
404f29:	e8 12 e3 ff ff       	call   0x403240
404f2e:	5f                   	pop    %edi
404f2f:	5e                   	pop    %esi
404f30:	5b                   	pop    %ebx
404f31:	c3                   	ret
404f32:	8b c0                	mov    %eax,%eax
404f34:	33 c9                	xor    %ecx,%ecx
404f36:	e8 01 00 00 00       	call   0x404f3c
404f3b:	c3                   	ret
404f3c:	53                   	push   %ebx
404f3d:	89 d3                	mov    %edx,%ebx
404f3f:	89 ca                	mov    %ecx,%edx
404f41:	31 c9                	xor    %ecx,%ecx
404f43:	85 db                	test   %ebx,%ebx
404f45:	74 05                	je     0x404f4c
404f47:	8b 4b fc             	mov    -0x4(%ebx),%ecx
404f4a:	29 ca                	sub    %ecx,%edx
404f4c:	51                   	push   %ecx
404f4d:	e8 b6 e4 ff ff       	call   0x403408
404f52:	59                   	pop    %ecx
404f53:	89 da                	mov    %ebx,%edx
404f55:	5b                   	pop    %ebx
404f56:	e9 59 e4 ff ff       	jmp    0x4033b4
404f5b:	c3                   	ret
404f5c:	b0 01                	mov    $0x1,%al
404f5e:	e9 a5 d9 ff ff       	jmp    0x402908
404f63:	c3                   	ret
404f64:	85 c0                	test   %eax,%eax
404f66:	74 10                	je     0x404f78
404f68:	50                   	push   %eax
404f69:	6a 00                	push   $0x0
404f6b:	e8 68 c4 ff ff       	call   0x4013d8
404f70:	85 c0                	test   %eax,%eax
404f72:	0f 84 e4 ff ff ff    	je     0x404f5c
404f78:	c3                   	ret
404f79:	8d 40 00             	lea    0x0(%eax),%eax
404f7c:	87 10                	xchg   %edx,(%eax)
404f7e:	85 d2                	test   %edx,%edx
404f80:	74 06                	je     0x404f88
404f82:	52                   	push   %edx
404f83:	e8 60 c4 ff ff       	call   0x4013e8
404f88:	c3                   	ret
404f89:	8d 40 00             	lea    0x0(%eax),%eax
404f8c:	8b 10                	mov    (%eax),%edx
404f8e:	85 d2                	test   %edx,%edx
404f90:	74 0e                	je     0x404fa0
404f92:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
404f98:	50                   	push   %eax
404f99:	52                   	push   %edx
404f9a:	e8 49 c4 ff ff       	call   0x4013e8
404f9f:	58                   	pop    %eax
404fa0:	c3                   	ret
404fa1:	8d 40 00             	lea    0x0(%eax),%eax
404fa4:	53                   	push   %ebx
404fa5:	56                   	push   %esi
404fa6:	89 c3                	mov    %eax,%ebx
404fa8:	89 d6                	mov    %edx,%esi
404faa:	8b 03                	mov    (%ebx),%eax
404fac:	85 c0                	test   %eax,%eax
404fae:	74 0c                	je     0x404fbc
404fb0:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
404fb6:	50                   	push   %eax
404fb7:	e8 2c c4 ff ff       	call   0x4013e8
404fbc:	83 c3 04             	add    $0x4,%ebx
404fbf:	4e                   	dec    %esi
404fc0:	75 e8                	jne    0x404faa
404fc2:	5e                   	pop    %esi
404fc3:	5b                   	pop    %ebx
404fc4:	c3                   	ret
404fc5:	8d 40 00             	lea    0x0(%eax),%eax
404fc8:	85 d2                	test   %edx,%edx
404fca:	0f 84 bc ff ff ff    	je     0x404f8c
404fd0:	8b 4a fc             	mov    -0x4(%edx),%ecx
404fd3:	d1 e9                	shr    $1,%ecx
404fd5:	0f 84 b1 ff ff ff    	je     0x404f8c
404fdb:	51                   	push   %ecx
404fdc:	52                   	push   %edx
404fdd:	50                   	push   %eax
404fde:	e8 fd c3 ff ff       	call   0x4013e0
404fe3:	85 c0                	test   %eax,%eax
404fe5:	0f 84 71 ff ff ff    	je     0x404f5c
404feb:	c3                   	ret
404fec:	e9 d7 ff ff ff       	jmp    0x404fc8
404ff1:	c3                   	ret
404ff2:	8b c0                	mov    %eax,%eax
404ff4:	53                   	push   %ebx
404ff5:	56                   	push   %esi
404ff6:	57                   	push   %edi
404ff7:	55                   	push   %ebp
404ff8:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
404ffe:	50                   	push   %eax
404fff:	83 c4 fc             	add    $0xfffffffc,%esp
405002:	8b f1                	mov    %ecx,%esi
405004:	89 14 24             	mov    %edx,(%esp)
405007:	8b f8                	mov    %eax,%edi
405009:	85 f6                	test   %esi,%esi
40500b:	7f 09                	jg     0x405016
40500d:	8b c7                	mov    %edi,%eax
40500f:	e8 78 ff ff ff       	call   0x404f8c
405014:	eb 5d                	jmp    0x405073
405016:	8d 6e 01             	lea    0x1(%esi),%ebp
405019:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
40501f:	7d 28                	jge    0x405049
405021:	56                   	push   %esi
405022:	8d 44 24 08          	lea    0x8(%esp),%eax
405026:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40502a:	ba ff 07 00 00       	mov    $0x7ff,%edx
40502f:	e8 70 f9 ff ff       	call   0x4049a4
405034:	8b d8                	mov    %eax,%ebx
405036:	85 db                	test   %ebx,%ebx
405038:	7e 0f                	jle    0x405049
40503a:	8d 54 24 04          	lea    0x4(%esp),%edx
40503e:	8b c7                	mov    %edi,%eax
405040:	8b cb                	mov    %ebx,%ecx
405042:	e8 39 00 00 00       	call   0x405080
405047:	eb 2a                	jmp    0x405073
405049:	8b dd                	mov    %ebp,%ebx
40504b:	8b c7                	mov    %edi,%eax
40504d:	8b d3                	mov    %ebx,%edx
40504f:	e8 a4 02 00 00       	call   0x4052f8
405054:	56                   	push   %esi
405055:	8b 07                	mov    (%edi),%eax
405057:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40505b:	8b d3                	mov    %ebx,%edx
40505d:	e8 42 f9 ff ff       	call   0x4049a4
405062:	8b d8                	mov    %eax,%ebx
405064:	85 db                	test   %ebx,%ebx
405066:	7d 02                	jge    0x40506a
405068:	33 db                	xor    %ebx,%ebx
40506a:	8b c7                	mov    %edi,%eax
40506c:	8b d3                	mov    %ebx,%edx
40506e:	e8 85 02 00 00       	call   0x4052f8
405073:	81 c4 04 10 00 00    	add    $0x1004,%esp
405079:	5d                   	pop    %ebp
40507a:	5f                   	pop    %edi
40507b:	5e                   	pop    %esi
40507c:	5b                   	pop    %ebx
40507d:	c3                   	ret
40507e:	8b c0                	mov    %eax,%eax
405080:	85 c9                	test   %ecx,%ecx
405082:	0f 84 04 ff ff ff    	je     0x404f8c
405088:	50                   	push   %eax
405089:	51                   	push   %ecx
40508a:	52                   	push   %edx
40508b:	e8 48 c3 ff ff       	call   0x4013d8
405090:	85 c0                	test   %eax,%eax
405092:	0f 84 c4 fe ff ff    	je     0x404f5c
405098:	5a                   	pop    %edx
405099:	ff 32                	push   (%edx)
40509b:	89 02                	mov    %eax,(%edx)
40509d:	e8 46 c3 ff ff       	call   0x4013e8
4050a2:	c3                   	ret
4050a3:	90                   	nop
4050a4:	52                   	push   %edx
4050a5:	89 e2                	mov    %esp,%edx
4050a7:	b9 01 00 00 00       	mov    $0x1,%ecx
4050ac:	e8 43 ff ff ff       	call   0x404ff4
4050b1:	5a                   	pop    %edx
4050b2:	c3                   	ret
4050b3:	90                   	nop
4050b4:	31 c9                	xor    %ecx,%ecx
4050b6:	85 d2                	test   %edx,%edx
4050b8:	74 2d                	je     0x4050e7
4050ba:	52                   	push   %edx
4050bb:	66 3b 0a             	cmp    (%edx),%cx
4050be:	74 20                	je     0x4050e0
4050c0:	66 3b 4a 02          	cmp    0x2(%edx),%cx
4050c4:	74 17                	je     0x4050dd
4050c6:	66 3b 4a 04          	cmp    0x4(%edx),%cx
4050ca:	74 0e                	je     0x4050da
4050cc:	66 3b 4a 06          	cmp    0x6(%edx),%cx
4050d0:	74 05                	je     0x4050d7
4050d2:	83 c2 08             	add    $0x8,%edx
4050d5:	eb e4                	jmp    0x4050bb
4050d7:	83 c2 02             	add    $0x2,%edx
4050da:	83 c2 02             	add    $0x2,%edx
4050dd:	83 c2 02             	add    $0x2,%edx
4050e0:	89 d1                	mov    %edx,%ecx
4050e2:	5a                   	pop    %edx
4050e3:	29 d1                	sub    %edx,%ecx
4050e5:	d1 e9                	shr    $1,%ecx
4050e7:	e9 94 ff ff ff       	jmp    0x405080
4050ec:	c3                   	ret
4050ed:	8d 40 00             	lea    0x0(%eax),%eax
4050f0:	31 c9                	xor    %ecx,%ecx
4050f2:	85 d2                	test   %edx,%edx
4050f4:	74 03                	je     0x4050f9
4050f6:	8b 4a fc             	mov    -0x4(%edx),%ecx
4050f9:	e9 f6 fe ff ff       	jmp    0x404ff4
4050fe:	c3                   	ret
4050ff:	90                   	nop
405100:	85 c0                	test   %eax,%eax
405102:	74 04                	je     0x405108
405104:	c3                   	ret
405105:	90                   	nop
405106:	00 00                	add    %al,(%eax)
405108:	b8 06 51 40 00       	mov    $0x405106,%eax
40510d:	c3                   	ret
40510e:	8b c0                	mov    %eax,%eax
405110:	85 c0                	test   %eax,%eax
405112:	74 05                	je     0x405119
405114:	8b 40 fc             	mov    -0x4(%eax),%eax
405117:	d1 e8                	shr    $1,%eax
405119:	c3                   	ret
40511a:	8b c0                	mov    %eax,%eax
40511c:	53                   	push   %ebx
40511d:	56                   	push   %esi
40511e:	57                   	push   %edi
40511f:	55                   	push   %ebp
405120:	51                   	push   %ecx
405121:	8b ea                	mov    %edx,%ebp
405123:	89 04 24             	mov    %eax,(%esp)
405126:	8b c5                	mov    %ebp,%eax
405128:	e8 e3 ff ff ff       	call   0x405110
40512d:	8b d8                	mov    %eax,%ebx
40512f:	85 db                	test   %ebx,%ebx
405131:	74 42                	je     0x405175
405133:	8b 04 24             	mov    (%esp),%eax
405136:	8b 00                	mov    (%eax),%eax
405138:	e8 d3 ff ff ff       	call   0x405110
40513d:	8b f0                	mov    %eax,%esi
40513f:	8d 04 33             	lea    (%ebx,%esi,1),%eax
405142:	e8 1d fe ff ff       	call   0x404f64
405147:	8b f8                	mov    %eax,%edi
405149:	85 f6                	test   %esi,%esi
40514b:	7e 10                	jle    0x40515d
40514d:	8b ce                	mov    %esi,%ecx
40514f:	03 c9                	add    %ecx,%ecx
405151:	8b d7                	mov    %edi,%edx
405153:	8b 04 24             	mov    (%esp),%eax
405156:	8b 00                	mov    (%eax),%eax
405158:	e8 c3 d8 ff ff       	call   0x402a20
40515d:	8b cb                	mov    %ebx,%ecx
40515f:	03 c9                	add    %ecx,%ecx
405161:	8d 14 77             	lea    (%edi,%esi,2),%edx
405164:	8b c5                	mov    %ebp,%eax
405166:	e8 b5 d8 ff ff       	call   0x402a20
40516b:	8b 04 24             	mov    (%esp),%eax
40516e:	8b d7                	mov    %edi,%edx
405170:	e8 07 fe ff ff       	call   0x404f7c
405175:	5a                   	pop    %edx
405176:	5d                   	pop    %ebp
405177:	5f                   	pop    %edi
405178:	5e                   	pop    %esi
405179:	5b                   	pop    %ebx
40517a:	c3                   	ret
40517b:	90                   	nop
40517c:	53                   	push   %ebx
40517d:	56                   	push   %esi
40517e:	57                   	push   %edi
40517f:	55                   	push   %ebp
405180:	83 c4 f8             	add    $0xfffffff8,%esp
405183:	89 4c 24 04          	mov    %ecx,0x4(%esp)
405187:	8b ea                	mov    %edx,%ebp
405189:	89 04 24             	mov    %eax,(%esp)
40518c:	8b c5                	mov    %ebp,%eax
40518e:	e8 7d ff ff ff       	call   0x405110
405193:	8b d8                	mov    %eax,%ebx
405195:	8b 44 24 04          	mov    0x4(%esp),%eax
405199:	e8 72 ff ff ff       	call   0x405110
40519e:	8b f0                	mov    %eax,%esi
4051a0:	85 db                	test   %ebx,%ebx
4051a2:	75 04                	jne    0x4051a8
4051a4:	85 f6                	test   %esi,%esi
4051a6:	74 31                	je     0x4051d9
4051a8:	8d 04 1e             	lea    (%esi,%ebx,1),%eax
4051ab:	e8 b4 fd ff ff       	call   0x404f64
4051b0:	8b f8                	mov    %eax,%edi
4051b2:	8b cb                	mov    %ebx,%ecx
4051b4:	03 c9                	add    %ecx,%ecx
4051b6:	8b d7                	mov    %edi,%edx
4051b8:	8b c5                	mov    %ebp,%eax
4051ba:	e8 61 d8 ff ff       	call   0x402a20
4051bf:	8b ce                	mov    %esi,%ecx
4051c1:	03 c9                	add    %ecx,%ecx
4051c3:	8d 14 5f             	lea    (%edi,%ebx,2),%edx
4051c6:	8b 44 24 04          	mov    0x4(%esp),%eax
4051ca:	e8 51 d8 ff ff       	call   0x402a20
4051cf:	8b 04 24             	mov    (%esp),%eax
4051d2:	8b d7                	mov    %edi,%edx
4051d4:	e8 a3 fd ff ff       	call   0x404f7c
4051d9:	59                   	pop    %ecx
4051da:	5a                   	pop    %edx
4051db:	5d                   	pop    %ebp
4051dc:	5f                   	pop    %edi
4051dd:	5e                   	pop    %esi
4051de:	5b                   	pop    %ebx
4051df:	c3                   	ret
4051e0:	53                   	push   %ebx
4051e1:	56                   	push   %esi
4051e2:	52                   	push   %edx
4051e3:	50                   	push   %eax
4051e4:	89 d3                	mov    %edx,%ebx
4051e6:	31 c0                	xor    %eax,%eax
4051e8:	8b 4c 94 10          	mov    0x10(%esp,%edx,4),%ecx
4051ec:	85 c9                	test   %ecx,%ecx
4051ee:	74 03                	je     0x4051f3
4051f0:	03 41 fc             	add    -0x4(%ecx),%eax
4051f3:	4a                   	dec    %edx
4051f4:	75 f2                	jne    0x4051e8
4051f6:	d1 e8                	shr    $1,%eax
4051f8:	e8 67 fd ff ff       	call   0x404f64
4051fd:	50                   	push   %eax
4051fe:	89 c6                	mov    %eax,%esi
405200:	8b 44 9c 14          	mov    0x14(%esp,%ebx,4),%eax
405204:	89 f2                	mov    %esi,%edx
405206:	85 c0                	test   %eax,%eax
405208:	74 0a                	je     0x405214
40520a:	8b 48 fc             	mov    -0x4(%eax),%ecx
40520d:	01 ce                	add    %ecx,%esi
40520f:	e8 0c d8 ff ff       	call   0x402a20
405214:	4b                   	dec    %ebx
405215:	75 e9                	jne    0x405200
405217:	5a                   	pop    %edx
405218:	58                   	pop    %eax
405219:	e8 5e fd ff ff       	call   0x404f7c
40521e:	5a                   	pop    %edx
40521f:	5e                   	pop    %esi
405220:	5b                   	pop    %ebx
405221:	58                   	pop    %eax
405222:	8d 24 94             	lea    (%esp,%edx,4),%esp
405225:	ff e0                	jmp    *%eax
405227:	c3                   	ret
405228:	53                   	push   %ebx
405229:	56                   	push   %esi
40522a:	57                   	push   %edi
40522b:	89 c6                	mov    %eax,%esi
40522d:	89 d7                	mov    %edx,%edi
40522f:	39 d0                	cmp    %edx,%eax
405231:	74 72                	je     0x4052a5
405233:	85 f6                	test   %esi,%esi
405235:	74 51                	je     0x405288
405237:	85 ff                	test   %edi,%edi
405239:	74 54                	je     0x40528f
40523b:	8b 46 fc             	mov    -0x4(%esi),%eax
40523e:	8b 57 fc             	mov    -0x4(%edi),%edx
405241:	29 d0                	sub    %edx,%eax
405243:	77 02                	ja     0x405247
405245:	01 c2                	add    %eax,%edx
405247:	52                   	push   %edx
405248:	c1 ea 02             	shr    $0x2,%edx
40524b:	74 26                	je     0x405273
40524d:	8b 0e                	mov    (%esi),%ecx
40524f:	8b 1f                	mov    (%edi),%ebx
405251:	39 d9                	cmp    %ebx,%ecx
405253:	75 41                	jne    0x405296
405255:	4a                   	dec    %edx