403836:	53                   	push   %ebx
403837:	53                   	push   %ebx
403838:	53                   	push   %ebx
403839:	53                   	push   %ebx
40383a:	2b ca                	sub    %edx,%ecx
40383c:	d1 f9                	sar    $1,%ecx
40383e:	51                   	push   %ecx
40383f:	56                   	push   %esi
403840:	53                   	push   %ebx
403841:	53                   	push   %ebx
403842:	ff 15 b0 31 43 00    	call   *0x4331b0
403848:	8d 58 01             	lea    0x1(%eax),%ebx
40384b:	53                   	push   %ebx
40384c:	68 40 20 00 00       	push   $0x2040
403851:	ff 15 a0 31 43 00    	call   *0x4331a0
403857:	8b f8                	mov    %eax,%edi
403859:	85 ff                	test   %edi,%edi
40385b:	75 07                	jne    0x403864
40385d:	b8 0e 00 07 80       	mov    $0x8007000e,%eax
403862:	eb 45                	jmp    0x4038a9
403864:	57                   	push   %edi
403865:	ff 15 ac 31 43 00    	call   *0x4331ac
40386b:	8b d6                	mov    %esi,%edx
40386d:	8d 4a 02             	lea    0x2(%edx),%ecx
403870:	89 4d f8             	mov    %ecx,-0x8(%ebp)
403873:	66 8b 0a             	mov    (%edx),%cx
403876:	83 c2 02             	add    $0x2,%edx
403879:	66 3b 4d fc          	cmp    -0x4(%ebp),%cx
40387d:	75 f4                	jne    0x403873
40387f:	2b 55 f8             	sub    -0x8(%ebp),%edx
403882:	33 c9                	xor    %ecx,%ecx
403884:	51                   	push   %ecx
403885:	51                   	push   %ecx
403886:	53                   	push   %ebx
403887:	50                   	push   %eax
403888:	d1 fa                	sar    $1,%edx
40388a:	52                   	push   %edx
40388b:	56                   	push   %esi
40388c:	51                   	push   %ecx
40388d:	51                   	push   %ecx
40388e:	ff 15 b0 31 43 00    	call   *0x4331b0
403894:	57                   	push   %edi
403895:	ff 15 b4 31 43 00    	call   *0x4331b4
40389b:	8b 45 08             	mov    0x8(%ebp),%eax
40389e:	c7 00 01 00 00 00    	movl   $0x1,(%eax)
4038a4:	89 78 04             	mov    %edi,0x4(%eax)
4038a7:	33 c0                	xor    %eax,%eax
4038a9:	5f                   	pop    %edi
4038aa:	5e                   	pop    %esi
4038ab:	5b                   	pop    %ebx
4038ac:	c9                   	leave
4038ad:	c2 04 00             	ret    $0x4
4038b0:	8b ff                	mov    %edi,%edi
4038b2:	55                   	push   %ebp
4038b3:	8b ec                	mov    %esp,%ebp
4038b5:	51                   	push   %ecx
4038b6:	53                   	push   %ebx
4038b7:	56                   	push   %esi
4038b8:	57                   	push   %edi
4038b9:	8d 79 0c             	lea    0xc(%ecx),%edi
4038bc:	33 db                	xor    %ebx,%ebx
4038be:	8b cf                	mov    %edi,%ecx
4038c0:	89 5d fc             	mov    %ebx,-0x4(%ebp)
4038c3:	8d 51 02             	lea    0x2(%ecx),%edx
4038c6:	66 8b 01             	mov    (%ecx),%ax
4038c9:	83 c1 02             	add    $0x2,%ecx
4038cc:	66 3b c3             	cmp    %bx,%ax
4038cf:	75 f5                	jne    0x4038c6
4038d1:	2b ca                	sub    %edx,%ecx
4038d3:	d1 f9                	sar    $1,%ecx
4038d5:	8d 04 4d 02 00 00 00 	lea    0x2(,%ecx,2),%eax
4038dc:	50                   	push   %eax
4038dd:	68 40 20 00 00       	push   $0x2040
4038e2:	ff 15 a0 31 43 00    	call   *0x4331a0
4038e8:	8b f0                	mov    %eax,%esi
4038ea:	85 f6                	test   %esi,%esi
4038ec:	75 07                	jne    0x4038f5
4038ee:	b8 0e 00 07 80       	mov    $0x8007000e,%eax
4038f3:	eb 3e                	jmp    0x403933
4038f5:	56                   	push   %esi
4038f6:	ff 15 ac 31 43 00    	call   *0x4331ac
4038fc:	8b d7                	mov    %edi,%edx
4038fe:	8d 5a 02             	lea    0x2(%edx),%ebx
403901:	66 8b 0a             	mov    (%edx),%cx
403904:	83 c2 02             	add    $0x2,%edx
403907:	66 3b 4d fc          	cmp    -0x4(%ebp),%cx
40390b:	75 f4                	jne    0x403901
40390d:	2b d3                	sub    %ebx,%edx
40390f:	8b c8                	mov    %eax,%ecx
403911:	d1 fa                	sar    $1,%edx
403913:	57                   	push   %edi
403914:	42                   	inc    %edx
403915:	e8 45 01 00 00       	call   0x403a5f
40391a:	85 c0                	test   %eax,%eax
40391c:	74 07                	je     0x403925
40391e:	56                   	push   %esi
40391f:	ff 15 b4 31 43 00    	call   *0x4331b4
403925:	8b 45 08             	mov    0x8(%ebp),%eax
403928:	c7 00 01 00 00 00    	movl   $0x1,(%eax)
40392e:	89 70 04             	mov    %esi,0x4(%eax)
403931:	33 c0                	xor    %eax,%eax
403933:	5f                   	pop    %edi
403934:	5e                   	pop    %esi
403935:	5b                   	pop    %ebx
403936:	c9                   	leave
403937:	c2 04 00             	ret    $0x4
40393a:	8b ff                	mov    %edi,%edi
40393c:	55                   	push   %ebp
40393d:	8b ec                	mov    %esp,%ebp
40393f:	53                   	push   %ebx
403940:	56                   	push   %esi
403941:	57                   	push   %edi
403942:	33 ff                	xor    %edi,%edi
403944:	bb 57 00 07 80       	mov    $0x80070057,%ebx
403949:	8b f7                	mov    %edi,%esi
40394b:	85 d2                	test   %edx,%edx
40394d:	74 08                	je     0x403957
40394f:	81 fa ff ff ff 7f    	cmp    $0x7fffffff,%edx
403955:	76 02                	jbe    0x403959
403957:	8b f3                	mov    %ebx,%esi
403959:	85 f6                	test   %esi,%esi
40395b:	78 42                	js     0x40399f
40395d:	8b f2                	mov    %edx,%esi
40395f:	8b c1                	mov    %ecx,%eax
403961:	85 d2                	test   %edx,%edx
403963:	74 0d                	je     0x403972
403965:	66 39 38             	cmp    %di,(%eax)
403968:	74 08                	je     0x403972
40396a:	83 c0 02             	add    $0x2,%eax
40396d:	83 ee 01             	sub    $0x1,%esi
403970:	75 f3                	jne    0x403965
403972:	8b fe                	mov    %esi,%edi
403974:	8b c2                	mov    %edx,%eax
403976:	f7 de                	neg    %esi
403978:	1b f6                	sbb    %esi,%esi
40397a:	2b c7                	sub    %edi,%eax
40397c:	81 e6 a9 ff f8 7f    	and    $0x7ff8ffa9,%esi
403982:	03 f3                	add    %ebx,%esi
403984:	f7 df                	neg    %edi
403986:	1b ff                	sbb    %edi,%edi
403988:	23 f8                	and    %eax,%edi
40398a:	85 f6                	test   %esi,%esi
40398c:	78 11                	js     0x40399f
40398e:	51                   	push   %ecx
40398f:	ff 75 08             	push   0x8(%ebp)
403992:	2b d7                	sub    %edi,%edx
403994:	51                   	push   %ecx
403995:	8d 0c 79             	lea    (%ecx,%edi,2),%ecx
403998:	e8 72 00 00 00       	call   0x403a0f
40399d:	8b f0                	mov    %eax,%esi
40399f:	5f                   	pop    %edi
4039a0:	8b c6                	mov    %esi,%eax
4039a2:	5e                   	pop    %esi
4039a3:	5b                   	pop    %ebx
4039a4:	5d                   	pop    %ebp
4039a5:	c2 04 00             	ret    $0x4
4039a8:	8b ff                	mov    %edi,%edi
4039aa:	55                   	push   %ebp
4039ab:	8b ec                	mov    %esp,%ebp
4039ad:	8b 45 0c             	mov    0xc(%ebp),%eax
4039b0:	56                   	push   %esi
4039b1:	33 f6                	xor    %esi,%esi
4039b3:	85 c0                	test   %eax,%eax
4039b5:	74 07                	je     0x4039be
4039b7:	3d ff ff ff 7f       	cmp    $0x7fffffff,%eax
4039bc:	76 05                	jbe    0x4039c3
4039be:	be 57 00 07 80       	mov    $0x80070057,%esi
4039c3:	85 f6                	test   %esi,%esi
4039c5:	78 37                	js     0x4039fe
4039c7:	53                   	push   %ebx
4039c8:	8b 5d 08             	mov    0x8(%ebp),%ebx
4039cb:	33 f6                	xor    %esi,%esi
4039cd:	57                   	push   %edi
4039ce:	8d 78 ff             	lea    -0x1(%eax),%edi
4039d1:	8d 45 14             	lea    0x14(%ebp),%eax
4039d4:	50                   	push   %eax
4039d5:	ff 75 10             	push   0x10(%ebp)
4039d8:	57                   	push   %edi
4039d9:	53                   	push   %ebx
4039da:	ff 15 d0 33 43 00    	call   *0x4333d0
4039e0:	83 c4 10             	add    $0x10,%esp
4039e3:	85 c0                	test   %eax,%eax
4039e5:	78 08                	js     0x4039ef
4039e7:	3b c7                	cmp    %edi,%eax
4039e9:	77 04                	ja     0x4039ef
4039eb:	75 0d                	jne    0x4039fa
4039ed:	eb 05                	jmp    0x4039f4
4039ef:	be 7a 00 07 80       	mov    $0x8007007a,%esi
4039f4:	33 c0                	xor    %eax,%eax
4039f6:	66 89 04 7b          	mov    %ax,(%ebx,%edi,2)
4039fa:	5f                   	pop    %edi
4039fb:	5b                   	pop    %ebx
4039fc:	eb 0c                	jmp    0x403a0a
4039fe:	85 c0                	test   %eax,%eax
403a00:	74 08                	je     0x403a0a
403a02:	8b 4d 08             	mov    0x8(%ebp),%ecx
403a05:	33 c0                	xor    %eax,%eax
403a07:	66 89 01             	mov    %ax,(%ecx)
403a0a:	8b c6                	mov    %esi,%eax
403a0c:	5e                   	pop    %esi
403a0d:	5d                   	pop    %ebp
403a0e:	c3                   	ret
403a0f:	8b ff                	mov    %edi,%edi
403a11:	55                   	push   %ebp
403a12:	8b ec                	mov    %esp,%ebp
403a14:	85 d2                	test   %edx,%edx
403a16:	74 2b                	je     0x403a43
403a18:	8b 45 0c             	mov    0xc(%ebp),%eax
403a1b:	56                   	push   %esi
403a1c:	57                   	push   %edi
403a1d:	be fe ff ff 7f       	mov    $0x7ffffffe,%esi
403a22:	2b c1                	sub    %ecx,%eax
403a24:	85 f6                	test   %esi,%esi
403a26:	74 15                	je     0x403a3d
403a28:	0f b7 3c 08          	movzwl (%eax,%ecx,1),%edi
403a2c:	66 85 ff             	test   %di,%di
403a2f:	74 0c                	je     0x403a3d
403a31:	66 89 39             	mov    %di,(%ecx)
403a34:	83 c1 02             	add    $0x2,%ecx
403a37:	4e                   	dec    %esi
403a38:	83 ea 01             	sub    $0x1,%edx
403a3b:	75 e7                	jne    0x403a24
403a3d:	5f                   	pop    %edi
403a3e:	5e                   	pop    %esi
403a3f:	85 d2                	test   %edx,%edx
403a41:	75 03                	jne    0x403a46
403a43:	83 e9 02             	sub    $0x2,%ecx
403a46:	f7 da                	neg    %edx
403a48:	1b d2                	sbb    %edx,%edx
403a4a:	81 e2 86 ff f8 7f    	and    $0x7ff8ff86,%edx
403a50:	33 c0                	xor    %eax,%eax
403a52:	66 89 01             	mov    %ax,(%ecx)
403a55:	8d 82 7a 00 07 80    	lea    -0x7ff8ff86(%edx),%eax
403a5b:	5d                   	pop    %ebp
403a5c:	c2 0c 00             	ret    $0xc
403a5f:	8b ff                	mov    %edi,%edi
403a61:	55                   	push   %ebp
403a62:	8b ec                	mov    %esp,%ebp
403a64:	33 c0                	xor    %eax,%eax
403a66:	85 d2                	test   %edx,%edx
403a68:	74 08                	je     0x403a72
403a6a:	81 fa ff ff ff 7f    	cmp    $0x7fffffff,%edx
403a70:	76 05                	jbe    0x403a77
403a72:	b8 57 00 07 80       	mov    $0x80070057,%eax
403a77:	85 c0                	test   %eax,%eax
403a79:	78 0c                	js     0x403a87
403a7b:	51                   	push   %ecx
403a7c:	ff 75 08             	push   0x8(%ebp)
403a7f:	51                   	push   %ecx
403a80:	e8 8a ff ff ff       	call   0x403a0f
403a85:	eb 09                	jmp    0x403a90
403a87:	85 d2                	test   %edx,%edx
403a89:	74 05                	je     0x403a90
403a8b:	33 d2                	xor    %edx,%edx
403a8d:	66 89 11             	mov    %dx,(%ecx)
403a90:	5d                   	pop    %ebp
403a91:	c2 04 00             	ret    $0x4
403a94:	cc                   	int3
403a95:	cc                   	int3
403a96:	cc                   	int3
403a97:	cc                   	int3
403a98:	cc                   	int3
403a99:	cc                   	int3
403a9a:	cc                   	int3
403a9b:	cc                   	int3
403a9c:	cc                   	int3
403a9d:	cc                   	int3
403a9e:	cc                   	int3
403a9f:	cc                   	int3
403aa0:	8b ff                	mov    %edi,%edi
403aa2:	55                   	push   %ebp
403aa3:	8b ec                	mov    %esp,%ebp
403aa5:	53                   	push   %ebx
403aa6:	56                   	push   %esi
403aa7:	8b 75 10             	mov    0x10(%ebp),%esi
403aaa:	33 c9                	xor    %ecx,%ecx
403aac:	57                   	push   %edi
403aad:	8b 7d 0c             	mov    0xc(%ebp),%edi
403ab0:	bb 40 12 40 00       	mov    $0x401240,%ebx
403ab5:	8b d1                	mov    %ecx,%edx
403ab7:	89 0e                	mov    %ecx,(%esi)
403ab9:	8b 04 97             	mov    (%edi,%edx,4),%eax
403abc:	3b 04 93             	cmp    (%ebx,%edx,4),%eax
403abf:	75 08                	jne    0x403ac9
403ac1:	42                   	inc    %edx
403ac2:	83 fa 04             	cmp    $0x4,%edx
403ac5:	75 f2                	jne    0x403ab9
403ac7:	eb 13                	jmp    0x403adc
403ac9:	ba 70 12 40 00       	mov    $0x401270,%edx
403ace:	8b 04 8f             	mov    (%edi,%ecx,4),%eax
403ad1:	3b 04 8a             	cmp    (%edx,%ecx,4),%eax
403ad4:	75 23                	jne    0x403af9
403ad6:	41                   	inc    %ecx
403ad7:	83 f9 04             	cmp    $0x4,%ecx
403ada:	75 f2                	jne    0x403ace
403adc:	8b 4d 08             	mov    0x8(%ebp),%ecx
403adf:	89 0e                	mov    %ecx,(%esi)
403ae1:	85 c9                	test   %ecx,%ecx
403ae3:	74 14                	je     0x403af9
403ae5:	8b 01                	mov    (%ecx),%eax
403ae7:	51                   	push   %ecx
403ae8:	8b 70 04             	mov    0x4(%eax),%esi
403aeb:	8b ce                	mov    %esi,%ecx
403aed:	ff 15 18 34 43 00    	call   *0x433418
403af3:	ff d6                	call   *%esi
403af5:	33 c0                	xor    %eax,%eax
403af7:	eb 05                	jmp    0x403afe
403af9:	b8 02 40 00 80       	mov    $0x80004002,%eax
403afe:	5f                   	pop    %edi
403aff:	5e                   	pop    %esi
403b00:	5b                   	pop    %ebx
403b01:	5d                   	pop    %ebp
403b02:	c2 0c 00             	ret    $0xc
403b05:	cc                   	int3
403b06:	cc                   	int3
403b07:	cc                   	int3
403b08:	cc                   	int3
403b09:	cc                   	int3
403b0a:	cc                   	int3
403b0b:	cc                   	int3
403b0c:	cc                   	int3
403b0d:	cc                   	int3
403b0e:	cc                   	int3
403b0f:	cc                   	int3
403b10:	8b ff                	mov    %edi,%edi
403b12:	55                   	push   %ebp
403b13:	8b ec                	mov    %esp,%ebp
403b15:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
403b19:	74 07                	je     0x403b22
403b1b:	b8 01 01 04 00       	mov    $0x40101,%eax
403b20:	eb 16                	jmp    0x403b38
403b22:	8a 45 10             	mov    0x10(%ebp),%al
403b25:	24 01                	and    $0x1,%al
403b27:	0f b6 c0             	movzbl %al,%eax
403b2a:	f7 d8                	neg    %eax
403b2c:	1b c0                	sbb    %eax,%eax
403b2e:	25 00 ff fb ff       	and    $0xfffbff00,%eax
403b33:	05 00 01 04 00       	add    $0x40100,%eax
403b38:	5d                   	pop    %ebp
403b39:	c2 0c 00             	ret    $0xc
403b3c:	cc                   	int3
403b3d:	cc                   	int3
403b3e:	cc                   	int3
403b3f:	cc                   	int3
403b40:	b8 02 01 04 00       	mov    $0x40102,%eax
403b45:	c2 08 00             	ret    $0x8
403b48:	cc                   	int3
403b49:	cc                   	int3
403b4a:	cc                   	int3
403b4b:	cc                   	int3