40378b:	89 cf                	mov    %ecx,%edi
40378d:	89 f8                	mov    %edi,%eax
40378f:	e8 c4 ff ff ff       	call   0x403758
403794:	89 f9                	mov    %edi,%ecx
403796:	89 c7                	mov    %eax,%edi
403798:	85 f6                	test   %esi,%esi
40379a:	74 09                	je     0x4037a5
40379c:	89 c2                	mov    %eax,%edx
40379e:	89 f0                	mov    %esi,%eax
4037a0:	e8 9f f1 ff ff       	call   0x402944
4037a5:	89 d8                	mov    %ebx,%eax
4037a7:	e8 e8 fe ff ff       	call   0x403694
4037ac:	89 3b                	mov    %edi,(%ebx)
4037ae:	5f                   	pop    %edi
4037af:	5e                   	pop    %esi
4037b0:	5b                   	pop    %ebx
4037b1:	c3                   	ret
4037b2:	8b c0                	mov    %eax,%eax
4037b4:	55                   	push   %ebp
4037b5:	8b ec                	mov    %esp,%ebp
4037b7:	6a 00                	push   $0x0
4037b9:	6a 00                	push   $0x0
4037bb:	52                   	push   %edx
4037bc:	50                   	push   %eax
4037bd:	8b 45 08             	mov    0x8(%ebp),%eax
4037c0:	50                   	push   %eax
4037c1:	51                   	push   %ecx
4037c2:	6a 00                	push   $0x0
4037c4:	a1 a8 95 42 00       	mov    0x4295a8,%eax
4037c9:	50                   	push   %eax
4037ca:	e8 1d d9 ff ff       	call   0x4010ec
4037cf:	5d                   	pop    %ebp
4037d0:	c2 04 00             	ret    $0x4
4037d3:	90                   	nop
4037d4:	53                   	push   %ebx
4037d5:	56                   	push   %esi
4037d6:	57                   	push   %edi
4037d7:	55                   	push   %ebp
4037d8:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
4037de:	50                   	push   %eax
4037df:	83 c4 fc             	add    $0xfffffffc,%esp
4037e2:	8b f1                	mov    %ecx,%esi
4037e4:	89 14 24             	mov    %edx,(%esp)
4037e7:	8b f8                	mov    %eax,%edi
4037e9:	85 f6                	test   %esi,%esi
4037eb:	7f 09                	jg     0x4037f6
4037ed:	8b c7                	mov    %edi,%eax
4037ef:	e8 a0 fe ff ff       	call   0x403694
4037f4:	eb 5f                	jmp    0x403855
4037f6:	8d 6e 01             	lea    0x1(%esi),%ebp
4037f9:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
4037ff:	7d 28                	jge    0x403829
403801:	56                   	push   %esi
403802:	8d 44 24 08          	lea    0x8(%esp),%eax
403806:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40380a:	ba ff 0f 00 00       	mov    $0xfff,%edx
40380f:	e8 a0 ff ff ff       	call   0x4037b4
403814:	8b d8                	mov    %eax,%ebx
403816:	85 db                	test   %ebx,%ebx
403818:	7c 0f                	jl     0x403829
40381a:	8d 54 24 04          	lea    0x4(%esp),%edx
40381e:	8b c7                	mov    %edi,%eax
403820:	8b cb                	mov    %ebx,%ecx
403822:	e8 5d ff ff ff       	call   0x403784
403827:	eb 2c                	jmp    0x403855
403829:	8b dd                	mov    %ebp,%ebx
40382b:	03 db                	add    %ebx,%ebx
40382d:	8b c7                	mov    %edi,%eax
40382f:	8b d3                	mov    %ebx,%edx
403831:	e8 4a 04 00 00       	call   0x403c80
403836:	56                   	push   %esi
403837:	8b 07                	mov    (%edi),%eax
403839:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40383d:	8b d3                	mov    %ebx,%edx
40383f:	e8 70 ff ff ff       	call   0x4037b4
403844:	8b d8                	mov    %eax,%ebx
403846:	85 db                	test   %ebx,%ebx
403848:	7d 02                	jge    0x40384c
40384a:	33 db                	xor    %ebx,%ebx
40384c:	8b c7                	mov    %edi,%eax
40384e:	8b d3                	mov    %ebx,%edx
403850:	e8 2b 04 00 00       	call   0x403c80
403855:	81 c4 04 10 00 00    	add    $0x1004,%esp
40385b:	5d                   	pop    %ebp
40385c:	5f                   	pop    %edi
40385d:	5e                   	pop    %esi
40385e:	5b                   	pop    %ebx
40385f:	c3                   	ret
403860:	52                   	push   %edx
403861:	89 e2                	mov    %esp,%edx
403863:	b9 01 00 00 00       	mov    $0x1,%ecx
403868:	e8 17 ff ff ff       	call   0x403784
40386d:	5a                   	pop    %edx
40386e:	c3                   	ret
40386f:	90                   	nop
403870:	31 c9                	xor    %ecx,%ecx
403872:	85 d2                	test   %edx,%edx
403874:	74 21                	je     0x403897
403876:	52                   	push   %edx
403877:	3a 0a                	cmp    (%edx),%cl
403879:	74 17                	je     0x403892
40387b:	3a 4a 01             	cmp    0x1(%edx),%cl
40387e:	74 11                	je     0x403891
403880:	3a 4a 02             	cmp    0x2(%edx),%cl
403883:	74 0b                	je     0x403890
403885:	3a 4a 03             	cmp    0x3(%edx),%cl
403888:	74 05                	je     0x40388f
40388a:	83 c2 04             	add    $0x4,%edx
40388d:	eb e8                	jmp    0x403877
40388f:	42                   	inc    %edx
403890:	42                   	inc    %edx
403891:	42                   	inc    %edx
403892:	89 d1                	mov    %edx,%ecx
403894:	5a                   	pop    %edx
403895:	29 d1                	sub    %edx,%ecx
403897:	e9 e8 fe ff ff       	jmp    0x403784
40389c:	c3                   	ret
40389d:	8d 40 00             	lea    0x0(%eax),%eax
4038a0:	31 c9                	xor    %ecx,%ecx
4038a2:	85 d2                	test   %edx,%edx
4038a4:	74 2d                	je     0x4038d3
4038a6:	52                   	push   %edx
4038a7:	66 3b 0a             	cmp    (%edx),%cx
4038aa:	74 20                	je     0x4038cc
4038ac:	66 3b 4a 02          	cmp    0x2(%edx),%cx
4038b0:	74 17                	je     0x4038c9
4038b2:	66 3b 4a 04          	cmp    0x4(%edx),%cx
4038b6:	74 0e                	je     0x4038c6
4038b8:	66 3b 4a 06          	cmp    0x6(%edx),%cx
4038bc:	74 05                	je     0x4038c3
4038be:	83 c2 08             	add    $0x8,%edx
4038c1:	eb e4                	jmp    0x4038a7
4038c3:	83 c2 02             	add    $0x2,%edx
4038c6:	83 c2 02             	add    $0x2,%edx
4038c9:	83 c2 02             	add    $0x2,%edx
4038cc:	89 d1                	mov    %edx,%ecx
4038ce:	5a                   	pop    %edx
4038cf:	29 d1                	sub    %edx,%ecx
4038d1:	d1 e9                	shr    $1,%ecx
4038d3:	e9 fc fe ff ff       	jmp    0x4037d4
4038d8:	c3                   	ret
4038d9:	8d 40 00             	lea    0x0(%eax),%eax
4038dc:	57                   	push   %edi
4038dd:	50                   	push   %eax
4038de:	51                   	push   %ecx
4038df:	89 d7                	mov    %edx,%edi
4038e1:	31 c0                	xor    %eax,%eax
4038e3:	f2 ae                	repnz scas %es:(%edi),%al
4038e5:	75 02                	jne    0x4038e9
4038e7:	f7 d1                	not    %ecx
4038e9:	58                   	pop    %eax
4038ea:	01 c1                	add    %eax,%ecx
4038ec:	58                   	pop    %eax
4038ed:	5f                   	pop    %edi
4038ee:	e9 91 fe ff ff       	jmp    0x403784
4038f3:	c3                   	ret
4038f4:	85 c0                	test   %eax,%eax
4038f6:	74 03                	je     0x4038fb
4038f8:	8b 40 fc             	mov    -0x4(%eax),%eax
4038fb:	c3                   	ret
4038fc:	85 d2                	test   %edx,%edx
4038fe:	74 3f                	je     0x40393f
403900:	8b 08                	mov    (%eax),%ecx
403902:	85 c9                	test   %ecx,%ecx
403904:	0f 84 de fd ff ff    	je     0x4036e8
40390a:	53                   	push   %ebx
40390b:	56                   	push   %esi
40390c:	57                   	push   %edi
40390d:	89 c3                	mov    %eax,%ebx
40390f:	89 d6                	mov    %edx,%esi
403911:	8b 79 fc             	mov    -0x4(%ecx),%edi
403914:	8b 56 fc             	mov    -0x4(%esi),%edx
403917:	01 fa                	add    %edi,%edx
403919:	39 ce                	cmp    %ecx,%esi
40391b:	74 17                	je     0x403934
40391d:	e8 5e 03 00 00       	call   0x403c80
403922:	89 f0                	mov    %esi,%eax
403924:	8b 4e fc             	mov    -0x4(%esi),%ecx
403927:	8b 13                	mov    (%ebx),%edx
403929:	01 fa                	add    %edi,%edx
40392b:	e8 14 f0 ff ff       	call   0x402944
403930:	5f                   	pop    %edi
403931:	5e                   	pop    %esi
403932:	5b                   	pop    %ebx
403933:	c3                   	ret
403934:	e8 47 03 00 00       	call   0x403c80
403939:	8b 03                	mov    (%ebx),%eax
40393b:	89 f9                	mov    %edi,%ecx
40393d:	eb e8                	jmp    0x403927
40393f:	c3                   	ret
403940:	85 d2                	test   %edx,%edx
403942:	74 61                	je     0x4039a5
403944:	85 c9                	test   %ecx,%ecx
403946:	0f 84 9c fd ff ff    	je     0x4036e8
40394c:	3b 10                	cmp    (%eax),%edx
40394e:	74 5c                	je     0x4039ac
403950:	3b 08                	cmp    (%eax),%ecx
403952:	74 0e                	je     0x403962
403954:	50                   	push   %eax
403955:	51                   	push   %ecx
403956:	e8 8d fd ff ff       	call   0x4036e8
40395b:	5a                   	pop    %edx
40395c:	58                   	pop    %eax
40395d:	e9 9a ff ff ff       	jmp    0x4038fc
403962:	53                   	push   %ebx
403963:	56                   	push   %esi
403964:	57                   	push   %edi
403965:	89 d3                	mov    %edx,%ebx
403967:	89 ce                	mov    %ecx,%esi
403969:	50                   	push   %eax
40396a:	8b 43 fc             	mov    -0x4(%ebx),%eax
40396d:	03 46 fc             	add    -0x4(%esi),%eax
403970:	e8 e3 fd ff ff       	call   0x403758
403975:	89 c7                	mov    %eax,%edi
403977:	89 c2                	mov    %eax,%edx
403979:	89 d8                	mov    %ebx,%eax
40397b:	8b 4b fc             	mov    -0x4(%ebx),%ecx
40397e:	e8 c1 ef ff ff       	call   0x402944
403983:	89 fa                	mov    %edi,%edx
403985:	89 f0                	mov    %esi,%eax
403987:	8b 4e fc             	mov    -0x4(%esi),%ecx
40398a:	03 53 fc             	add    -0x4(%ebx),%edx
40398d:	e8 b2 ef ff ff       	call   0x402944
403992:	58                   	pop    %eax
403993:	89 fa                	mov    %edi,%edx
403995:	85 ff                	test   %edi,%edi
403997:	74 03                	je     0x40399c
403999:	ff 4f f8             	decl   -0x8(%edi)
40399c:	e8 47 fd ff ff       	call   0x4036e8
4039a1:	5f                   	pop    %edi
4039a2:	5e                   	pop    %esi
4039a3:	5b                   	pop    %ebx
4039a4:	c3                   	ret
4039a5:	89 ca                	mov    %ecx,%edx
4039a7:	e9 3c fd ff ff       	jmp    0x4036e8
4039ac:	89 ca                	mov    %ecx,%edx
4039ae:	e9 49 ff ff ff       	jmp    0x4038fc
4039b3:	c3                   	ret
4039b4:	53                   	push   %ebx
4039b5:	56                   	push   %esi
4039b6:	57                   	push   %edi
4039b7:	52                   	push   %edx
4039b8:	50                   	push   %eax
4039b9:	89 d3                	mov    %edx,%ebx
4039bb:	31 ff                	xor    %edi,%edi
4039bd:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
4039c1:	85 c9                	test   %ecx,%ecx
4039c3:	74 0c                	je     0x4039d1
4039c5:	39 08                	cmp    %ecx,(%eax)
4039c7:	75 08                	jne    0x4039d1
4039c9:	89 cf                	mov    %ecx,%edi
4039cb:	8b 41 fc             	mov    -0x4(%ecx),%eax
4039ce:	4a                   	dec    %edx
4039cf:	eb 02                	jmp    0x4039d3
4039d1:	31 c0                	xor    %eax,%eax
4039d3:	8b 4c 94 14          	mov    0x14(%esp,%edx,4),%ecx
4039d7:	85 c9                	test   %ecx,%ecx
4039d9:	74 09                	je     0x4039e4
4039db:	03 41 fc             	add    -0x4(%ecx),%eax
4039de:	39 cf                	cmp    %ecx,%edi
4039e0:	75 02                	jne    0x4039e4
4039e2:	31 ff                	xor    %edi,%edi
4039e4:	4a                   	dec    %edx
4039e5:	75 ec                	jne    0x4039d3
4039e7:	85 ff                	test   %edi,%edi
4039e9:	74 17                	je     0x403a02
4039eb:	89 c2                	mov    %eax,%edx
4039ed:	8b 04 24             	mov    (%esp),%eax
4039f0:	8b 77 fc             	mov    -0x4(%edi),%esi
4039f3:	e8 88 02 00 00       	call   0x403c80
4039f8:	8b 3c 24             	mov    (%esp),%edi
4039fb:	ff 37                	push   (%edi)
4039fd:	03 37                	add    (%edi),%esi
4039ff:	4b                   	dec    %ebx
403a00:	eb 08                	jmp    0x403a0a
403a02:	e8 51 fd ff ff       	call   0x403758
403a07:	50                   	push   %eax
403a08:	89 c6                	mov    %eax,%esi
403a0a:	8b 44 9c 18          	mov    0x18(%esp,%ebx,4),%eax
403a0e:	89 f2                	mov    %esi,%edx
403a10:	85 c0                	test   %eax,%eax
403a12:	74 0a                	je     0x403a1e
403a14:	8b 48 fc             	mov    -0x4(%eax),%ecx
403a17:	01 ce                	add    %ecx,%esi
403a19:	e8 26 ef ff ff       	call   0x402944
403a1e:	4b                   	dec    %ebx
403a1f:	75 e9                	jne    0x403a0a
403a21:	5a                   	pop    %edx
403a22:	58                   	pop    %eax
403a23:	85 ff                	test   %edi,%edi
403a25:	75 0c                	jne    0x403a33
403a27:	85 d2                	test   %edx,%edx
403a29:	74 03                	je     0x403a2e
403a2b:	ff 4a f8             	decl   -0x8(%edx)
403a2e:	e8 b5 fc ff ff       	call   0x4036e8
403a33:	5a                   	pop    %edx
403a34:	5f                   	pop    %edi
403a35:	5e                   	pop    %esi
403a36:	5b                   	pop    %ebx
403a37:	58                   	pop    %eax
403a38:	8d 24 94             	lea    (%esp,%edx,4),%esp
403a3b:	ff e0                	jmp    *%eax
403a3d:	c3                   	ret
403a3e:	8b c0                	mov    %eax,%eax
403a40:	53                   	push   %ebx
403a41:	56                   	push   %esi
403a42:	57                   	push   %edi
403a43:	89 c6                	mov    %eax,%esi
403a45:	89 d7                	mov    %edx,%edi
403a47:	39 d0                	cmp    %edx,%eax
403a49:	0f 84 8f 00 00 00    	je     0x403ade
403a4f:	85 f6                	test   %esi,%esi
403a51:	74 68                	je     0x403abb
403a53:	85 ff                	test   %edi,%edi
403a55:	74 6b                	je     0x403ac2
403a57:	8b 46 fc             	mov    -0x4(%esi),%eax
403a5a:	8b 57 fc             	mov    -0x4(%edi),%edx
403a5d:	29 d0                	sub    %edx,%eax
403a5f:	77 02                	ja     0x403a63
403a61:	01 c2                	add    %eax,%edx
403a63:	52                   	push   %edx
403a64:	c1 ea 02             	shr    $0x2,%edx
403a67:	74 26                	je     0x403a8f
403a69:	8b 0e                	mov    (%esi),%ecx
403a6b:	8b 1f                	mov    (%edi),%ebx
403a6d:	39 d9                	cmp    %ebx,%ecx
403a6f:	75 58                	jne    0x403ac9
403a71:	4a                   	dec    %edx
403a72:	74 15                	je     0x403a89
403a74:	8b 4e 04             	mov    0x4(%esi),%ecx
403a77:	8b 5f 04             	mov    0x4(%edi),%ebx
403a7a:	39 d9                	cmp    %ebx,%ecx
403a7c:	75 4b                	jne    0x403ac9
403a7e:	83 c6 08             	add    $0x8,%esi
403a81:	83 c7 08             	add    $0x8,%edi
403a84:	4a                   	dec    %edx
403a85:	75 e2                	jne    0x403a69
403a87:	eb 06                	jmp    0x403a8f
403a89:	83 c6 04             	add    $0x4,%esi
403a8c:	83 c7 04             	add    $0x4,%edi
403a8f:	5a                   	pop    %edx
403a90:	83 e2 03             	and    $0x3,%edx
403a93:	74 22                	je     0x403ab7
403a95:	8b 0e                	mov    (%esi),%ecx
403a97:	8b 1f                	mov    (%edi),%ebx
403a99:	38 d9                	cmp    %bl,%cl
403a9b:	75 41                	jne    0x403ade
403a9d:	4a                   	dec    %edx
403a9e:	74 17                	je     0x403ab7
403aa0:	38 fd                	cmp    %bh,%ch